Skip to content
Skillpedia
General coding10k · #12009

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.md

Copy 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

Use this skill to help me: https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/.agents/skills/cli-review/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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.

repo: alvinunreal/oh-my-opencode-slim

Popularity

GitHub stars
10k
Ranking position
#12009
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills