crit-cli

crit-cli is a skill for Claude Code from tomasz-tomczyk/crit. It costs 110 tokens per session (2,894 once invoked), scanned A, original, MIT.

A command-line tool for writing, reading, sharing, and synchronising inline code-review comments. Comments can apply to a line, a whole file, or the review overall.

In plain words
What is it for?
Adding or interpreting review comments, publishing reviews, and syncing reviews with GitHub pull requests or GitLab merge requests.
Why use it?
It keeps review feedback in a structured format that agents and people can update, resolve, and transfer to GitHub or GitLab.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: names the ExitPlanMode tool.

Good fit Adding or interpreting review comments, publishing reviews, and syncing reviews with GitHub pull requests or GitLab merge requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tomasz-tomczyk/crit/crit-cli
About the project

Crit is a local review tool for examining agent-generated plans, code changes, web applications, and static HTML. Developers use it to point to specific problems and send feedback back to their coding agent, with a different review interface for each type of output.

tomasz-tomczyk/crit · 1,377 stars · on GitHub · crit.md

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.

Any agent
npx skills add tomasz-tomczyk/crit --skill crit-cli
Clone the repo
git clone --depth 1 https://github.com/tomasz-tomczyk/crit

Made for: Claude Code.

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 crit-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/tomasz-tomczyk/crit/crit-cli/github.svg)](https://agentmods.dev/skills/tomasz-tomczyk/crit/crit-cli)
Your own site
<a href="https://agentmods.dev/skills/tomasz-tomczyk/crit/crit-cli"><img src="https://agentmods.dev/badge/skills/tomasz-tomczyk/crit/crit-cli/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.

agentmods 80×15 button for crit-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomasz-tomczyk/crit/crit-cli"><img src="https://agentmods.dev/badge/skills/tomasz-tomczyk/crit/crit-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,894 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00110 $0.02894
Opus 5.5 $0.00044 $0.01158
Sonnet 5.5 $0.00022 $0.00579
Haiku 4.5 $0.00011 $0.00289

Measured 8d ago against content hash 609ad787b1d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

crit-cli 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 8d 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.

integrations/ampcode/skills/crit-cli/SKILL.md · 218 lines

How it starts

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

Crit CLI Reference

If a plan was just written and the user said "crit" or "review", use the crit skill instead — it covers the full review loop. This skill covers CLI operations like crit comment, crit pull/push, and crit share.

Comments have three scopes:

  • Line comments (scope: "line") — tied to specific lines, stored in files.<path>.comments
  • File comments (scope: "file") — about a file overall, stored in files.<path>.comments with start_line: 0
  • Review comments (scope: "review") — general feedback, stored in the top-level review_comments array

The review file path is shown by crit status.

Reading comments

When crit completes a review round, read stdout and follow its instructions. Unresolved comments are often embedded in that prompt as JSON. Check stderr for approved: true or approved: false.

When you need to read comments separately:

crit comments            # human-readable, unresolved only (default)
crit comments --json     # flat JSON for agents
crit comments --all      # include resolved comments
crit comments --plan <slug>   # plan reviews
crit comments [path]     # explicit review.json or .crit directory

Review-level comments are listed first — easy to miss in raw review.json. Uses the same review resolution as crit comment (--output, --plan, daemon session).

Multiple active sessions

When more than one review session matches the current directory and branch, headless commands (crit comment, crit comments, crit share, crit push, crit pull) refuse to guess. Run crit status (or crit status --json) to list every active session, then target the intended review with --session <id>:

crit comment --session <id> --author <name> <path>:<line> <body>
crit comment --session <id> --json --file comments.json --author <name>
crit comments --session <id>
crit share --session <id> <file>
crit push --session <id>
crit pull --session <id>

The JSON status output exposes the candidates in sessions.

Read the full file on GitHub · 218 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. 8d ago Changed · +2 lines 609ad787b1d0
  2. 28d ago Changed · +2 lines bc18681bcfcc
  3. 1mo ago Changed · +5 lines 283fb038bbba
  4. 2mo ago Changed · +2 lines 5b9af6e1aa64
  5. 2mo ago Changed · +3 lines 1abcf52993b6
  6. 3mo ago First seen · 204 lines · 110 tokens per session scan A 04c92c859a60

Subscribe to this mod's changes

crit-cli is a skill published in the GitHub repository tomasz-tomczyk/crit (1,377 stars, last pushed today), licensed MIT. It adds 110 tokens to every session and 2,894 once invoked, about $0.0004 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-30.

Related

crit-cli compared with skills from other repositories

crit-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crit-clitomasz-tomczyk/critSkill1.4ktodayMITA110Claude Code
llmwikiatomicstrata/llm-wiki-compilerSkill2.3ktodayMITA66Claude Code, Codex
crossreviewcoddy-project/coddy-agentSkill216todayMITA204Codex
demoalivecontext/aliveSkill13214d agoMITA50Claude Code
system-upgradealivecontext/aliveSkill13214d agoMITA55Claude Code
system-cleanupalivecontext/aliveSkill13214d agoMITA50Claude Code
create-walnutalivecontext/aliveSkill13214d agoMITA62Claude Code