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.
git clone --depth 1 https://github.com/NikiforovAll/claude-code-rulesWrote 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/commands/nikiforovall/claude-code-rules/project-recap)<a href="https://agentmods.dev/commands/nikiforovall/claude-code-rules/project-recap"><img src="https://agentmods.dev/badge/commands/nikiforovall/claude-code-rules/project-recap/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/commands/nikiforovall/claude-code-rules/project-recap"><img src="https://agentmods.dev/badge/commands/nikiforovall/claude-code-rules/project-recap.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.00015 | $0.01417 |
| Opus 5 | $0.00008 | $0.00709 |
| Sonnet 5 | $0.00003 | $0.00283 |
| Haiku 4.5 | $0.00002 | $0.00142 |
Grade A, and why
project-recap 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 yesterday.
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.
This is a copy
86% identical to project-recap — 42 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Load the visual-explainer skill, then generate a comprehensive visual project recap as a self-contained HTML page.
Follow the visual-explainer skill workflow. Read the reference template, CSS patterns, and mermaid theming references before generating. Use a warm editorial or paper/ink aesthetic with muted blues and greens, but vary fonts and palette from previous diagrams.
Time window — determine the recency window from the request, ignoring any --flags (those are the skill's, per its Arguments table): $ARGUMENTS
- Shorthand like
2w,30d,3m: parse to git's--sinceformat (2w→"2 weeks ago",30d→"30 days ago",3m→"3 months ago") - If what's left doesn't match a time pattern, treat it as free-form context and use the default window
- No argument: default to
2w(2 weeks)
Data gathering phase — run these first to understand the project:
-
Project identity. Read
README.md,CHANGELOG.md,package.json/Cargo.toml/pyproject.toml/go.modfor name, description, version, dependencies. Read the top-level file structure. -
Recent activity.
git log --oneline --since=<window>for commit history.git log --stat --since=<window>for file-level change scope.git shortlog -sn --since=<window>for contributor activity. Identify which areas of the codebase were most active. -
Current state. Check for uncommitted changes (
git status). Check for stale branches (git branch --no-merged). Look for TODO/FIXME comments in recently changed files. Read progress docs if they exist (~/.agent/memory/{project}/progress.md,~/.pi/agent/memory/{project}/progress.md,.pi/todos/, or similar). -
Decision context. Read recent commit messages for rationale. If running in the same session as recent work, mine the conversation history. Read any plan docs, RFCs, or ADRs in the project directory.
-
Architecture scan. Read key source files to understand the module structure and dependencies. Focus on entry points, public API surface, and the files most frequently changed in the time window.
Verification checkpoint — before generating HTML, produce a structured fact sheet of every claim you will present in the recap:
- Every quantitative figure: commit counts, file counts, line counts, branch counts
- Every module, function, and type name you will reference
- Every behavior and architecture description
- For each, cite the source: the git command output that produced it, or the file:line where you read it Verify each claim against the code. If something cannot be verified, mark it as uncertain rather than stating it as fact. This fact sheet is your source of truth during HTML generation — do not deviate from it.
Diagram structure — the page should include:
- Project identity — not the README blurb. A current-state summary: what this project does, who uses it, what stage it's at (early dev, stable, actively shipping features). Include version, key dependencies, and the one-sentence "elevator pitch" for someone who forgot what they were building.
- Architecture snapshot — Mermaid diagram of the system as it exists today. Focus on the conceptual modules and their relationships, not every file. Label nodes with what they do, not just file names. Wrap in
.mermaid-wrapwith the standard zoom controls — see "Zoom Controls" in css-patterns.md. Visual treatment: this is the visual anchor — use hero depth (elevated container, larger padding, subtle accent-tinted background). The rest of the page hangs off this diagram. - Recent activity — not raw git log. A human-readable narrative grouped by theme: feature work, bug fixes, refactors, infrastructure. Timeline visualization with the most significant changes called out. For each theme, a one-sentence summary of what happened and why it mattered.
- Decision log — key design decisions from the time window. Extracted from commit messages, conversation history, plan docs, progress docs. Each entry: what was decided, why, what was considered. This is the highest-value section for fighting cognitive debt — the reasoning that evaporates first.
- State of things — visual treatment: use the KPI card pattern from css-patterns.md — large hero numbers for working/broken/blocked/in-progress counts, with color-coded trend indicators. A dashboard of:
- What's working (stable, shipped, tested)
- What's in progress (uncommitted work, open branches, active TODOs)
- What's broken or degraded (known bugs, failing tests, tech debt items)
- What's blocked (waiting on external input, dependencies, decisions)
- Mental model essentials — the 5-10 things you need to hold in your head to work on this project effectively:
- Key invariants and contracts (what must always be true)
- Non-obvious coupling (things connected in ways you wouldn't guess from the file tree)
- Gotchas (common mistakes, easy-to-forget requirements, things that break silently)
- Naming conventions or patterns the codebase follows
- Cognitive debt hotspots — visual treatment: use amber-tinted cards with severity indicators (colored left border: red for high, amber for medium, blue for low). Areas where understanding is weakest:
- Code that changed recently but has no documented rationale
- Complex modules with no tests
- Areas where multiple people (or agents) made overlapping changes
- Files that are frequently modified but poorly understood
- Flag each with a severity and a concrete suggestion (e.g., "add a doc comment to
buildCoordinationInstructionsexplaining the 4 coordination levels — this function is called from 3 places and the behavior is non-obvious")
- Next steps — inferred from recent activity, open TODOs, project trajectory. Not prescriptive — just "here's where the momentum was pointing when you left." Include any explicit next-step notes from progress docs or plan files.
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.
- yesterday First seen · 58 lines · 15 tokens per session scan A 6157d4a93847
project-recap is a command published in the GitHub repository NikiforovAll/claude-code-rules (141 stars, last pushed 2d ago), licensed Apache-2.0. It adds 15 tokens to every session and 1,417 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to project-recap, differing in 42 lines, and is treated as a copy.
Other commands, from other repositories
business-model
Explore business models using Lean Canvas, Business Model Canvas, Startup Canvas, or Value Proposition frameworks.
brainstorm
Brainstorm product ideas or experiments from PM, Designer, and Engineer perspectives — for existing or new products.
discover
Run a full product discovery cycle — from ideation through assumption mapping to experiment design.
setup-metrics
Design a product metrics dashboard with North Star metric, input metrics, health metrics, and alert thresholds.
triage-requests
Analyze, categorize, and prioritize a batch of feature requests from customers or stakeholders.
pricing
Design a pricing strategy — models, competitive analysis, willingness-to-pay estimation, and pricing experiments.