Skip to content
Agentmart
Submit a tool
This entry duplicates crit-cli, which is the one we list in search.

crit-cli

Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared…

Skill by tomasz-tomczyk

IndexedMIT★ 1,243
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tomasz-tomczyk-crit-cli-8ff654

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared code/plans/docs/proposals), publish or unpublish a crit review with crit share, sync a crit review to or from a GitHub PR or GitLab MR, or read/interpret a crit review JSON file. Covers crit comment, crit share, crit unpublish, crit pull, crit push, review file format, and resolution workflow. Not for invoking an interactive review loop — that's the `crit` skill.

Use cases: productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
crit-cli
Description
Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared code/plans/docs/proposals), publish or unpublish a crit review with crit share, sync a crit review to or from a GitHub PR or GitLab MR, or read/interpret a crit review JSON file. Covers crit comment, crit share, crit unpublish, crit pull, crit push, review file format, and resolution workflow. Not for invoking an interactive review loop — that's the `crit` skill.
License
MIT
Instructions
147 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Crit CLI reference

Use this skill for headless operations, not to start an interactive review.
Comments have three scopes: `line` and `file` comments live under
`files.<path>.comments`; `review` comments live in `review_comments`.
The review file path is shown by `crit status`.

## Read comments and select a session

```bash
crit comments
crit comments --json
crit comments --all
crit comments --plan <slug>
crit comments [path]
crit status --json
```

Default comment output includes unresolved review-level and file comments.
Missing `resolved` means unresolved; only `true` means resolved. Read replies
before acting. `quote` narrows the requested change, `anchor` locates content
after edits, and `drifted: true` means line numbers may be approximate.

When multiple sessions match, headless commands refuse to guess. Use the
`sessions` from `crit status --json` to select `--session <id>` for
`comment`, `comments`, `share`, `pull`, or `push`.

## Review JSON

```json
{
  "review_comments": [
    {
      "id": "r_a1b2c3",
      "scope": "review",
      "body": "Overall feedback",
      "resolved": false,
      "replies": []
    }
  ],
  "files": {
    "src/example.go": {
      "comments": [
        {
          "id": "c_d4e5f6",
          "scope": "line",
          "start_line": 5,
          "end_line": 10,
          "body": "Inline feedback",
          "quote": "selected text",
          "anchor": "Original source lines",
          "author": "Reviewer",
          "resolved": false,
          "replies": [
            {"id": "rp_a1b2c3", "body": "Updated", "author": "OMO"}
          ]
        }
      ]
    }
  }
}
```

File comments use `scope: "file"` and `start_line: 0`.

## Author and reply

```bash
crit comment --author 'OMO' '<review-level body>'
crit comment --author 'OMO' <path> '<file-level body>'
crit comment --author 'OMO' <path>:<line> '<body>'
crit comment --author 'OMO' <path>:<start>-<end> '<body>'
crit comment --reply-to <id> --author 'OMO' '<what changed>'
```

Always pass `--author 'OMO'`. Single-quote bodies to protect backticks and
shell metacharacters. Source lines are 1-indexed file-on-disk lines, not
diff line numbers. Reply bodies support markdown.

Only use `--resolve` when the user explicitly asks. The same restriction
applies to the `resolve` field in JSON.

Plan-mode reviews live under `~/.crit/plans/<slug>/`. Always use
`--plan <slug>` when replying; the slug is in the feedback prompt.

```bash
crit comment --plan <slug> --reply-to <id> --author 'OMO' '<what changed>'
```

If an ID occurs in multiple files, disambiguate with `--path <path>` or the
`file` field in a bulk entry.

## Bulk comments and replies

For three or more comments, write a JSON array using the file-edit tool:

```json
[
  {"scope": "review", "body": "Overall feedback"},
  {"path": "src/example.go", "scope": "file", "body": "File feedback"},
  {"file": "src/example.go", "line": "5-10", "body": "Inline feedback"},
  {"reply_to": "c_d4e5f6", "body": "Updated"}
]
```

```bash
crit comment --json --file /tmp/crit-comments.json --author 'OMO'
```

Bulk writes are atomic. `--file -` reads stdin. Each entry requires `body`.
`line` accepts an integer or range string; `end_line` is optional.
`file` and `path` are aliases. Per-entry `author` overrides `--author`.
Optional `quote` and `quote_offset` describe a selected substring.

Scope is inferred: `reply_to` means reply; no file/path or line means review;
path without a line means file; file/path plus line means line.

## Forge sync

From tomasz-tomczyk/crit, MIT.

More from tomasz-tomczyk/crit

Signals

Stars
1,243
Forks
105
Open issues
26
Last commit (this folder)
Oct 9, 2026 (19 days ago)
Last release
Oct 23, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
Website
crit.md
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from tomasz-tomczyk

Cite this page

crit-cli skill. Agent Mart. https://agentmart.dev/skills/tomasz-tomczyk-crit-cli-8ff654 (last updated 2026-10-24)