crit-cli
Skill by tomasz-tomczyk
Teaches an AI agent to use the crit CLI for inline review comments, shared review links, and GitHub PR sync. Built for agents that comment on code, plans, or docs, or that read crit review JSON files.
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/github-copilot/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/github-copilot/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
Crit CLI Reference is a skill that explains how an AI agent can use the crit command line tool for inline review comments. It covers writing and replying to review, file, and line comments with crit comment, including bulk entries sent as JSON. It also covers reading unresolved comments with crit comments, and publishing or unpublishing a review with crit share and crit unpublish.
The skill also explains the review file format, the resolution workflow, and syncing with a GitHub pull request using crit pull and crit push. When several sessions match the current directory and branch, commands need a --session id. The skill is aimed at agents working on shared code, plans, or documents. It does not run the interactive review loop, which the separate crit skill handles.
Written from the project's SKILL.md and checked against it.
What it can do
- crit commentWrites review-level, file-level, or line comments, and replies to existing comments.
- Bulk commenting with --jsonCreates several comments in one write from a JSON payload on stdin or from a file.
- crit commentsLists unresolved comments in readable text or flat JSON, with an option to include resolved ones.
- crit shareUploads review files and prints a URL, with optional QR code, org, and visibility settings.
- crit unpublishRemoves a shared review from the Crit deployment it was published to.
- crit pull and crit pushFetches GitHub PR review comments and posts review comments back as a PR review.
- Multi-session targetingUses --session with crit status to pick the intended review when several are active.
- Plan-mode commentsComments on plan reviews stored under the plan slug using the --plan option.
What you need
- The crit CLI installed
- gh CLI installed and authenticated, for GitHub PR sync
Try asking
- Reply to the unresolved comments in my crit review and note what changed
- Leave inline crit comments on src/auth.go for the null check issues
- Share my crit review and give me the URL
Good to know
- Live reviews and HTML preview do not accept file:line; they need --selector.
- The --qr option only works in terminals that render Unicode block characters.
- GitHub PR sync requires the gh CLI to be installed and authenticated.
- Headless commands refuse to guess when more than one session matches; --session is required then.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: integrations/github-copilot/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
Does this skill start an interactive review loop?
No. The source says it is not for invoking an interactive review loop, which is handled by the separate crit skill.
Should an 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 an agent know a comment is unresolved?
The source says resolved is false or missing for unresolved comments, and only true means resolved.
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 77 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.
