cubic-review

cubic-review is a skill for Claude Code from pleaseai/claude-code-plugins. It costs 106 tokens per session (645 once invoked), scanned B, original, MIT.

An AI code-review command-line tool for examining local changes. It looks for bugs, security vulnerabilities, quality problems, and style issues in diffs, branches, or commits.

In plain words
What is it for?
Use it to review uncommitted changes, compare work with a branch, inspect a specific commit, or request a review focused on a particular concern.
Why use it?
It gives developers an automated check before committing or opening a pull request. It focuses the review on changed code rather than requiring a manual inspection of the whole project.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the cubic plugin — 1 skill, 1 command shipped together

Good fit Use it to review uncommitted changes, compare work with a branch, inspect a specific commit, or request a review focused on a particular concern.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pleaseai/claude-code-plugins/cubic-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pleaseai/claude-code-plugins --skill cubic-review
Clone the repo
git clone --depth 1 https://github.com/pleaseai/claude-code-plugins

Made for: Claude Code.

Or install cubic, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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 cubic-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/cubic-review/github.svg)](https://agentmods.dev/skills/pleaseai/claude-code-plugins/cubic-review)
Your own site
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/cubic-review"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/cubic-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 cubic-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/cubic-review"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/cubic-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 645 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00106 $0.00645
Opus 5.5 $0.00042 $0.00258
Sonnet 5.5 $0.00021 $0.00129
Haiku 4.5 $0.00011 $0.00064

Measured 3mo ago against content hash bc5e303cebda, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cubic-review scanned grade B 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 3mo 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 codemediumSupply chain

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

- `curl -fsSL https://cubic.dev/install | bash`

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

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

- `curl -fsSL https://cubic.dev/install | bash`
plugins/cubic/skills/cubic-review/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cubic CLI - AI Code Review

Detect bugs, security issues, and code quality problems in local changes by running cubic review via Bash.

When to Use

  • User asks to review code changes, diffs, or branches
  • Pre-commit quality checks or bug detection
  • Security vulnerability scanning on changed files
  • Code style and best practice validation
  • Comparing branch changes before creating a PR

Prerequisites

Cubic CLI must be installed. If cubic is not found in PATH, inform the user with installation options:

  • curl -fsSL https://cubic.dev/install | bash
  • npm install -g @cubic-dev-ai/cli

Do not run the installation command automatically. Let the user decide.

If cubic returns an authentication error, inform the user to run cubic login or complete browser-based authentication.

CLI Quick Reference

Always pass --json for structured output. Key modes:

  • cubic review --json -- review uncommitted changes (default)
  • cubic review --base main --json -- compare against a branch (PR-style)
  • cubic review --commit HEAD~1 --json -- review a specific commit
  • cubic review --prompt "focus area" --json -- custom review focus

Constraint: --base, --commit, and --prompt are mutually exclusive.

JSON Output Format

{
  "issues": [
    {
      "priority": "P0",
      "file": "src/api/auth.ts",
      "line": 45,
      "title": "SQL injection vulnerability in user lookup",
      "description": "User input is concatenated directly into SQL query without parameterization."
    }
  ]
}

Priority levels: P0 (critical) > P1 (high) > P2 (medium) > P3 (low).

Workflow

  1. Run cubic review --json (or with --base/--commit as appropriate)
  2. Parse the JSON output to identify issues
  3. Sort issues by priority (P0 first)
  4. For each issue, read the referenced file and line
  5. Present proposed fixes to the user for approval before applying
  6. Apply approved fixes using Edit tool
  7. Re-run cubic review --json to verify fixes

Read the full file on GitHub · 69 lines

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. 3mo ago First seen · 69 lines · 106 tokens per session scan B bc5e303cebda

Subscribe to this mod's changes

cubic-review is a skill published in the GitHub repository pleaseai/claude-code-plugins (17 stars, last pushed yesterday), licensed MIT. It adds 106 tokens to every session and 645 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cubic-review compared with skills from other repositories

cubic-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cubic-reviewpleaseai/claude-code-pluginsSkill17yesterdayMITB106Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill6.2ktodayMITA18Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5k2d agoMITA65Claude Code
revdiff-planumputun/revdiffSkill9742d agoMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex