AGENT SKILL

vector-corpus

Ground STORM article runs on a user CSV or local corpus with VectorRM and Qdrant, including schema validation, offline/online vector stores, device choices, and STORMWikiRunner integration.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
vector-corpus
license
MIT
metadata
{ "disco-role": "operating" }
description
Ground STORM article runs on a user CSV or local corpus with VectorRM and Qdrant, including schema validation, offline/online vector stores, device choices, and STORMWikiRunner integration.
disable-model-invocation
true

02 资源文件 7

03 SKILL.md 正文

vector-corpus

Use this sub-skill when the task asks to run or prepare STORM over a user-owned CSV/local corpus rather than Internet search. It covers VectorRM, Qdrant offline/online stores, CSV validation, corpus chunking, embedding device choices, and the handoff into STORMWikiRunner.

Route here when

  • The user has a CSV corpus with content and url columns and wants STORM grounded on those rows.
  • The user needs to create or update a Qdrant collection for VectorRM from CSV documents.
  • The user already has a local Qdrant directory or Qdrant Cloud URL and needs VectorRM to retrieve from it.
  • The user asks about VectorRM.__init__, init_offline_vector_db, init_online_vector_db, get_vector_count, forward, or QdrantVectorStoreManager.create_or_update_vector_store.

Route elsewhere

  • Internet-search STORM workflows, search retriever selection, stage resume, and article output inspection belong in ../storm-wiki/.
  • Co-STORM collaborative discourse, warm start, turn-taking, mind maps, and report generation belong in ../co-storm/.

Bundled references

Bundled scripts

  • scripts/validate_vector_corpus_csv.py: standard-library CSV schema checker. Use --strict-unique-url before indexing.
  • scripts/process_kaggle_arxiv_abstract_dataset.py: converts Kaggle arXiv abstracts CSVs into the VectorRM CSV schema.
  • scripts/run_storm_wiki_with_vector_rm.py: safe helper for corpus-grounded STORM with current LitellmModel; supports --dry-run and --validate-only without embedding, Qdrant, LLM, or network calls.

Minimum safe workflow

  1. Validate the corpus with python scripts/validate_vector_corpus_csv.py --input-path corpus.csv --strict-unique-url.
  2. Choose Qdrant mode:
    • offline: local filesystem directory with --vector-db-mode offline --offline-vector-db-dir ./vector_store;
    • online: Qdrant URL plus QDRANT_API_KEY with --vector-db-mode online --online-vector-db-url https://....
  3. Start with --device cpu; use cuda or mps only for embedding acceleration when available.
  4. Use --dry-run or --validate-only first, then run the full helper with explicit STORM stage flags.

The runtime scripts assume the public knowledge-storm package is installed for full runs. Help, dry-run, and validate-only paths avoid package imports where possible.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351