Borrowing it
Nothing to install: this file belongs to emdgroup/maestro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/emdgroup/maestro/main/.claude/commands/pr.mdgit clone --depth 1 https://github.com/emdgroup/maestroWrote 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.
[](https://agentmods.dev/commands/emdgroup/maestro/pr)<a href="https://agentmods.dev/commands/emdgroup/maestro/pr"><img src="https://agentmods.dev/badge/commands/emdgroup/maestro/pr/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.
<a href="https://agentmods.dev/commands/emdgroup/maestro/pr"><img src="https://agentmods.dev/badge/commands/emdgroup/maestro/pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.01224 |
| Opus 5.5 | $0.00006 | $0.00490 |
| Sonnet 5.5 | $0.00003 | $0.00245 |
| Haiku 4.5 | $0.00002 | $0.00122 |
Grade A, and why
pr 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ship the current work as a pull request and stay with it until CI is green.
Target branch: $ARGUMENTS if given, otherwise the repo default branch
(gh repo view --json defaultBranchRef -q .defaultBranchRef.name).
1. Get the work onto a branch
git status --shortandgit log --oneline @{u}.. 2>/dev/null— figure out whether there is anything uncommitted, anything unpushed, or an existing PR (gh pr view --json number,url,headRefName).- If HEAD is the target branch, create a branch first — never push work straight to it.
Name it after what the change does (
fix-review-tab-diff, notpatch-1). - Commit only what belongs to this change. Read the diff before writing the message; a
message derived from filenames instead of the actual hunks is worse than no message.
Follow the repo's existing commit style (check
git log --oneline -15). - If everything is already committed and pushed and a PR exists, skip to step 3 — this command is also how you resume babysitting a PR.
2. Run CI locally before pushing
A failed CI run costs minutes of waiting; the same check locally costs seconds. Run the
checks that match what the change touched — frontend edits do not need a cargo clippy
run, and vice versa. Read .github/workflows/ci.yml for the authoritative list.
For this repo that is roughly:
| Touched | Run |
|---|---|
src/, config |
bun run lint · bun run format · bun run build · bun run test --run |
| Rust crates | cargo clippy --workspace --all-targets -- -D warnings · cargo test for the crate |
Fix what fails, then push (git push -u origin HEAD).
One trap worth knowing: any cargo test -p maestro --lib run rewrites
src/types/bindings.ts unformatted, so it will show up dirty afterwards. Run
bun run format:fix and check whether the exported names actually changed before
assuming the bindings were stale.
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.
- 9d ago First seen · 102 lines · 15 tokens per session scan A dbef4163af01
pr is a command published in the GitHub repository emdgroup/maestro (11 stars, last pushed 4d ago), licensed Apache-2.0. It adds 15 tokens to every session and 1,224 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-11-21.
pr compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| premdgroup/maestro | Command | 11 | 4d ago | Apache-2.0 | A | 15 | Claude Code |
| issue-to-mr-setupOpenHands/extensions | Command | 189 | today | MIT | A | 54 | Claude Code |
| validate-pr-descriptionrjmurillo/ai-agents | Command | 50 | today | Apache-2.0 | A | 22 | Claude Code |
| commitjuliusz-cwiakalski/agentic-delivery-os | Command | 47 | today | MIT | A | 6 | Claude Code, OpenCode |
| check-fixjuliusz-cwiakalski/agentic-delivery-os | Command | 47 | today | MIT | A | 23 | OpenCode |
| project-initathola/claude-night-market | Command | 358 | yesterday | MIT | C | 28 | Claude Code |
| commit-allHuskyauto/VisionClaw-Agent-Public-Release | Command | 26 | 2d ago | MIT | A | 26 | Claude Code |