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.
npx skills add mystilleef/spae-framework --skill code-reviewgit clone --depth 1 https://github.com/mystilleef/spae-frameworkWrote 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/mystilleef/spae-framework/code-review)<a href="https://agentmods.dev/skills/mystilleef/spae-framework/code-review"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/code-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.
<a href="https://agentmods.dev/skills/mystilleef/spae-framework/code-review"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/code-review.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.00012 | $0.02196 |
| Opus 5.5 | $0.00005 | $0.00878 |
| Sonnet 5.5 | $0.00002 | $0.00439 |
| Haiku 4.5 | $0.00001 | $0.00220 |
Grade C, and why
code-review scanned grade C 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 3d 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- prettier-ignore-start --> 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.
Code review agent
When to use
- Reviewing diffs, commits, PRs, or changed files before merge.
- Auditing generated code or refactors for regressions.
Goal
Conduct a defensive, evidence-based review of local repository changes. Flag only material defects—incorrect behavior, data loss, security vulnerabilities, or crashes. Return prioritized findings with exact code citations and targeted remediation.
Scope
In scope:
- Lines added or modified in the diff
- New public API contracts introduced by the diff
- Security and correctness of new logic
Out of scope:
- Unchanged code visible in context
- Architecture or design concerns
- Missing tests or test coverage
- Style, formatting, naming conventions
DRY/ abstraction suggestions- Hypothetical callers or inputs (unless new public API)
Input
Determine scope from the first available source:
- Files or folders provided by the user.
- Current changes in the repository: staged,
unstaged, anduntrackedfiles in a versioned project.
Abort with a clear message if no scope detected.
Gather intent grounding matching the resolved scope:
- Commit or
PRscope: the commit message(s) orPRtitle and description. - Uncommitted-changes or file scope: comments near each changed
hunk, plus any intent the requester stated when invoking the review.
Workflow
- GATE—Identify changed files and diff boundaries; abort if no
scope. Delete
code-review-report.yamlfrom the project root if present. - ORIENT—Read
references/code-review-guide.mdfor categories, severity levels, decision rules, scope, and calibration. Readreferences/report-schema.jsonas the output contract. Anchor to review goal; name what the review won't change.- Ground runtime execution model (single-threaded CLI, async loop, multi-threaded server, isolated worker) and threat model. Limit validation to source inspection and isolated local checks; exclude live-system probing and exploit development.
- Gather intent grounding (see Input) for the
hunksunder review before the category passes.
- ACT—Execute:
- Read relevant project documentation (
AGENTS.md,ORIENT.md,DESIGN.md), nearby code, and tests for grounding. - Detect and run configured linters, type checkers, and static analysis; treat tool errors as confirmed findings.
- Sweep up to
PHASE_CAP(7) phases against a running ledger; stop the first phase that contributes zero new candidates:- Each phase scans every category below in full before consulting the ledger—produce the complete candidate list first, then dedupe. Skipping already-covered ground before scanning defeats the sweep.
- Each phase carries a rotating heightened-focus category, cycling
((phase - 1) mod 8) + 1through the category order below— rotation adds focus without narrowing scope; every phase still scans all 8. - Tag each candidate with a defect signature:
category:path:line-or-range:short-defect-slug. Treat a candidate as new only when its signature stays absent from the ledger. - Append new candidates to the ledger after each phase.
- Categories (every phase scans all):
- Correctness: Logic, conditions, bounds, formulas, collection mutation.
- Null and type safety: Null/undefined
dereferences, unchecked Result/Option types, unsafe coercions. - Concurrency: Shared mutable state, lock release paths,
read-modify-writeatomicity,asyncrace conditions. - Security: Injection,
hardcodedcredentials, auth bypass,PIIin logs, unsafedeserialization, missing boundary validation. - Resource management: File, socket, connection, lock, or allocation without guaranteed release.
- Error handling: Silently discarded errors, wrong return on
error branch,
unpropagatederrors. - API misuse: Deprecated functions, wrong argument order, ignored return values, missing required options.
- Data integrity:
Unvalidatedindex/size/key inputs, broken serialization contracts, truncation risk.
- Read relevant project documentation (
- VERIFY—Run once, after the phase sweep completes—never per phase.
Prove each ledger finding against code, project mandates, and app
threat model. Apply decision rules from the guide (resource leak,
injection, null safety, concurrency, error handling, intent check).
- Require a concrete trigger scenario, reachable code path, and material impact for each finding. Code evidence suffices; don't require exploit construction or live-system reproduction.
- Drop speculative or out-of-scope findings from active
findings. - Route findings lacking concrete trigger scenarios or carrying
qualifying intent evidence to
suppressed_findings; cite the missing scenario or intent evidence—never emit them infindings.
- PERSIST—Skip only when both
findingsandsuppressed_findingsstay empty. Otherwise writecode-review-report.yamlto the project root conforming toreferences/report-schema.json; omit thesuppressed_findingskey entirely when empty. Write once, after VERIFY passes. Use|block scalars for multi-linesuggestionandexcerptfields. - REPORT—Sort findings by severity. Emit the result following the result directives and result template.
What ships with it
2 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.
- 3d ago Changed · +10 lines 125118427b7c
- 1mo ago First seen · 222 lines · 12 tokens per session scan C 94f32ce53ef3
code-review is a skill published in the GitHub repository mystilleef/spae-framework (2 stars, last pushed 3d ago), licensed MIT. It adds 12 tokens to every session and 2,196 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
ahk-review
Preview a code review against ticket/objective alignment, with deep semantic (name-vs-behavior) analysis. No tasks created, no harness tracking.
red-team-assessment
Run an evidence-backed adversarial security assessment through the local llm-cli-gateway stdio MCP server. Use for code, architecture, configuration, data-flow, or supply-chain security review across the full Claude, Codex, Gemini, Grok, Mistral, Devin, and Cursor roster.
multi-llm-consensus
Obtain complete, evidence-backed agreement from a required roster of llm-cli-gateway providers. Use for high-stakes generation, conflict resolution, or final quality gates that require unconditional approval from every required reviewer.
agent-codex-gate
Pattern for spawning subagents whose work must receive an evidence-backed, unconditional Codex review through the local llm-cli-gateway stdio MCP server. Use when parallel implementation tasks need an independent Codex quality gate.
codex-review-gate
Submit completed work to Codex through the local llm-cli-gateway stdio MCP server and continue until an evidence-backed, unconditional approval. Use after implementation, before merging, or whenever a process requires Codex sign-off.
python-engineering-guidelines
General Python engineering standards for writing, reviewing, and refactoring maintainable code. Use when Codex works on Python code, especially in medium/large projects, runtime adapters, APIs, SDK integrations, async services, stateful systems, or refactors where readability, explicit typing, module boundaries, side…