cli-review
What it does
This skill runs a Greptile code review on the code in your local checkout and summarizes the results. It is for developers who want automated review feedback before opening a pull request.
When to use it
- ✓When you want feedback on your local branch before you open a pull request.
- ✓When you want a review run from a local checkout instead of a hosted pull request review.
- ✓When you need a short summary of the review findings instead of raw JSON output.
Skill link
https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/.agents/skills/cli-review/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Run a Greptile review on my current branch and tell me the main issues before I open the pull request.”
5 new skills a week. 1 minute to read.
How it works
The skill checks that the Greptile command line tool is installed and signed in, runs the review, and summarizes the findings. It asks your permission before installing anything.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
CLI Review
Run a Greptile review from the local checkout and summarize the findings.
Instructions
1. Confirm repository context
Start from the current repository root:
git rev-parse --show-toplevel
If the command fails, tell the user that the Greptile CLI review must be run from a git repository.
2. Check for the Greptile CLI
Check whether greptile is installed:
command -v greptile
If it is missing, do not install it automatically. Ask the user for permission, then show the recommended install command:
npm i -g greptile
If npm is unavailable, offer the shell installer fallback:
curl -fsSL "https://greptile.com/cli/install" | sh
After installation, re-run command -v greptile.
3. Ensure authentication
Check the signed-in account:
greptile whoami
If the CLI reports that authentication is missing, run:
greptile login
Wait for the user to complete the login flow before continuing.
4. Run the review
Prefer JSON output:
greptile review --json
If JSON output is unsupported or fails with a usage error, fall back to:
greptile review --agent
Do not hide the raw command failure if both commands fail. Summarize the failing command and the next action the user needs to take.
5. Summarize results
Parse JSON output when available and report:
- Review status
- Number of findings
- Highest severity findings first
- Files that need edits
- Suggested next command or fix path
When output is plain text, preserve the same structure as much as possible. Keep the summary concise and focused on actionable findings.
FAQ
Does it install tools without asking?
No. If the Greptile command line tool is missing, the skill asks permission first.
What if the review command fails?
The skill reports the failing command and the next step you need to take.
Does it need a Git repository?
Yes. The review must run from a Git repository, and the skill tells you if you are not in one.
Details
Original description by the author
Runs a Greptile CLI review for the current local branch, installing or authenticating the CLI when needed, then summarizes JSON findings for the user. Use when the user wants Greptile feedback before opening a PR, outside a hosted PR review flow, or directly from a local checkout.
Popularity
- GitHub stars
- 10k
- Ranking position
- #12009
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
ai-estimates
10kHelps your agent estimate how long work takes when a person works with AI, splitting fast AI work from human and outside delays.
clonedeps
10kLets your agent copy the source code of key project dependencies into a local folder, so it can read how those libraries work inside.
codemap
10kCreates a structured map of an unfamiliar code project, so your agent can find its main parts quickly. Best used when you ask for a codebase map.
deanchor
10kHelps your agent learn from examples without copying them, by finding the shared principle behind them and writing something new that follows it.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.