superkit-evolve

superkit-evolve is a command for coding agents from RaNDoM6913/claude-code-superkit. It costs 15 tokens per session (2,791 once invoked), scanned B, original, MIT.

A command that checks documentation in a project already using Superkit and finds information that is outdated or missing. It can report the issues or fix confirmed documentation and configuration problems.

In plain words
What is it for?
Use it to detect and update stale architecture documents, project rules, hooks, and other supported documentation files.
Why use it?
It helps keep documentation aligned with code as the project changes, without modifying application source code.

Command

Install

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.

agentmods
npx agentmods add commands/random6913/claude-code-superkit/superkit-evolve
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

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 superkit-evolve

README.md
[![agentmods](https://agentmods.dev/badge/commands/random6913/claude-code-superkit/superkit-evolve.svg)](https://agentmods.dev/commands/random6913/claude-code-superkit/superkit-evolve)
Your own site
<a href="https://agentmods.dev/commands/random6913/claude-code-superkit/superkit-evolve"><img src="https://agentmods.dev/badge/commands/random6913/claude-code-superkit/superkit-evolve.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,791 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00015 $0.02791
Opus 5 $0.00008 $0.01396
Sonnet 5 $0.00003 $0.00558
Haiku 4.5 $0.00002 $0.00279

Measured yesterday against content hash 021bdda27838, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

superkit-evolve scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

grep -o '`[^`]*`' .claude/rules/documentation.md 2>/dev/null | tr -d '`' | while read -r pattern; do
packages/core/commands/superkit-evolve.md · 232 lines

How it starts

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

Superkit Evolve — Incremental Documentation Update

Detect what is outdated or missing in the documentation of a project already using superkit, then fix it. Six drift checks → report → confirmed fixes → verified commit.

Mode

$ARGUMENTS

Arguments Mode Behavior
(empty) interactive Report issues in Step 7, ask before fixing
--fix-all automatic Print the Step 7 scan block, skip the prompt, fix everything except [UNKNOWN]

Hard Rules

  1. Run ALL six checks (Steps 1–6) before reporting. A check whose command fails or whose value cannot be parsed records an [UNKNOWN] issue with the reason — never guess a value, never claim drift from an unparsed value.
  2. Interactive mode: fix NOTHING until the user confirms in Step 7.
  3. Touch only documentation and config: docs/, CLAUDE.md, .claude/rules/, .claude/scripts/hooks/. Never edit application source code.
  4. Canonical architecture doc names are the shipped template names (Step 2 table): api-reference.md, frontend-state.md, etc. Do not check for or generate other spellings.
  5. A fix counts as FIXED only after re-running the check that produced the issue and seeing it pass.
  6. Use the portable commands below as written — they run on both macOS and Linux. Do not substitute grep -P or stat -f variants.
  7. Zero issues is a valid result — emit the final report saying so; do not manufacture drift.

Step 1 — Migration Counter Drift

# Count actual migrations
ACTUAL=$(find . -path "*/migrations/*" -name "*.up.sql" -not -path "*/node_modules/*" 2>/dev/null | wc -l | tr -d ' ')
# Extract claimed upper counter from CLAUDE.md: last NNN..NNN range on the first matching line, zero-padding stripped
CLAIMED=$(grep -E '[0-9]{3,}\.\.[0-9]{3,}' CLAUDE.md 2>/dev/null | head -1 | sed -n 's/.*\.\.0*\([1-9][0-9]*\).*/\1/p')

Branches (exactly one applies):

  • ACTUAL is 0 but a migrations/ directory exists → recount with -name "*.sql" (project without .up/.down split), then continue below.
  • No migrations in the project at all → no issue, done.
  • CLAIMED empty while ACTUAL > 0 → issue [UNKNOWN] Migration counter not parseable from CLAUDE.md (actual: $ACTUAL).
  • CLAIMED != ACTUAL → issue [DRIFT] Migration counter (CLAUDE.md: $CLAIMED, actual: $ACTUAL).
  • CLAIMED == ACTUAL → no issue.

Read the full file on GitHub · 232 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. yesterday First seen · 232 lines · 15 tokens per session scan B 021bdda27838

Subscribe to this mod's changes

superkit-evolve is a command published in the GitHub repository RaNDoM6913/claude-code-superkit (2 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 2,791 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.