跳到主要内容
知仓学习社ZHICANG

flashrag-evidence

Local evidence retrieval (FlashRAG-style) for VCO/vibe: search protocols/config/skills docs and return citeable snippets with file+line anchors.

不碰外部(只输出文字)无严重或高危命中foryourhealth111-pixel/Vibe-Skills

它会碰到什么

扫了多少2 个文本文件,15 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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/
  1. Skills catalog (~/.codex/skills/**/SKILL.md) for tool capability evidence
  2. (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
  1. (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
  1. 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)
  1. 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).

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 3,314
本站分层T1
该仓技能数258
原文件路径bundled/skills/flashrag-evidence/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 258 个技能