Borrowing it
Nothing to install: this file belongs to cq27-dev/rag-rat. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/cq27-dev/rag-rat/main/.agents/skills/init-rag-rat/SKILL.mdgit clone --depth 1 https://github.com/cq27-dev/rag-ratWrote 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/cq27-dev/rag-rat/init-rag-rat)<a href="https://agentmods.dev/skills/cq27-dev/rag-rat/init-rag-rat"><img src="https://agentmods.dev/badge/skills/cq27-dev/rag-rat/init-rag-rat/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/cq27-dev/rag-rat/init-rag-rat"><img src="https://agentmods.dev/badge/skills/cq27-dev/rag-rat/init-rag-rat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00224 | $0.02186 |
| Opus 5.5 | $0.00090 | $0.00874 |
| Sonnet 5.5 | $0.00045 | $0.00437 |
| Haiku 4.5 | $0.00022 | $0.00219 |
Grade A, and why
init-rag-rat 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 27d 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 — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
init-rag-rat — configure a dormant rag-rat repo conversationally
rag-rat's MCP server boots dormant in a repo with no rag-rat.toml: ordinary tools return
{"status":"no_index", "remedy":"Run rag-rat init … then restart"}. This skill turns that into a
short guided setup. You own the conversation; rag-rat init owns the scan and validation — never
hand-write a config blind, and let a real config load re-check it before indexing.
The common path
-
Detect state. You are here because a rag-rat tool returned
status: "no_index", or the user asked to set up rag-rat. Confirm there is norag-rat.tomlat (or above) the repo root. If one already exists, this is a reconfigure — send the user to the interactiverag-rat initwizard and stop. -
Resolve the CLI and use the same form throughout, from the target repo's root. It must match the version the rag-rat MCP server runs, so the index you create is one the server can read — do not use
@latest, and don't blindly trust an on-PATHrag-rat:- If
rag-ratis onPATH, checkrag-rat --versionand use it only if it matches the plugin/MCP version — a stale global install would build the index with the wrong binary. With the plugin,~/.local/bin/rag-ratis its version-matched binary (the MCP server links it when it starts), so try that path too ifrag-ratalone is not found. - Otherwise (or on a version mismatch) use
npx -y @rag-rat/[email protected] …— the plugin pins@rag-rat/binto its own version and caches the binary privately, so this is the version-matched CLI;npxruns it in the current directory.
- If
-
Dry-run discovery.
<rag-rat> init --yes --dry-runscans the repo and prints the auto-detected config (languages, path bindings, the default local FastEmbed backend) without writing. Read it; tell the user the material bits in a line or two (which languages and directories) — not every commented knob.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 27d ago Changed 53abfc4a8e95
- 1mo ago Changed · +9 lines 41f5b201ff2f
- 1mo ago Changed 42e251aed4ff
- 1mo ago Changed 012260e1b5f1
- 2mo ago First seen · 108 lines · 224 tokens per session scan A 38b708d3fa9b
init-rag-rat is a skill published in the GitHub repository cq27-dev/rag-rat (26 stars, last pushed 28d ago), licensed MIT. It adds 224 tokens to every session and 2,186 once invoked, about $0.0009 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-30.
init-rag-rat compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| init-rag-ratcq27-dev/rag-rat | Skill | 26 | 28d ago | MIT | A | 224 | Claude Code, Codex |
| orchardcore-ai-memoryCrestApps/CrestApps.AgentSkills | Skill | 13 | 16d ago | MIT | A | 197 | Claude Code |
| orchardcore-ai-memory-azureaiCrestApps/CrestApps.AgentSkills | Skill | 13 | 16d ago | MIT | A | 140 | Claude Code |
| qdrant-recall-sidecarphenomenoner/hermes-agent-harness-plus | Skill | 3 | 1mo ago | MIT | A | 47 | Claude Code, Codex |
| agent-v3-memory-specialistruvnet/ruflo | Skill | 81k | yesterday | MIT | A | 25 | Claude Code |
| knowledge-orgbojieli/ai-agent-book | Skill | 57k | 29d ago | Apache-2.0 | A | 96 | Claude Code, Codex |
| xerjxerj-org/xerj | Skill | 19k | yesterday | Apache-2.0 | A | 38 | Claude Code, Codex |