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 jamestexas/agents --skill reviewgit clone --depth 1 https://github.com/jamestexas/agentsWrote 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/jamestexas/agents/review)<a href="https://agentmods.dev/skills/jamestexas/agents/review"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/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/jamestexas/agents/review"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/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.00168 | $0.11736 |
| Opus 5.5 | $0.00067 | $0.04694 |
| Sonnet 5.5 | $0.00034 | $0.02347 |
| Haiku 4.5 | $0.00017 | $0.01174 |
Grade B, and why
review 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 today.
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.
the hook once, in `~/.claude/settings.json`: How it starts
The opening of the file, as written. The whole thing — 818 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/review
Input: $ARGUMENTS
This skill runs in a forked subagent (context: fork, as the pr-reviewer
agent: every tool, no persona): it starts with this
file and the arguments above, never the conversation that invoked it. That
is the point: whoever invoked it may hold hunches about the PR, and the
phases are built so that nothing reaches a reader except the evidence.
Everything a run needs comes from the arguments and the files it reads.
You cannot ask the operator anything; where a step would ask, it says what
to do instead. Your final message is the hand-over, the only thing the
operator sees (format under Phase 6).
Never end your turn before the hand-over. The harness may run this fork
in the foreground, and then your turn ending is the run ending: a background
task's notification will never resume you. Whenever you need to wait (the
evidence script, the sub-agents of a phase, the explain pass), wait with a
foreground call to await.mjs, which blocks until the files exist and
touches <run>/heartbeat while it does:
node ~/.claude/skills/review/scripts/await.mjs <run> <file> [<file> ...] # exit 0: ready; exit 3: call it again
Each call returns within 9 minutes, under the Bash tool's ceiling; on exit 3, call it again. Wait on the file the work leaves, never on the sub-agent's reply: in this harness every sub-agent runs in the background, so "when it returns" means a notification, and waiting for one means ending the turn.
Every wait on a sub-agent also passes --budget, a cap on the whole wait
across calls, so a sub-agent that died before writing its file cannot hang
the run. Exit 4 means the budget is spent:
| Wait | Files | --budget |
On exit 4 |
|---|---|---|---|
| Evidence (phase 1) | evidence.exit |
none (the script's probes carry their own limits) | — |
| Questions (phase 2) | work/ledger.md |
1800 | re-dispatch once, then fail |
| Readers (phase 3) | every work/decisions/<id>.md |
2700 | re-dispatch the missing readers once, then merge without them |
| Refute (phase 4) | work/refutations.md |
1800 | re-dispatch once, then fail |
| Triage (phase 5) | work/triage.md work/findings.json |
1800 | re-dispatch once, then fail |
| Teach (phase 6) | work/summary.md |
1800 | re-dispatch once, then fail |
| Explain pass | <PR folder>/explain.md |
1800 | finish without the join (phase 6) |
Re-dispatching means the same prompt and substitutions, after deleting any
partial output of that phase. fail is state.mjs <run> fail reason=<phase>-no-output, and the hand-over says which phase wrote nothing.
A reader that misses twice leaves its rows' Decision empty, so the
merge and gate 1 name them rather than the run hanging.
Operator input. Everything in the arguments that is not a PR, a path
or a flag is the operator's: questions to answer and context to check, often
with "per PR" bullets. --ask-file <path> adds that file's text to it. Write
it verbatim to one file before phase 1 (in the scratch or temp directory);
phase 1 cuts each PR's share out of it with a script, and phase 2 turns that
share into (operator) ledger rows. Never paraphrase it, and never hand it
to any phase but the questions phase: readers see only the rows' wording.
First, check you can dispatch. The phases need the Agent tool. If you do not have it, stop before phase 1 and make your whole hand-over: "Cannot run /review: this agent has no Agent tool, so the phases cannot be dispatched. The session likely loaded an older agent definition; start a new session." Never fall back to reviewing the PR yourself: a single-agent review has none of the isolation, gates or artifacts this skill promises, and passing it off as a /review result is worse than no result.
Seven phases, plus an explain pass that runs beside them and a join that
reads both. Each reads files and writes files under one run directory.
Every phase agent is general-purpose with that phase's prompt file: the
prompt file is the phase's specialist. A persona agent's own output format
would fight the file contract the merge scripts and gates read, so domain
knowledge reaches a phase as a skill ("apply the skill to these
rows"), never as the agent type.
No phase reads another phase's chat reply.
What ships with it
60 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.
- docs/structure-providers.md 2.7 KB
- packs.site.example.yaml 2.6 KB
- packs.yaml 8.2 KB
- prompts/explain.md 2.2 KB
- prompts/questions.md 6.5 KB
- prompts/reader.md 6.4 KB
- prompts/refute.md 4.1 KB
- prompts/teach.md 2.7 KB
- prompts/triage.md 2.4 KB
- README.md 3.5 KB
- scripts/abandon-session.mjs 1.8 KB runs code
- scripts/await.mjs 3.1 KB runs code
- scripts/cells.mjs 950 B runs code
- scripts/check.mjs 13 KB runs code
- scripts/codeowners.mjs 2.7 KB runs code
- scripts/early-signal.mjs 4.7 KB runs code
- scripts/fnmatch.mjs 2.4 KB runs code
- scripts/focus-map.mjs 22 KB runs code
- scripts/freshness.mjs 7.3 KB runs code
- scripts/git-fetch-retry.sh 1.5 KB runs code
- scripts/go-overlay-test.sh 1.9 KB runs code
- scripts/go-test-summary.jq 1.8 KB
- scripts/lib.sh 5.2 KB runs code
- scripts/merge-decisions.mjs 4.4 KB runs code
- scripts/observe.sh 2.7 KB runs code
- scripts/operator.mjs 2.7 KB runs code
- scripts/packs-match.mjs 2.5 KB runs code
- scripts/prior-context.mjs 6.0 KB runs code
- scripts/render.mjs 6.0 KB runs code
- scripts/review-evidence.sh 23 KB runs code
- scripts/runstate.mjs 6.3 KB runs code
- scripts/state.mjs 26 KB runs code
- scripts/structure-check.mjs 2.4 KB runs code
- scripts/structure-gopls.mjs 6.2 KB runs code
- scripts/worktree.mjs 1.2 KB runs code
- smell-rules/mechanism_overlap.json 2.3 KB
- test/abandon.test.mjs 2.4 KB runs code
- test/check.test.mjs 12 KB runs code
- test/codeowners.test.sh 3.1 KB runs code
- test/early.test.mjs 5.6 KB runs code
- test/evidence-pr.test.sh 10 KB runs code
- test/evidence.test.sh 11 KB runs code
- test/fixtures/all-unresolved/work/claims.jsonl 384 B
- test/fixtures/all-unresolved/work/findings.json 156 B
- test/fixtures/all-unresolved/work/ledger.md 528 B
- test/fixtures/all-unresolved/work/triage.md 543 B
- test/fixtures/bad-blocking/work/claims.jsonl 384 B
- test/fixtures/bad-blocking/work/findings.json 133 B
- test/fixtures/bad-blocking/work/ledger.md 556 B
- test/fixtures/bad-blocking/work/triage.md 543 B
- test/fixtures/bad-dangling-claim/work/claims.jsonl 384 B
- test/fixtures/bad-dangling-claim/work/findings.json 157 B
- test/fixtures/bad-dangling-claim/work/ledger.md 556 B
- test/fixtures/bad-dangling-claim/work/triage.md 543 B
- test/fixtures/bad-footer/work/claims.jsonl 384 B
- test/fixtures/bad-footer/work/findings.json 156 B
- test/fixtures/bad-footer/work/ledger.md 556 B
- test/fixtures/bad-footer/work/triage.md 543 B
- test/fixtures/bad-json-findings/work/claims.jsonl 384 B
- test/fixtures/bad-json-findings/work/findings.json 20 B
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.
- today Changed · +101 lines be8b65bfb0a3
- 5d ago Changed · +14 lines ff167e9a48fd
- 6d ago Changed · +214 lines · +22 tokens per session 724cde9834dc
- 20d ago Changed 13656df324a6
- 24d ago Changed · +7 lines 99ab7ed11b7c
- 27d ago Changed · +61 lines ae0d054ec6ae
- 1mo ago First seen · 421 lines · 146 tokens per session scan B 6a3e3b3082cc
review is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 168 tokens to every session and 11,736 once invoked, about $0.0007 per session on Opus 5.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-10-29.
review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reviewjamestexas/agents | Skill | 2 | today | Apache-2.0 | B | 168 | Claude Code |
| code-reviewgithub/awesome-copilot | Skill | 42k | today | MIT | A | 27 | Claude Code, Codex |
| discount-reviewpromptfoo/promptfoo | Skill | 28k | today | MIT | A | 18 | Claude Code, Codex |
| code-reviewpromptfoo/promptfoo | Skill | 28k | today | MIT | A | 11 | Claude Code |
| writing-qualityvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 69 | Claude Code, Codex |
| crit-storytomasz-tomczyk/crit | Skill | 1.4k | 3d ago | MIT | A | 47 | Claude Code, Codex |
| mcp-server-reviewpnp/copilot-prompts | Skill | 913 | yesterday | MIT | A | 93 | Claude Code, Codex |