rag-system
Skill1 starsChanged 3 months agoMITView on GitHub
Use when the user asks to use the local D:/RAG knowledge base, query RC/evidence, ingest user-provided materials, prepare downstream packets for auto-testcase-generator/ui-test/Solution D, validate RAG governance, or route to rag-* child skills.
In this repository22 other files it gives its agents.
- analysis-skillSkill
- auto-testcase-generatorSkill
- create-agent-skillSkill
- create-skillSkill
- development-systemSkill
- domain-modelingSkill
- figma-rest-syncSkill
- grill-systemSkill
- grill-with-docsSkill
- rag-change-impactSkill
- rag-downstream-handoffSkill
- rag-governanceSkill
- rag-intakeSkill
- rag-querySkill
- rag-schemaSkill
- rag-structure-fidelitySkill
- researchSkill
- session-handoffSkill
- skill-packagerSkill
- task-understanding-routerSkill
- ui-testSkill
- write-requirements-prdSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 2 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Treat D:/RAG as a controlled local evidence store, not a free disk search surface.
- Very specific: line 11
Read only user-listed files or files already registered in D:/RAG/00_inbox/candidate-materials.json.
- Distinctive: line 12
Do not ingest secrets, credentials, tokens, cookies, or unredacted production/customer data.
- Very specific: line 13
Never promote active-candidate, active, uncertain, or conflict material to formal RC.
- Very specific: line 15
Do not execute ui-test, create formal test cases, or write downstream systems from this skill.
- Distinctive: line 19
Read references/routing-policy.md for the current request type.
- Very specific: line 21
If the request is ingestion or file admission, hand off to rag-intake.
- Very specific: line 22
If the request is schema, packet, or fixture validation, hand off to rag-schema.
- Very specific: line 23
If the request is RC, conflict, or confirmation governance, hand off to rag-governance.
- Very specific: line 24
If the request is evidence lookup or citation preparation, hand off to rag-query.
- Very specific: line 25
If the request is source-version or impact analysis, hand off to rag-change-impact.
- Very specific: line 26
If the request is for auto-testcase-generator, ui-test, or Solution D, hand off to rag-downstream-handoff.
- Very specific: line 50
Stop and explain the blocked reason if a request would expose sensitive data, read unlisted files, use active as RC, cross a knowledge …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Rag System
Operating Rules
- Treat
D:/RAGas a controlled local evidence store, not a free disk search surface. - Read only user-listed files or files already registered in
D:/RAG/00_inbox/candidate-materials.json. - Do not ingest secrets, credentials, tokens, cookies, or unredacted production/customer data.
- Never promote
active-candidate,active,uncertain, orconflictmaterial to formal RC. - Formal downstream answers require
confirmed_activeRC or an explicit user decision recorded in governance. - Do not execute
ui-test, create formal test cases, or write downstream systems from this skill. Produce read-only packets only.
Workflow
- Read references/routing-policy.md for the current request type.
- Load
D:/RAG/manifest.jsonand verify the request has a knownknowledge_space_id. - If the request is ingestion or file admission, hand off to
rag-intake. - If the request is schema, packet, or fixture validation, hand off to
rag-schema. - If the request is RC, conflict, or confirmation governance, hand off to
rag-governance. - If the request is evidence lookup or citation preparation, hand off to
rag-query. - If the request is source-version or impact analysis, hand off to
rag-change-impact. - If the request is for
auto-testcase-generator,ui-test, or Solution D, hand off torag-downstream-handoff. - Return a concise result with status, evidence refs, blocked reasons, and next required user decisions.
Decision Rules
- Missing or mismatched
knowledge_space_id: stop before reading material content. - Registered
blocked-pending-sensitive-review: refuse ingestion, summary, RC, and downstream use. - Registered
active-candidate: allow candidate packets and review notes only. - Conflicts: return
need-reviewand link the conflict record. - Requests to scan a directory: require a user-provided file list first.
Validation
Run:
python D:\RAG\scripts\validate_rag_mvp.py
python C:\Users\lenovo\.codex\skills\rag-system\scripts\forward_test_rag_system.pyAlso validate this skill folder with the local skill validator when available.
Safety
Stop and explain the blocked reason if a request would expose sensitive data, read unlisted files, use active as RC, cross a knowledge space boundary, or perform downstream execution.
Does 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.

