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 (1,941 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: 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.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.svg" alt="Measured on agentmods" 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 1,941 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.01941
Opus 5 $0.00051 $0.00971
Sonnet 5 $0.00020 $0.00388
Haiku 4.5 $0.00010 $0.00194

Measured 8d ago against content hash 1e53ebea18aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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 · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 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 toolsdream and dream_review for the worklist, and semantic_search / symbol_lookup / impact_surface / find_callers / git_history_for_symbol / 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.

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.

2. Pull the open worklist

Call dream — no args needed (limit caps the number of coverage_gap findings, default 20). It returns findings[], each { id, kind, subject, evidence, rank, status }. Work highest rank first (rank decays with age). The id (a short hex; a unique prefix also works) is what you pass to dream_review.

Read the full file on GitHub · 127 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. 8d 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 (20 stars, last pushed 2d ago), licensed MIT. It adds 101 tokens to every session and 1,941 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

cortex-debug-memory

Debug and fix memory system issues — validate memories, rate quality, manage protection, forget bad memories, and restore from checkpoints. Use when the user says 'fix memory', 'bad memory', 'wrong memory', 'delete this', 'protect this', 'this memory is wrong', 'memory quality', 'rate this memory', 'restore…

cdeust/Cortex · 87 tokens

memorywhale

Query and write durable debugging memory recorded by MemoryWhale. Use when debugging a failure that may have happened before, when you need the exact error/flags/output from an earlier attempt, when the user asks "how did we fix this last time?", or once you've figured out why something failed / how a fix worked and…

wuisabel-gif/MemWhale · 79 tokens

vault-for-llm

Connect OpenClaw to Vault Agent Memory as a local-first governed project memory layer. Search first, then bounded-read cited source ranges; propose new memories as candidates instead of writing directly into active memory.

zycaskevin/Vault-Agent-Memory · 46 tokens

skills

Your next session starts cold. No memory of what you built, what broke, what you decided. Every memory you write is a gift to that future session. The richer the memory, the less time re-learning.

jackccrawford/Geniuz · 0 tokens

memem-mine

Opt in to memem's event-triggered mining. New sessions are mined automatically via the Stop hook.

TT-Wang/memem · 26 tokens

any-mcp

Use when an agent needs to read, search, create, edit, organize, upload, or chat with Anytype through the bounded any-mcp server. Covers safe tool selection, exact identifier chaining, optional toolsets, common PKM workflows, and the narrow anyr fallbacks for chat subscriptions and rich chat blocks.

stevelr/anytype · 68 tokens