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 photostructure/coding-skills --skill review-stagedgit clone --depth 1 https://github.com/photostructure/coding-skillsWrote 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/photostructure/coding-skills/review-staged)<a href="https://agentmods.dev/skills/photostructure/coding-skills/review-staged"><img src="https://agentmods.dev/badge/skills/photostructure/coding-skills/review-staged/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/photostructure/coding-skills/review-staged"><img src="https://agentmods.dev/badge/skills/photostructure/coding-skills/review-staged.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.00051 | $0.00764 |
| Opus 5.5 | $0.00020 | $0.00306 |
| Sonnet 5.5 | $0.00010 | $0.00153 |
| Haiku 4.5 | $0.00005 | $0.00076 |
Grade A, and why
review-staged 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 23d 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.
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.
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Review Git Staged Changes
Review the staged diff (git diff --cached) for potential issues and
improvements, then prepare the commit. When the user supplies a proposed commit
message, use it as context for the intended change, not as a correctness
requirement.
User direction
A direct "commit" or "approved, commit" instruction authorizes the understood scope and takes precedence over this skill's review and approval defaults. Unless the user also requests review first, use stage to verify and commit that scope without starting or resuming a review or asking for approval again. This also applies after findings or a review verdict; a reviewer's recommendation does not overrule the user's commit instruction. When project instructions require review before every commit, a commit instruction for changes that review has not finished on since they last changed runs the review first, and only an explicit instruction to skip review skips it.
Run the review
Size the scope before reading it: git diff --cached --stat. Review all staged
content as supplied. The size or coherence of a proposed commit does not affect
the review verdict.
With the staged diff as the scope, read and follow
../review/references/single-pass.md.
After the findings, use the shared Commit notes section for optional message
or grouping advice. If a split would improve reviewability or make later reverts
safer, identify the files or hunks in each independently committable batch and
give a complete Conventional Commit message for every batch. State the specific
reason for the split; size alone is not enough. These notes never receive a
priority and never change the verdict. If they are the only concerns, return
Verdict: LAND and No issues found.
Post-review commit flow
If the verdict is DISCARD, explain why the change should not land and stop the review. A later user instruction to commit takes precedence as described in User direction.
What ships with it
1 file 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.
- 23d ago Changed · +4 lines 83645cbe645e
- 1mo ago Changed · -11 lines · -16 tokens per session 5797ee98ea6f
- 1mo ago Changed · +12 lines · +12 tokens per session 17bd25d429f3
- 1mo ago First seen · 68 lines · 55 tokens per session scan A c585928e6137
review-staged is a skill published in the GitHub repository photostructure/coding-skills (4 stars, last pushed 22d ago), licensed MIT. It adds 51 tokens to every session and 764 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
pr-review
Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.
phx-pr-review
Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.
signing-preflight
Before the first commit of a session, check that commit signing will work — the key is loaded and unlocked — and ask the operator to unlock it once, up front, instead of discovering it after a hundred unsigned commits. Never disables signing silently, never re-signs history without asking. Use at the start of…
github-pr-creation
Creates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests labels. NOTE - for merging existing…
git-commit
Creates git commits following Conventional Commits format with type/scope/subject. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md.
phx-watch-pr
Watch an Elixir/Phoenix PR with an Amp Orb keep-alive lease until required non-deployment CI is green and review threads are resolved.