cli-review
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.
npx skills add alvinunreal/lazyskills --skill cli-review --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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: ```bash 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: ```bash command -v greptile ``` If it is missing, do not install it automatically. Ask the user for permission, then show the recommended install command: ```bash npm i -g greptile ``` If npm is unavailable, offer the shell installer fallback: ```bash curl -fsSL "https://greptile.com/cli/install" | sh ``` After installation, re-run `command -v greptile`. ### 3. Ensure authentication Check the signed-in account: ```bash greptile whoami ``` If the CLI reports that authentication is missing, run: ```bash greptile login ``` Wait for the user to complete the login flow before continuing. ### 4. Run the review Prefer JSON output: ```bash greptile review --json ``` If JSON output is unsupported or fails with a usage error, fall back to: ```bash greptile review --agent ``` Do not hide the raw command fail
- Instructions
- 1. Confirm repository context
- 2. Check for the Greptile CLI
- 3. Ensure authentication
- 4. Run the review
- 5. Summarize results
git rev-parse --show-toplevel command -v greptile npm i -g greptile curl -fsSL "https://greptile.com/cli/install" | sh greptile whoami greptile login greptile review --json greptile review --agent
What does the cli-review skill do?
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.
How do I install it?
Run `npx skills add alvinunreal/lazyskills --skill cli-review --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From alvinunreal/lazyskills, a repository with 228 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.