flashrag-evidence
Local evidence retrieval (FlashRAG-style) for VCO/vibe: search protocols/config/skills docs and return citeable snippets with file+line anchors.
Best use case
flashrag-evidence is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Local evidence retrieval (FlashRAG-style) for VCO/vibe: search protocols/config/skills docs and return citeable snippets with file+line anchors.
Teams using flashrag-evidence should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/flashrag-evidence/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How flashrag-evidence Compares
| Feature / Agent | flashrag-evidence | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Local evidence retrieval (FlashRAG-style) for VCO/vibe: search protocols/config/skills docs and return citeable snippets with file+line anchors.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# FlashRAG Evidence (VCO)
## When to use
Use this skill when you need **grounded, citeable evidence** from local documentation/configuration to support VCO decisions or recommendations, especially for:
- VCO routing / pack selection rationale
- Protocol compliance (think/do/review/team/retro)
- Config semantics (thresholds, overlays, governance)
- “Show me where this rule comes from” / “give me the exact snippet”
This skill is **not** a replacement for GitNexus (code dependency graph) or web search. It focuses on **local docs and config**.
## Inputs
- Query: what you’re trying to verify (short, concrete)
- Optional: corpus root(s) to search (defaults below)
## Default corpus (evidence plane)
1. VCO core docs/config inside `~/.codex/skills/vibe/`:
- `protocols/`, `config/`, `references/`, `scripts/router/`
2. Skills catalog (`~/.codex/skills/**/SKILL.md`) for tool capability evidence
3. (Optional) Project-local VCO overlays under the current workspace, if present
## Workflow (Lite, no heavy deps)
1. Run the evidence retriever script:
- Windows PowerShell:
- `python C:\Users\羽裳\.codex\skills\flashrag-evidence\scripts\flashrag_evidence.py --query "…" --topk 8`
2. (Optional) Enable a faster FlashRAG-style BM25 backend (`bm25s`)
- Preflight (checks vendoring + env; does NOT read secrets):
- `pwsh C:\Users\羽裳\.codex\skills\vibe\scripts\ruc-nlpir\preflight.ps1`
- Manually create an isolated venv for the vendored runtime and install only the minimal packages you need. The old `install-upstreams.ps1` auto-install path has been removed on purpose.
- Use bm25s engine:
- `C:\Users\羽裳\.codex\_external\ruc-nlpir\.venv\Scripts\python.exe C:\Users\羽裳\.codex\skills\flashrag-evidence\scripts\flashrag_evidence.py --engine bm25s --query "…" --topk 8`
3. Use the returned snippets as P5 evidence:
- **[Command]** the exact command you ran
- **[Output]** the top snippets (path + line anchor)
- **[Claim]** the conclusion you draw (only what the evidence supports)
4. If coverage is low:
- Expand `--roots` to include the project workspace
- Increase `--topk`
- Fallback: targeted `rg -n` on the most likely file(s)
## Outputs
The script prints ranked evidence items:
- `path` + `line` (1-based) for quick navigation
- `score` for ranking
- `snippet` (short, safe to quote)
## Notes (non-redundancy)
- If you need **code call chains / blast radius**, use GitNexus overlays (not this).
- If you need **latest web facts**, use web search / deep research tools (not this).Related Skills
zinc-database
Access ZINC (230M+ purchasable compounds). Search by ZINC ID/SMILES, similarity searches, 3D-ready structures for docking, analog discovery, for virtual screening and drug discovery.
zarr-python
Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.
yeet
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
xlsx
Spreadsheet toolkit (.xlsx/.csv). Create/edit with formulas/formatting, analyze data, visualization, recalculate formulas, for spreadsheet processing and analysis.
xan
High-performance CSV processing with xan CLI for large tabular datasets, streaming transformations, and low-memory pipelines.
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
writing-docs
Guides for writing and editing Remotion documentation. Use when adding docs pages, editing MDX files in packages/docs, or writing documentation content.
windows-hook-debugging
Windows环境下Claude Code插件Hook执行错误的诊断与修复。当遇到hook error、cannot execute binary file、.sh regex误匹配、WSL/Git Bash冲突时使用。
weights-and-biases
Track ML experiments with automatic logging, visualize training in real-time, optimize hyperparameters with sweeps, and manage model registry with W&B - collaborative MLOps platform
webthinker-deep-research
Deep web research for VCO: multi-hop search+browse+extract with an auditable action trace and a structured report (WebThinker-style).
vscode-release-notes-writer
Guidelines for writing and reviewing Insiders and Stable release notes for Visual Studio Code.
visualization-best-practices
Visualization Best Practices - Auto-activating skill for Data Analytics. Triggers on: visualization best practices, visualization best practices Part of the Data Analytics skill category.