crit-cli
Skill by tomasz-tomczyk
Explains how an agent can write, reply to and resolve crit inline comments, and share or unpublish a crit review. It also covers syncing reviews with GitHub PRs and GitLab MRs.
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/ampcode/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/ampcode/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
This skill is a CLI reference for crit, a tool for reviewing plans, code and documents with inline comments. It covers commands such as crit comment, crit share, crit unpublish, crit pull and crit push. It explains the review JSON file format, including line, file and review-level comments, and how resolved and drifted comments are marked.
An agent uses these commands to read unresolved comments, author or reply to comments with a required author name, and run bulk comment updates from a JSON file. It can publish a review with crit share and relay the URL. It can also sync comments with a GitHub PR or GitLab MR using the gh CLI. The skill is aimed at agents and multi-agent workflows that work with crit reviews. It is not for running the 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, or replies to existing comments.
- crit commentsLists unresolved comments in human-readable or flat JSON form, optionally including resolved ones.
- crit shareUploads review files and prints a URL, with optional QR code, organization and visibility settings.
- 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 optional review event type.
- Bulk commentingAdds several comments in one atomic call using JSON from stdin or a file.
What you need
- crit CLI
- gh CLI, installed and authenticated, for PR and MR sync
Try asking
- Reply to the unresolved comments in my crit review and note the fixes.
- Share this crit review file and give me the URL.
- Pull the review comments from my open GitHub PR into crit.
Good to know
- Comments must be single-quoted and attributed with --author in the CLI examples.
- Live reviews and HTML previews do not accept file and line references, so DOM selectors are needed.
- Headless commands refuse to choose when several sessions match, so --session is required.
- Resolve only when the user explicitly asks.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: integrations/ampcode/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
How does an agent add crit comments without the interactive review loop?
It uses crit comment or crit comment --json with an author name, a file and line or a review scope. The source says the interactive review loop is covered by the separate crit skill.
Can crit reviews be synced with GitHub or GitLab?
Yes. crit pull and crit push sync comments with a GitHub PR or GitLab MR, and the source says this requires the gh CLI to be installed and authenticated.
How are resolved comments identified in the review file?
Only resolved set to true counts as resolved. A missing resolved field means the comment is unresolved.
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 75 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.
