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 agentmods add skills/mystilleef/spae-framework/code-reviewnpx skills add mystilleef/spae-framework --skill code-reviewgit clone --depth 1 https://github.com/mystilleef/spae-frameworkWhat 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 | $0.00012 | $0.02084 |
| Opus 5 | $0.00006 | $0.01042 |
| Sonnet 5 | $0.00002 | $0.00417 |
| Haiku 4.5 | $0.00001 | $0.00208 |
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 2d 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 — 222 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 skeptical, evidence-based review that flags only material defects—incorrect behavior, data loss, security vulnerabilities, or crashes. Return prioritized findings with exact code citations.
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.
- 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).
- Drop speculative, out-of-scope, or
unexploitabletheoretical findings from activefindings. - Route findings lacking concrete exploit paths or carrying
qualifying intent evidence to
suppressed_findingsciting the missing trigger scenario—never emit them infindings.
- Drop speculative, out-of-scope, or
- 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.
- 2d 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 (1 stars, last pushed 28d ago), licensed MIT. It adds 12 tokens to every session and 2,084 once invoked, about $0.0001 per session on Opus 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
exploit-xss
Cross-site scripting (XSS) vulnerability detection and exploitation. Supports reflected XSS, stored XSS, DOM-based XSS, and blind XSS testing. Use this skill when user mentions XSS, cross-site scripting, script injection, or needs to test JavaScript injection in parameters, forms, headers, or DOM sources.
results-storage
SQLite-based persistent storage and reporting system for penetration testing results. Use this skill when user needs to store scan results, query vulnerabilities, generate reports, or manage pentest data across sessions.
exploit-sqli
SQL injection detection and exploitation using sqlmap, manual techniques, and custom payloads. Use this skill when user needs to test for SQL injection vulnerabilities, extract database information, or exploit SQLi in parameters, headers, or cookies.
recon-dir-scan
Directory and file enumeration using ffuf, gobuster, dirsearch, and feroxbuster. Use this skill when user needs to discover hidden directories, enumerate files, find backup files, or map application structure through path fuzzing.
recon-fingerprint
Web fingerprinting and WAF detection using wafw00f, whatweb, nuclei, and httpx. Use this skill when user needs to identify web technologies, detect WAF/CDN, analyze server headers, or fingerprint web applications and frameworks.
recon-subdomain
Subdomain enumeration and DNS reconnaissance using subfinder, amass, dnsx, and other tools. Use this skill when user needs to discover subdomains, perform DNS enumeration, gather DNS records, or find hidden subdomains of a target domain.