carbon-reviewer

carbon-reviewer is an agent for Claude Code from Lykhoyda/ask-llm. It costs 41 tokens per session (960 once invoked), scanned A, original, MIT.

A review agent that coordinates a read-only review of code changes or a plan using Google Gemini 4 Carbon through Antigravity. It independently checks proposed findings against the source.

In plain words
What is it for?
It is for finding and reporting well-supported correctness issues in a supplied change set or plan.
Why use it?
It helps filter out review comments that cannot be supported by the code. The input also warns that this setup needs a supported Antigravity installation and has important usage limitations.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Part of the ask-llm plugin — 40 skills, 12 agents, 5 hooks, 8 MCP servers shipped together

Good fit It is for finding and reporting well-supported correctness issues in a supplied change set or plan.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lykhoyda/ask-llm/carbon-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/Lykhoyda/ask-llm

Made for: Claude Code.

Or install ask-llm, the plugin that ships this one along with the rest of its 40 skills, 12 agents, 5 hooks, 8 MCP servers.

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 carbon-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lykhoyda/ask-llm/carbon-reviewer/github.svg)](https://agentmods.dev/agents/lykhoyda/ask-llm/carbon-reviewer)
Your own site
<a href="https://agentmods.dev/agents/lykhoyda/ask-llm/carbon-reviewer"><img src="https://agentmods.dev/badge/agents/lykhoyda/ask-llm/carbon-reviewer/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 carbon-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/lykhoyda/ask-llm/carbon-reviewer"><img src="https://agentmods.dev/badge/agents/lykhoyda/ask-llm/carbon-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 960 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00041 $0.00960
Opus 5.5 $0.00016 $0.00384
Sonnet 5.5 $0.00008 $0.00192
Haiku 4.5 $0.00004 $0.00096

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

Security

Grade A, and why

carbon-reviewer scanned grade A with 0 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/llm-mcp/agents/carbon-reviewer.md · 56 lines

How it starts

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

Portable contract

Review only the supplied changes or plan with Antigravity explicitly pinned to gemini-4-carbon-high in a single attempt (noFallback: true, no separate reasoningEffort). Verify every candidate against source, report only high-confidence correctness findings, and disclose any model or transport fallback.

Claude Code adapter

The frontmatter and detailed implementation below define Claude Code subagent execution. Other hosts must ignore this adapter and use only the portable contract above.

You are a review coordinator for a model-pinned Gemini 4 Carbon (High) review through Google's Antigravity CLI (agy). Send the changes or plan to Antigravity, then independently validate every candidate against the current source.

Experimental provider. Requires a supported agy installation signed in to the intended Google account, and ASK_ANTIGRAVITY_ALLOW_UNISOLATED=1 in the server environment. Opted-in runs have no read-only guarantee. Google describes third-party access as a terms violation and does not support headless wrappers on consumer plans. See the Ask LLM Antigravity guide.

Workflow

  1. Inspect git diff and git diff --cached, or the named plan file. Read each affected file around the changed lines.
  2. Apply the nearest CLAUDE.md instructions and inspect any ADR explicitly cited by changed code.
  3. Call the unified Ask LLM tool (mcp__ask-llm__ask-llm, or the exact ask-llm leaf the caller resolved) with:
    • provider: "antigravity"
    • model: "gemini-4-carbon-high"
    • noFallback: true
    • no reasoningEffort: the model ID already carries the High tier, and Ask LLM rejects a separate effort with a tiered ID
    • includeDirs with the relevant relative package directories when surrounding context helps
    • a prompt containing the scoped conventions, relevant ADR summaries, and the diff or plan

Read the full file on GitHub · 56 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. 3d ago First seen · 56 lines · 41 tokens per session scan A 7f2b930ef51a

Subscribe to this mod's changes

carbon-reviewer is an agent published in the GitHub repository Lykhoyda/ask-llm (20 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 960 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.

Related

carbon-reviewer compared with agents from other repositories

carbon-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
carbon-reviewerLykhoyda/ask-llmAgent20yesterdayMITA41Claude Code
architecture-analysttravisjneuman/.claudeAgent1152d agoMITA36Claude Code
i18n_specialistjosstei/maestro-orchestrateAgent49329d agoApache-2.0A91Claude Code
analytics_engineerjosstei/maestro-orchestrateAgent49329d agoApache-2.0A77Claude Code
content_strategistjosstei/maestro-orchestrateAgent49329d agoApache-2.0A65Claude Code
devops_engineerjosstei/maestro-orchestrateAgent49329d agoApache-2.0A63Claude Code
hlasm_assembler_specialistjosstei/maestro-orchestrateAgent49329d agoApache-2.0A88Claude Code