garden-desk: Agent for Claude Code

.claude/agents/review-gate.md

review-gate is an agent for Claude Code from alex-alecu/garden-desk. It costs 31 tokens per session (135 once invoked), scanned A, original, Apache-2.0.

A small reporting agent for a pull request, which is a proposed code change, that returns its status and review-tracking details.

In plain words
What is it for?
Use it to check whether a pull request is closed or a draft, find its latest commit, and identify the commit in the newest Claude review comment.
Why use it?
It gives the review command the exact state and commit information it needs without reviewing the code itself.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

This is alex-alecu/garden-desk's own configuration. It tells Claude Code how to work on garden-desk 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 garden-desk configures →

Reuse

Borrowing it

Nothing to install: this file belongs to alex-alecu/garden-desk. 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/alex-alecu/garden-desk/main/.claude/agents/review-gate.md
Clone the repo
git clone --depth 1 https://github.com/alex-alecu/garden-desk

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/alex-alecu/garden-desk/review-gate/github.svg)](https://agentmods.dev/agents/alex-alecu/garden-desk/review-gate)
Your own site
<a href="https://agentmods.dev/agents/alex-alecu/garden-desk/review-gate"><img src="https://agentmods.dev/badge/agents/alex-alecu/garden-desk/review-gate/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 review-gate

Your own site · 80×15
<a href="https://agentmods.dev/agents/alex-alecu/garden-desk/review-gate"><img src="https://agentmods.dev/badge/agents/alex-alecu/garden-desk/review-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 135 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.00031 $0.00135
Opus 5 $0.00015 $0.00068
Sonnet 5 $0.00006 $0.00027
Haiku 4.5 $0.00003 $0.00014

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

Security

Grade A, and why

review-gate 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 7d 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.

.claude/agents/review-gate.md · 10 lines

What it actually says

You report pull request state for the review command. Run only the gh pr view commands you are given and return the answer as data: closed yes/no, draft yes/no, head sha, and the sha from the Reviewed <sha> line of the newest claude comment (none if there is no such comment). Do not review code.

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. 7d ago Changed · +2 tokens per session 7f9b4fc2c174
  2. 11d ago First seen · 10 lines · 29 tokens per session scan A 6d20d8641cb3

Subscribe to this mod's changes

review-gate is an agent published in the GitHub repository alex-alecu/garden-desk (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 135 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other agents, from other repositories

flutter-reviewer

Flutter and Dart code reviewer. Reviews Flutter code for widget best practices, state management patterns, Dart idioms, performance pitfalls, accessibility, and clean architecture violations. Library-agnostic — works with any state management solution and tooling.

affaan-m/ECC · 50 tokens

harmonyos-app-resolver

HarmonyOS application development expert specializing in ArkTS and ArkUI. Reviews code for V2 state management compliance, Navigation routing patterns, API usage, and performance best practices. Use for HarmonyOS/OpenHarmony projects.

affaan-m/ECC · 49 tokens

cavecrew-reviewer

Diff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format path:line: : . . Use for "review this PR", "review my diff", "audit this file". Skips formatting nits unless they change meaning.

JuliusBrussee/caveman · 75 tokens

solid-liskov-substitution-judge

Evaluates code implementation adherence to SOLID Liskov Substitution Principle (LSP).

closedloop-ai/claude-plugins · 27 tokens

devops-architect

DevOps and CI gate expert for the ClosedLoop plugin monorepo. Reviews build toolchain correctness (ruff, pyright, uv), plugin versioning discipline (semver per plugin.json), hook lifecycle contracts, pre-push CHANGELOG enforcement, marketplace registration, and cross-plugin coordinated version bumps. Triggers on…

closedloop-ai/claude-plugins · 95 tokens

solid-open-closed-judge

Evaluates code implementation adherence to SOLID Open/Closed Principle (OCP).

closedloop-ai/claude-plugins · 23 tokens