crit-cli

crit-cli is a skill for Claude Code from tomasz-tomczyk/crit. It costs 110 tokens per session (2,640 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,220 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,640 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.02640
Opus 5.5 $0.00044 $0.01056
Sonnet 5.5 $0.00022 $0.00528
Haiku 4.5 $0.00011 $0.00264

Measured 12d ago against content hash 283fb038bbba, 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 12d 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 · 214 lines

How it starts

The opening of the file, as written. The whole thing — 214 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 · 214 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. 12d ago Changed · +5 lines 283fb038bbba
  2. 15d ago Changed · +2 lines 5b9af6e1aa64
  3. 1mo ago Changed · +3 lines 1abcf52993b6
  4. 1mo 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,220 stars, last pushed yesterday), licensed MIT. It adds 110 tokens to every session and 2,640 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

Other skills, from other repositories

hypotheses

Turns a research direction into testable hypotheses with predictions, competing explanations and the experiments that discriminate between them, including the design (controls, randomization, blocking), sample size or seed count, the pre-specified analysis, and the result that would falsify each hypothesis. Use when a…

synthetic-sciences/openscience · 99 tokens

llmwiki

Build and use a persistent, citation-traceable knowledge wiki from documents, research papers, notes, or project documentation. Use for llmwiki projects, retrieving reusable evidence for an agent task, or compiling a corpus for repeated questions. A one-off file read or live web search does not need a wiki.

atomicstrata/llm-wiki-compiler · 66 tokens

crossreview

Run when the user invokes /crossreview (or /crossreview:setup to choose the reviewers) or asks for a cross-review, a quorum review or a second opinion from other agents or models: fan a code review (uncommitted work, a branch, a commit range, files, a plan or a document) out to several console code agents (Claude…

coddy-project/coddy-agent · 204 tokens

alive:demo

Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset. Routes the create/list/activate/deactivate/delete/status surface and orchestrates the 5-stage subagent generation pipeline.

alivecontext/alive · 52 tokens

alive:system-upgrade

Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.

alivecontext/alive · 57 tokens

alive:system-cleanup

The world feels messy. Stale tasks, orphan folders, v2 remnants, unsaved sessions — entropy is accumulating and needs to be addressed before it compounds. Scans across all walnuts, then surfaces issues one at a time.

alivecontext/alive · 52 tokens