Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add skymanbp/rag-your-code --skill rag-your-codegit clone --depth 1 https://github.com/skymanbp/rag-your-codeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/skymanbp/rag-your-code/rag-your-code)<a href="https://agentmods.dev/skills/skymanbp/rag-your-code/rag-your-code"><img src="https://agentmods.dev/badge/skills/skymanbp/rag-your-code/rag-your-code/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/skymanbp/rag-your-code/rag-your-code"><img src="https://agentmods.dev/badge/skills/skymanbp/rag-your-code/rag-your-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.01808 |
| Opus 5.5 | $0.00008 | $0.00723 |
| Sonnet 5.5 | $0.00004 | $0.00362 |
| Haiku 4.5 | $0.00002 | $0.00181 |
Grade A, and why
rag-your-code scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RAG Your Code
Use this skill when repository context is broad or a symbol's implementation is difficult to locate.
Four commands cover the same ground explicitly, and a user can reach them
without this skill firing at all: /rag-your-code:index,
/rag-your-code:search, /rag-your-code:describe, /rag-your-code:status.
Offer the one that fits rather than narrating the steps, and offer
/rag-your-code:describe whenever coverage is the thing holding retrieval
back — it is the largest available improvement and the one nobody discovers on
their own.
Workflow
-
Make sure the package is importable. A plugin install copies this skill but not the Python package, so check once per machine and install if the import fails. Use
python -m piprather than a barepipso the package lands in the same interpreter the later commands run under.python -c "import ragyourcode" || python -m pip install --user rag-your-code -
Build the index and find out what this repository still needs:
python -m ragyourcode.cli bootstrap .Indexing a repository is not the same as making it searchable. A fresh index retrieves against the sentence the parser generated, which adds no word the source did not already have, so a question phrased in domain terms reaches nothing.
bootstrapindexes, says which rung this repository is on — descriptions to write, a promotion to apply, or nothing left — and hands over that rung's work. It reads the state rather than remembering a position, so running it again after each round is how you make progress.indexstill exists and does only the indexing. -
Retrieve focused context before making a change:
python -m ragyourcode.cli search "<concept or behavior>" --json --limit 8Add
--graph --hops 1when callers, callees, containment, or small imported modules are relevant. Prefer one hop; use two only when the first path provides concrete edge evidence.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 163 lines · 20 tokens per session scan A b7875f8b36ea
rag-your-code is a skill published in the GitHub repository skymanbp/rag-your-code (1 stars, last pushed 2mo ago), licensed MIT. It adds 20 tokens to every session and 1,808 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
rag-your-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rag-your-codeskymanbp/rag-your-code | Skill | 1 | 2mo ago | MIT | A | 20 | Claude Code |
| graphifyGraphify-Labs/graphify | Skill | 155k | 2d ago | Apache-2.0 | B | 76 | Claude Code |
| graphifyGraphify-Labs/graphify | Skill | 155k | 2d ago | Apache-2.0 | B | 76 | Claude Code |
| graph-retrievalstudy8677/repobrain | Skill | 1.4k | 4d ago | MIT | A | 46 | Claude Code |
| knowledge-layerstudy8677/repobrain | Skill | 1.4k | 4d ago | MIT | A | 42 | Claude Code |
| cloudflare-vectorizesecondsky/claude-skills | Skill | 257 | 8d ago | MIT | A | 37 | Claude Code |
| gnogmickel/gno | Skill | 117 | 3d ago | MIT | A | 86 | Claude Code |