Skip to content
Agentmart
Submit a tool

flashrag

Use FlashRAG for retrieval-augmented generation research workflows: config/data validation, retrieval and index building, generation/refinement components…

Skill by VectorSpaceLab

IndexedMIT★ 341
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-flashrag

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use FlashRAG for retrieval-augmented generation research workflows: config/data validation, retrieval and index building, generation/refinement components, RAG pipelines/method reproduction, evaluation, and WebUI setup.

Use cases: data, ml, research

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/flashrag

What's inside

Skill name
flashrag
Description
Use FlashRAG for retrieval-augmented generation research workflows: config/data validation, retrieval and index building, generation/refinement components, RAG pipelines/method reproduction, evaluation, and WebUI setup.
License
MIT
Metadata
disco-role: operating
Instructions
50 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (37)

  • SKILL.md
  • capability-map.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_flashrag_environment.py · scripts/
  • SKILL.md · sub-skills/data-and-config/
  • api-reference.md · sub-skills/data-and-config/references/
  • configuration.md · sub-skills/data-and-config/references/
  • data-formats.md · sub-skills/data-and-config/references/
  • troubleshooting.md · sub-skills/data-and-config/references/
  • validate_flashrag_inputs.py · sub-skills/data-and-config/scripts/
  • SKILL.md · sub-skills/evaluation-and-webui/
  • evaluation-api.md · sub-skills/evaluation-and-webui/references/
  • troubleshooting.md · sub-skills/evaluation-and-webui/references/
  • webui.md · sub-skills/evaluation-and-webui/references/
  • inspect_metrics.py · sub-skills/evaluation-and-webui/scripts/
  • SKILL.md · sub-skills/generation-and-refinement/
  • generator-api.md · sub-skills/generation-and-refinement/references/
  • model-and-backend-options.md · sub-skills/generation-and-refinement/references/
  • refiner-and-judger.md · sub-skills/generation-and-refinement/references/
  • troubleshooting.md · sub-skills/generation-and-refinement/references/
  • inspect_generation_config.py · sub-skills/generation-and-refinement/scripts/
  • SKILL.md · sub-skills/pipelines-and-methods/
  • method-recipes.md · sub-skills/pipelines-and-methods/references/
  • multimodal-and-reasoning.md · sub-skills/pipelines-and-methods/references/
  • pipeline-api.md · sub-skills/pipelines-and-methods/references/
  • quick-start-and-multiturn.md · sub-skills/pipelines-and-methods/references/
  • troubleshooting.md · sub-skills/pipelines-and-methods/references/
  • validate_pipeline_config.py · sub-skills/pipelines-and-methods/scripts/
  • SKILL.md · sub-skills/retrieval-and-indexing/
  • data-preparation.md · sub-skills/retrieval-and-indexing/references/
  • indexing-workflows.md · sub-skills/retrieval-and-indexing/references/
  • retriever-api.md · sub-skills/retrieval-and-indexing/references/
  • troubleshooting.md · sub-skills/retrieval-and-indexing/references/
  • inspect_index_builder_args.py · sub-skills/retrieval-and-indexing/scripts/
  • validate_corpus_jsonl.py · sub-skills/retrieval-and-indexing/scripts/

SKILL.md (first lines)

# FlashRAG

Use this skill when a task asks for help with FlashRAG, the Python toolkit for Retrieval-Augmented Generation research, benchmark reproduction, custom RAG pipelines, retriever/index setup, generator/refiner configuration, evaluation, or the FlashRAG UI.

## Start Here

