crit-cli
Skill by tomasz-tomczyk
Explains how to use the crit CLI to write and reply to inline review comments, share reviews, and sync them with GitHub PRs or GitLab MRs. Written for AI agents that run crit commands.
Install crit-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tomasz-tomczyk/crit /tmp/crit && mkdir -p ~/.claude/skills && cp -r /tmp/crit/integrations/codex/skills/crit-cli ~/.claude/skills/crit-cliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tomasz-tomczyk/crit /tmp/crit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/crit/integrations/codex/skills/crit-cli ~/.gemini/antigravity-cli/skills/crit-cliAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The crit-cli skill is a reference for the crit command line tool. It covers writing and replying to inline comments with crit comment, reading them with crit comments, and publishing or removing a shared review with crit share and crit unpublish. It also covers syncing reviews with GitHub PRs and GitLab MRs through crit pull and crit push, and explains the review JSON file format.
The skill is written for AI agents, including multi-agent workflows where several agents comment on shared code, plans, docs or proposals. It tells the agent to always pass an author name, to single-quote comment bodies, and to resolve comments only when the user asks. It does not start an interactive review loop, which the source says belongs to the separate crit skill.
Written from the project's SKILL.md and checked against it.
What it can do
- crit commentAdds review-level, file-level, line, or DOM pinned comments, and replies to existing ones.
- crit commentsLists review comments, unresolved by default, in human-readable or JSON form.
- crit shareUploads review files and prints a URL, with optional QR code and organization sharing.
- crit unpublishRemoves a shared review using the delete token stored in the review file.
- crit pullFetches PR or MR review comments into the local review file.
- crit pushPosts review comments to a GitHub PR or GitLab MR, with approve or request-changes events.
- Bulk commentingAdds three or more comments in one atomic write using a JSON file or stdin.
- Review file formatDescribes the review JSON structure, including scopes, anchors, replies and resolved fields.
What you need
- gh CLI installed and authenticated, for GitHub PR integration
Try asking
- Reply to the unresolved comments in my review with fixes applied
- Share this review file and give me the URL
- Push my review comments to the open GitHub PR
Good to know
- The --qr option works only in a terminal
- PR and MR sync requires the gh CLI installed and authenticated
- Headless commands refuse to guess when several review sessions match, so --session is needed
- Live reviews and HTML previews take --selector instead of file and line
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: integrations/codex/skills/crit-cli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to crit-cli
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
crit-cli: common questions
What is the difference between crit-cli and the crit skill?
The source says crit-cli covers CLI operations such as crit comment, crit pull/push and crit share. The crit skill covers the full interactive review loop.
Can the agent resolve comments on its own?
No. The source says to pass --resolve only when the user explicitly asks, and never to resolve proactively.
How does the agent find the right review when several are open?
It can run crit status to list active sessions, then pass --session with the chosen session ID.
How do I install crit-cli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is crit-cli free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is crit-cli safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to crit-cli?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
