code-review

code-review is a skill for Claude Code, Codex from XAIHT/Tlamatini. It costs 39 tokens per session (1,641 once invoked), scanned A, original, MIT.

A code-review helper that examines Git changes—edits made to a project—and reports a decision with specific findings tied to source-code lines.

In plain words
What is it for?
Use it to review staged, unstaged, or selected Git changes and get structured comments about correctness, security, performance, and code quality.
Why use it?
It helps catch logic errors, security problems, slow code, and readability issues before a change is accepted. It also makes clear when there is nothing to review.

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/xaiht/tlamatini/code_review
Any agent
npx skills add XAIHT/Tlamatini --skill code_review
Clone the repo
git clone --depth 1 https://github.com/XAIHT/Tlamatini

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/xaiht/tlamatini/code_review.svg)](https://agentmods.dev/skills/xaiht/tlamatini/code_review)
Your own site
<a href="https://agentmods.dev/skills/xaiht/tlamatini/code_review"><img src="https://agentmods.dev/badge/skills/xaiht/tlamatini/code_review.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,641 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.00039 $0.01641
Opus 5 $0.00019 $0.00821
Sonnet 5 $0.00008 $0.00328
Haiku 4.5 $0.00004 $0.00164

Measured 3d ago against content hash 1b91a3d49068, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

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.

Tlamatini/agent/skills_pkg/code_review/SKILL.md · 129 lines

How it starts

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

Code Review

Act as a rigorous, fair senior engineer reviewing a change set. Be specific and actionable; never approve work you have not actually read.

Procedure

  1. Resolve the diff. Run, via chat_agent_gitter (preferred) or chat_agent_executer, from ${input.repo_path}:
    • If ${input.diff_ref} is non-empty: git diff ${input.diff_ref} -- . (also run git diff ${input.diff_ref} --stat for a file overview).
    • If ${input.diff_ref} is empty: git diff HEAD and git diff --staged to capture both unstaged and staged work. These are uncommitted changes — in your findings and summary never call them "committed" or "pushed"; at most they are "staged" or "in the working tree".
    • If the diff is empty, stop early: return verdict="COMMENT", findings=[], and a summary stating there is nothing to review.
  2. Read every hunk. Do not skim. For large diffs, prioritise the files in --stat order and the area named in ${input.focus} if given.
  3. Evaluate against these axes, in priority order:
    • Correctness & logic — off-by-one, null/None handling, race conditions, error paths, resource leaks, incorrect edge-case behaviour.
    • Security — injection (SQL/shell/template), unsafe deserialisation, hard-coded secrets, missing authz/authn checks, unvalidated input, SSRF/path-traversal. Flag anything that touches credentials or eval-like execution. Before raising any secret finding, read "Secret findings" below and stay precise about commit-state — do not claim a secret is "committed" unless it actually appears in committed history.
    • Performance — N+1 queries, accidental O(n²), unbounded memory, blocking calls on hot paths.
    • Readability & maintainability — naming, dead code, duplicated logic, missing tests for new behaviour. Match the surrounding file's style.
  4. Anchor every finding to a file and line from the diff. Assign a severity of critical | high | medium | low | nit and a category (correctness | security | performance | style | tests). Give a concrete suggestion, not just a complaint.
  5. Decide the verdict:
    • Any critical or high finding → REQUEST_CHANGES.
    • Only medium/low/nitCOMMENT.
    • No substantive findings → APPROVE.

Read the full file on GitHub · 129 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. 3d ago First seen · 129 lines · 39 tokens per session scan A 1b91a3d49068

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository XAIHT/Tlamatini (16 stars, last pushed 4d ago), licensed MIT. It adds 39 tokens to every session and 1,641 once invoked, about $0.0002 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-30.