- **Check staleness first**: Read [repo-provenance.md](references/repo-provenance.md) before using this skill with a local checkout; refresh the skill if the commit, dirty state, package version, or public evidence paths changed.
- **Install minimally**: Public package name is `flashrag-dev`; install with `pip install flashrag-dev --pre` or install a checkout with `pip install -e .` when editing the repo.
- **Verify import**: Run `python -c "import flashrag, importlib.metadata as md; print(md.version('flashrag_dev'))"` after install. If metadata lookup fails, try `flashrag-dev` because Python tools normalize underscores and hyphens differently.
- **Check optional dependencies**: Run [check_flashrag_environment.py](scripts/check_flashrag_environment.py) before loading models, building indexes, or launching services.
- **Read troubleshooting**: Use [troubleshooting.md](references/troubleshooting.md) for cross-cutting install/import, optional dependency, data, hardware, credential, and stale-skill failures.

## Route by Task

- **Config, dataset, corpus schemas, and safe input checks**: Use [data-and-config](sub-skills/data-and-config/SKILL.md) for `Config`, `Dataset`, YAML/dict override behavior, JSONL schemas, and validation helpers.
- **Corpus preparation, retrieval, reranking, and index building**: Use [retrieval-and-indexing](sub-skills/retrieval-and-indexing/SKILL.md) for BM25s/Pyserini, dense Faiss, CLIP/multimodal retrieval, Serper/web retrieval, rerankers, and multi-retriever fusion.
- **Generators, prompt templates, refiners, compressors, and judgers**: Use [generation-and-refinement](sub-skills/generation-and-refinement/SKILL.md) for HF/FastChat/vLLM/OpenAI generation, multimodal generators, `PromptTemplate`, refiners, and judgers.
- **End-to-end pipelines and method reproduction**: Use [pipelines-and-methods](sub-skills/pipelines-and-methods/SKILL.md) for quick-start demos, `SequentialPipeline`, active/branching/adaptive/reasoning RAG, multimodal RAG, and experiment-runner planning.
- **Evaluation metrics and WebUI**: Use [evaluation-and-webui](sub-skills/evaluation-and-webui/SKILL.md) for `Evaluator`, metrics, prediction parsing, WebUI chat/evaluate setup, and service troubleshooting.

## Capability Map

Read [capability-map.md](references/capability-map.md) when a request spans multiple FlashRAG areas or when you need to choose the right sub-skill owner for a source artifact, helper, or failure mode.

## Safe Workflow Defaults

1. Validate config/data with the data/config helper before running retrieval or pipelines.
2. For retrieval, validate corpus JSONL and build command arguments before starting index construction.
3. For generation or methods, inspect config keys and optional dependency requirements before loading models or contacting APIs.
4. Treat benchmark reproduction, model downloads, vLLM serving, WebUI launch, and large index builds as explicit user-approved runtime actions.
5. Keep API keys, model paths, dataset locations, and machine-specific paths out of generated notes unless the user explicitly asks for local operational commands.

## Optional Dependency Surface

FlashRAG core workflows commonly need `torch`, `transformers`, `PyYAML`, `numpy`, `tqdm`, and related runtime packages. Optional workflows add more constraints:

- Dense retrieval: `faiss` plus embedding model packages.
- BM25 retrieval: `bm25s` for lightweight CPU use, or `pyserini` plus Java for Lucene-backed indexes.
- Generator acceleration: `vllm` requires a compatible PyTorch/CUDA stack.
- OpenAI generation or LLMJudge-style evaluation: `openai`, `tiktoken`, and credentials.
- Multimodal RAG: image packages and model-specific utilities such as Qwen-VL helpers.
- WebUI: service/UI dependencies such as Streamlit or Gradio plus valid model/index configs.

## When Editing a FlashRAG Checkout

- Prefer focused changes in the owning module and update nearby docs/examples when public behavior changes.
- Use package source and installed-package inspection to confirm APIs; docs/examples show intended workflows but source resolves defaults and edge behavior.
- If modifying public config keys, retriever/generator factories, pipeline names, or metric names, refresh this skill after the code change so routing and references stay aligned.

From VectorSpaceLab/AREX-Skill, MIT.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Cite this page

flashrag skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-flashrag (last updated 2026-10-24)