Borrowing it
Nothing to install: this file belongs to mathaix/OpenClawMachines. 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/mathaix/OpenClawMachines/main/.claude/commands/pr.mdgit clone --depth 1 https://github.com/mathaix/OpenClawMachinesWrote 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/mathaix/openclawmachines/pr)<a href="https://agentmods.dev/commands/mathaix/openclawmachines/pr"><img src="https://agentmods.dev/badge/commands/mathaix/openclawmachines/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/mathaix/openclawmachines/pr"><img src="https://agentmods.dev/badge/commands/mathaix/openclawmachines/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.00000 | $0.00441 |
| Opus 5.5 | $0.00000 | $0.00176 |
| Sonnet 5.5 | $0.00000 | $0.00088 |
| Haiku 4.5 | $0.00000 | $0.00044 |
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 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.
What it actually says
Commit all changes, push to remote, and create a pull request.
Instructions
-
First, gather information in parallel:
- Run
git statusto see untracked and modified files - Run
git diffto see staged and unstaged changes - Run
git log -5 --onelineto see recent commit message style - Run
git branch --show-currentto get current branch name - Check if branch tracks remote:
git rev-parse --abbrev-ref @{upstream} 2>/dev/null
- Run
-
Analyze all changes and draft a commit message:
- Summarize the nature of changes (feature, fix, refactor, etc.)
- Write a concise commit message focusing on "why" not "what"
- Do NOT commit binaries, .db files, or secrets (.env, credentials)
-
Stage and commit:
- Add relevant files with
git add - Create commit with message ending with the Claude Code signature:
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> - Add relevant files with
-
Push to remote:
- Push with
git push origin <branch-name> - If branch doesn't exist on remote, use
git push -u origin <branch-name>
- Push with
-
Create the PR:
- Use
gh pr createwith a descriptive title and body - Include a Summary section with 1-3 bullet points
- Include a Test plan section with checkboxes
- End with the Claude Code signature
- Use
-
Return the PR URL to the user.
Example PR format
gh pr create --title "feat: description of change" --body "$(cat <<'EOF'
## Summary
- First key change
- Second key change
## Test plan
- [ ] Test item 1
- [ ] Test item 2
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
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.
- 2mo ago First seen · 54 lines · 0 tokens per session scan A fe4f9cdb985e
pr is a command published in the GitHub repository mathaix/OpenClawMachines (62 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 441 tokens. 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.
pr compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prmathaix/OpenClawMachines | Command | 62 | 3mo ago | Apache-2.0 | A | 0 | Claude Code |
| caveman-commitJuliusBrussee/caveman | Command | 118k | yesterday | Apache-2.0 | A | 11 | Claude Code |
| commityonatangross/orchestkit | Command | 299 | yesterday | MIT | A | 43 | Claude Code, Cursor |
| quick-pushjmagar/claude-homelab | Command | 87 | 1mo ago | MIT | A | 15 | Claude Code |
| commitechoVic/blade-code | Command | 181 | 24d ago | MIT | A | 8 | Claude Code |
| devSmart-AI-Memory/attune-ai | Command | 11 | today | Apache-2.0 | A | 16 | Claude Code |
| carefulyonatangross/orchestkit | Command | 299 | yesterday | MIT | C | 84 | Claude Code, Cursor |