tmuxai: Skill for Claude Code

.agents/skills/cli-review/SKILL.md

cli-review is a skill for Claude Code from alvinunreal/tmuxai. It costs 61 tokens per session (524 once invoked), scanned C, a copy of cli-review, Apache-2.0.

A command-line workflow for requesting Greptile feedback on the current local Git branch and summarizing the results. Git is a tool for tracking code changes, and a branch is a separate line of development.

In plain words
What is it for?
Use it to check the repository, verify the Greptile command-line tool and login, run a local review, and summarize its findings.
Why use it?
It helps find issues before opening a pull request, which is a request for teammates to review and merge code.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is alvinunreal/tmuxai's own configuration. It tells Claude Code how to work on tmuxai itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tmuxai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to alvinunreal/tmuxai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/alvinunreal/tmuxai/main/.agents/skills/cli-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/alvinunreal/tmuxai

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/alvinunreal/tmuxai/cli-review/github.svg)](https://agentmods.dev/skills/alvinunreal/tmuxai/cli-review)
Your own site
<a href="https://agentmods.dev/skills/alvinunreal/tmuxai/cli-review"><img src="https://agentmods.dev/badge/skills/alvinunreal/tmuxai/cli-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/alvinunreal/tmuxai/cli-review"><img src="https://agentmods.dev/badge/skills/alvinunreal/tmuxai/cli-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 524 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.00524
Opus 5 $0.00030 $0.00262
Sonnet 5 $0.00012 $0.00105
Haiku 4.5 $0.00006 $0.00052

Measured 10d ago against content hash 56a93ea9d5da, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

cli-review scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL "https://greptile.com/cli/install" | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(git:*) Bash(greptile:*) Bash(command:*) Bash(curl:*) Bash(npm:*)
Origin

This is a copy

100% identical to cli-review — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/cli-review/SKILL.md · 95 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 95 lines · 61 tokens per session scan C 56a93ea9d5da

Subscribe to this mod's changes

cli-review is a skill published in the GitHub repository alvinunreal/tmuxai (1,945 stars, last pushed yesterday), licensed Apache-2.0. It adds 61 tokens to every session and 524 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). It is 100% identical to cli-review, differing in 0 lines, and is treated as a copy.