review-code

review-code is a skill for Claude Code, Codex from tugrulguner/summonpot. It costs 62 tokens per session (866 once invoked), scanned A, original, MIT.

A code-review checklist for changes in the Summonpot codebase, focused on defects that have appeared in that project.

In plain words
What is it for?
Use it before opening a pull request or when reviewing a diff, including its documentation, validation rules, error timing, tests, and responses.
Why use it?
It helps catch documentation that promises missing behavior, checks that reject valid code, late failures, misleading tests, and internal details exposed to users.

Skill for Claude CodeCodex

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 skills/tugrulguner/summonpot/review-code
Any agent
npx skills add tugrulguner/summonpot --skill review-code
Clone the repo
git clone --depth 1 https://github.com/tugrulguner/summonpot

Made for: Claude Code, Codex.

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 review-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/tugrulguner/summonpot/review-code.svg)](https://agentmods.dev/skills/tugrulguner/summonpot/review-code)
Your own site
<a href="https://agentmods.dev/skills/tugrulguner/summonpot/review-code"><img src="https://agentmods.dev/badge/skills/tugrulguner/summonpot/review-code.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 866 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00062 $0.00866
Opus 5 $0.00031 $0.00433
Sonnet 5 $0.00012 $0.00173
Haiku 4.5 $0.00006 $0.00087

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

Security

Grade A, and why

review-code 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 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.

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.

.claude/skills/review-code/SKILL.md · 91 lines

How it starts

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

Reviewing a summonpot change

Check the diff against the defects this project has actually shipped, in the order they have cost the most.

1. Does a doc claim something the code does not do?

The most repeated defect here. Shipped examples: stream=True documented as working while nothing read the flag; method= accepted and discarded; "capabilities themselves remain deterministic" claiming a guarantee the framework cannot give.

A claim is a defect. Check README.md, ROADMAP.md, docs/, docstrings, and src/summonpot/templates/skills/summonpot.md.

grep -rn "stream\|method=" README.md docs/ src/summonpot/templates/skills/

2. Does a new guard reject valid code?

Every registration guard needs a false-positive test, not only a true-positive one. Two guards shipped rejecting valid input:

  • an unbound-method check that rejected any function whose first parameter was self;
  • an annotation check that rejected request: "Request" where Request existed.

For any new rule, write the case that should still be accepted and run it.

3. Is the failure raised at the right time?

Registration beats request time; request time beats silence. A wrong declaration should never reach traffic. Summon.__call__() in src/summonpot/summon.py is the registration entry point. Place each rule in the responsible validation layer — including capability normalization in src/summonpot/tools.py and contract checks in src/summonpot/_validation.py — and ensure the entry point invokes it before serving or execution.

4. Does the test fail without the fix?

Assert it in an isolated worktree so verification cannot modify the reviewer's working tree or any user-owned recovery state. Apply only the test diff to the base revision, then run the focused regression there:

base=${BASE_REF:-origin/main}
red_tree=$(mktemp -d)
git worktree add --detach "$red_tree" "$base"
git diff "$base" -- tests/ | git -C "$red_tree" apply -
(cd "$red_tree" && uv sync --all-extras --locked && uv run pytest tests/ -q)
git worktree remove --force "$red_tree"

Read the full file on GitHub · 91 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 Changed · +14 lines e1d954a39474
  2. 5d ago First seen · 77 lines · 62 tokens per session scan A 99c674cf056f

Subscribe to this mod's changes

review-code is a skill published in the GitHub repository tugrulguner/summonpot (2 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 866 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

fastapi

Use when building, reviewing, testing, securing or shipping a FastAPI / async Python service — routers, Pydantic v2 schemas, dependency injection, async SQLAlchemy 2.0, OAuth2/JWT, ASGITransport tests, production wiring. NOT language-level Python or packaging (that is python), NOT engine-level SQL (that is…

ericrisco/rsc-harness · 94 tokens

jupyter-notebook

Use when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script newnotebook.py to generate a clean starting notebook.

microsoft/ai-agents-for-beginners · 57 tokens

python-package-management

Guide for managing packages in the Agent Framework Python monorepo, including creating new connector packages, versioning, and the lazy-loading pattern. Use this when adding, modifying, or releasing packages.

microsoft/agent-framework · 43 tokens

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

wshobson/agents · 45 tokens

python-feature-lifecycle

Guidance for package and feature lifecycle in the Agent Framework Python codebase, including stage meanings, feature-stage decorators, feature enums, and how to move APIs from one stage to the next.

microsoft/agent-framework · 43 tokens

python-code-quality

Code quality checks, linting, formatting, and type checking commands for the Agent Framework Python codebase. Use this when running checks, fixing lint errors, or troubleshooting CI failures.

microsoft/agent-framework · 40 tokens