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.
80
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Run a Greptile review from the local checkout and summarize the findings.
Start from the current repository root:
git rev-parse --show-toplevelIf the command fails, tell the user that the Greptile CLI review must be run from a git repository.
Check whether greptile is installed:
command -v greptileIf it is missing, do not install it automatically. Ask the user for permission, then show the recommended install command:
npm i -g greptileIf npm is unavailable, offer the shell installer fallback:
curl -fsSL "https://greptile.com/cli/install" | shAfter installation, re-run command -v greptile.
Check the signed-in account:
greptile whoamiIf the CLI reports that authentication is missing, run:
greptile loginWait for the user to complete the login flow before continuing.
Prefer JSON output:
greptile review --jsonIf JSON output is unsupported or fails with a usage error, fall back to:
greptile review --agentDo not hide the raw command failure if both commands fail. Summarize the failing command and the next action the user needs to take.
Parse JSON output when available and report:
When output is plain text, preserve the same structure as much as possible. Keep the summary concise and focused on actionable findings.
1c0e1f4
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.