rag-rat: Skill for Claude Code

.agents/skills/dream-review/SKILL.md

dream-review is a skill for Claude Code, Codex from cq27-dev/rag-rat. It costs 101 tokens per session (2,479 once invoked), scanned A, original, MIT.

A review workflow for checking and resolving findings from rag-rat's dream tool, which identifies possible problems in a project's stored notes and code coverage.

In plain words
What is it for?
It is for investigating open findings, repairing missing or outdated project information, and recording decisions about findings that do not need changes.
Why use it?
It helps distinguish findings that need a real fix from findings that should be accepted or dismissed, instead of leaving the worklist unclear.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents).

This is cq27-dev/rag-rat's own configuration. It tells Claude Code and Codex how to work on rag-rat itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rag-rat configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/cq27-dev/rag-rat/main/.agents/skills/dream-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cq27-dev/rag-rat

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for dream-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/cq27-dev/rag-rat/dream-review/github.svg)](https://agentmods.dev/skills/cq27-dev/rag-rat/dream-review)
Your own site
<a href="https://agentmods.dev/skills/cq27-dev/rag-rat/dream-review"><img src="https://agentmods.dev/badge/skills/cq27-dev/rag-rat/dream-review/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.

agentmods 80×15 button for dream-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/cq27-dev/rag-rat/dream-review"><img src="https://agentmods.dev/badge/skills/cq27-dev/rag-rat/dream-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,479 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.02479
Opus 5.5 $0.00040 $0.00992
Sonnet 5.5 $0.00020 $0.00496
Haiku 4.5 $0.00010 $0.00248

Measured 1mo ago against content hash ee2e7db2343d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dream-review 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 1mo 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.

.agents/skills/dream-review/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

dream-review — triage and resolve the rag-rat dream worklist

The dream tool surfaces findings about the repo's memories and load-bearing code. It never mutates a memory — the deterministic passes and the optional model propose; a reviewer decides. This skill is that reviewer loop: for each open finding, investigate with the rag-rat MCP tools, then resolve it — preferring a root fix (repair the memory / close the coverage gap, so the finding resolves on its own next run) over a bare verdict.

Drive the whole loop through the rag-rat MCP tools — dream and dream_review for the worklist, and semantic_search / symbol_lookup / impact_surface / find_callers / history_for / memory_search / read_chunk to investigate — not grep, and not the rag-rat CLI (an agent has the MCP but may not have the binary on PATH). It is a batch chore meant to run a few times a day, not continuously.

dream and dream_review are in the MCP server's admin toolset, which is not listed by default. If they are not among your tools, tell the user to add [mcp] toolsets = ["admin"] to the repo's rag-rat.toml and reconnect the rag-rat MCP server (in Claude Code: /mcp), then continue.

1. Preflight

  • Confirm the index is fresh: call index_status. If it reports drift, call heal_index to repair already-indexed files. (Discovering brand-new files and re-embedding is a CLI/cron job — rag-rat index --discover then rag-rat reconcile — outside this MCP loop; if findings look empty, that's the thing to ask a human to run.)
  • The dream tool is deterministic-only. It recomputes coverage_gap + stale_reference on every call and surfaces any memory_divergence / memory_unverifiable findings a prior model run persisted — but it does not run the model itself. Generating fresh model findings is the CLI/cron rag-rat dream --verify --compact pass (it provisions a GPU and takes minutes, so it never runs from a tool call). If the divergence findings look stale, that CLI pass is what refreshes them.

Read the full file on GitHub · 156 lines

Changes

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.

  1. 1mo ago Changed · +13 lines ee2e7db2343d
  2. 1mo ago Changed · +12 lines 86380a272ffc
  3. 1mo ago Changed · +4 lines 844152e69eb7
  4. 2mo ago First seen · 127 lines · 101 tokens per session scan A 1e53ebea18aa

Subscribe to this mod's changes

dream-review is a skill published in the GitHub repository cq27-dev/rag-rat (26 stars, last pushed 28d ago), licensed MIT. It adds 101 tokens to every session and 2,479 once invoked, about $0.0004 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.

Related

dream-review compared with skills from other repositories

dream-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dream-reviewcq27-dev/rag-ratSkill2628d agoMITA101Claude Code, Codex
doctorkalinbogatzevski/captain-memoSkill511d agoApache-2.0A52Claude Code
misakanet-failure-memoryIkalus1988/MisakaNetSkill554yesterdayApache-2.0A31Claude Code
memorywhalewuisabel-gif/MemWhaleSkill1462d agoMITA79Claude Code, Codex
cortex-debug-memorycdeust/CortexSkill76todayMITA87Claude Code
memorywhale-evidencewuisabel-gif/MemWhaleSkill1462d agoMITA27Claude Code, Codex
memorywhale-debuggingwuisabel-gif/MemWhaleSkill1462d agoMITA17Claude Code, Codex