corpus-retrieval
Skill0 starsChanged 32 days agoMITView on GitHub
Answers questions about <app> from its own documentation corpus (docs/, playbooks, references/) index-first, in at most five retrieval rounds, with file:line citations, and refuses plainly when the corpus does not answer.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Facta-Dev/beautifulqtedited, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- Facta-Dev/beautifulqt★ 0100% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- add-handlerSkill
- add-moduleSkill
- claim-checkSkill
- clean-room-rebuildSkill
- depguard-guardSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- graphifySkill
- grillingSkill
- learnSkill
- ownership-authorSkill
- planSkill
- researchSkill
- reviewSkill
- shipSkill
- specSkill
- tddSkill
- verified-statusSkill
- nodejs-best-practicesSkill
- nodejs-portSkill
- nodejs-reviewSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Do not activate when the answer comes from reading the code paths directly, or for facts outside the repository's corpus.
- Distinctive: line 30
Every answer cites file:line, never a vague "the docs say".
- Distinctive: line 35
Read the index before the first grep.
- Distinctive: line 36
Use grep plus windowed reads.
- Distinctive: line 38
Stop after five retrieval rounds: give the best cited answer, or refuse.
- Distinctive: line 39
Every answer carries file:line.
- Distinctive: line 40
When the corpus does not answer, say so explicitly and point at what is missing, rather than filling the gap from general knowledge.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<app> Corpus Retrieval skill
A workflow for answering questions from the repository's own documentation
corpus — docs/, playbooks/, references/ and their like — not from code
behaviour. An agent invokes this skill when the answer lives in prose the
repository already wrote; the skill supplies the navigation, the agent
supplies the question.
When to Activate
- A question about
<app>whose answer is written down in the documentation corpus and should be traced to it. - The requester wants the answer cited to the docs, not to a code path.
- A claim "the docs say X" that needs to be pinned to a file and line.
Do not activate when the answer comes from reading the code paths directly, or for facts outside the repository's corpus.
Core Principles
- Index first: read the corpus index before grepping, so retrieval follows the corpus's own organisation.
- Retrieval is bounded: at most five rounds, then either cite or refuse.
- Every answer cites file:line, never a vague "the docs say".
- An unanswered question gets a plain refusal, not a confabulated answer.
Rules
- Read the index before the first grep; do not scan files blind.
- Use grep plus windowed reads; do not read a whole document when a window around the hit answers the question.
- Stop after five retrieval rounds: give the best cited answer, or refuse.
- Every answer carries file:line; no citation means no answer.
- When the corpus does not answer, say so explicitly and point at what is missing, rather than filling the gap from general knowledge.
Research References
Provenance table, every claim in a finding needs a row.
| claim | source | year | link |
| Index-first navigation, a bounded retrieval round count, and file:line citations | kb-retriever skill | 2026 | skills/kb-retriever/SKILL.md |
Output Format
Deliver, in order:
- The answer, in the corpus's own terms, with a file:line citation for every assertion.
- The retrieval log: how many rounds were used and which files were read.
- Either the cited answer or the explicit refusal with what is missing.
Example:
corpus: answer = "pagination is capped at 50 rows" (docs/api.md:12-14)
corpus: rounds = 2 (index -> docs/api.md)
corpus: citedDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

