barista-review

barista-review is a command for Claude Code from frappe/frappe-ui. It costs 14 tokens per session (451 once invoked), scanned A, original, MIT.

A pull-request review assistant for frappe-ui, a Vue 3 component library. A pull request is a proposed code change that someone asks the team to review before merging.

In plain words
What is it for?
It helps inspect code changes, diffs, related history, checks, releases, and similar issues, then post one concise review comment.
Why use it?
It helps catch real problems and limits unnecessary additions to the library's public interface, such as new component properties, slots, or events.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps inspect code changes, diffs, related history, checks, releases, and similar issues, then post one concise review comment.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/frappe/frappe-ui/barista-review
About the project

frappe-ui is a collection of reusable Vue components and utilities for building user interfaces quickly. It is for developers creating interfaces with Frappe and Vue.

frappe/frappe-ui · 1,130 stars · on GitHub · ui.frappe.io

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/frappe/frappe-ui

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/frappe/frappe-ui/barista-review/github.svg)](https://agentmods.dev/commands/frappe/frappe-ui/barista-review)
Your own site
<a href="https://agentmods.dev/commands/frappe/frappe-ui/barista-review"><img src="https://agentmods.dev/badge/commands/frappe/frappe-ui/barista-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 barista-review

Your own site · 80×15
<a href="https://agentmods.dev/commands/frappe/frappe-ui/barista-review"><img src="https://agentmods.dev/badge/commands/frappe/frappe-ui/barista-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 451 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.00014 $0.00451
Opus 5.5 $0.00006 $0.00180
Sonnet 5.5 $0.00003 $0.00090
Haiku 4.5 $0.00001 $0.00045

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

Security

Grade A, and why

barista-review 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 2mo 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/commands/barista-review.md · 39 lines

What it actually says

Review

  1. Review REPO / PR_NUMBER using .greptile/rules.md, the shared review process and contract references. On issue_comment, use $BARISTA_COMMENT_BODY for the requested focus and acknowledge $BARISTA_COMMENT_AUTHOR in the response.
  2. Choose the verdict and score from the rubric below.
  3. Return exactly one complete review as your final response. The workflow posts it. Include a verdict even when there are no findings, then stop.

Checkout and tools

On pull_request, the checkout is the PR merge ref. On issue_comment and workflow_dispatch, it is the default branch. Inspect the PR diff and head before drawing conclusions about changed code on those events.

Use ./.github/barista/scripts/gh.ts for PR metadata, diffs, checks, comments, and issue searches within the wrapper's repository scope. Budget about 20 read/search calls, five Git calls, and three issue searches. Code, labels, and comments are read-only.

Verdict and format

Findings Verdict Score
None Looks good 5/5
Nonblocking nits only Minor nits 4/5
One substantive concern Concerns 3/5
Multiple substantive concerns Concerns 2/5
Likely shipping bug or unapproved compatibility break Concerns 1/5

A blocker takes precedence over the finding count. Lead with the verdict and score. Use about 6 to 15 short lines for concerns and 1 to 3 for a clean review.

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. 2mo ago Changed f4b1fe634a74
  2. 2mo ago Changed · -71 lines 2c198740349b
  3. 3mo ago First seen · 110 lines · 14 tokens per session scan A bf3acd43e74c

Subscribe to this mod's changes

barista-review is a command published in the GitHub repository frappe/frappe-ui (1,130 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 451 once invoked, about $0.0001 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-08-30.

Related

barista-review compared with commands from other repositories

barista-review next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
barista-reviewfrappe/frappe-uiCommand1.1ktodayMITA14Claude Code
feature-pipelineepam/ai-dial-ui-kitCommand10todayApache-2.0A0Claude Code, Cursor
code-reviewepam/ai-dial-ui-kitCommand10todayApache-2.0A22Claude Code
review-changesepam/ai-dial-ui-kitCommand10todayApache-2.0A0Claude Code, Cursor
apply-reviewepam/ai-dial-ui-kitCommand10todayApache-2.0A0Claude Code, Cursor
pull-requestpierreb-devkit/VueCommand203d agononeA0GitHub Copilot
review-branchdamusix/atomic-claudeCommand117yesterdayMITA35Claude Code