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.
git clone --depth 1 https://github.com/dansasser/claude-code-marketplaceWrote 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/dansasser/claude-code-marketplace/prep-pr)<a href="https://agentmods.dev/commands/dansasser/claude-code-marketplace/prep-pr"><img src="https://agentmods.dev/badge/commands/dansasser/claude-code-marketplace/prep-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/dansasser/claude-code-marketplace/prep-pr"><img src="https://agentmods.dev/badge/commands/dansasser/claude-code-marketplace/prep-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.00765 |
| Opus 5.5 | $0.00000 | $0.00306 |
| Sonnet 5.5 | $0.00000 | $0.00153 |
| Haiku 4.5 | $0.00000 | $0.00076 |
Grade A, and why
prep-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 3mo 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 — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Prepare PR
Automate the complete PR preparation workflow from any branch state to published package.
What This Command Does
- Detects your environment and project type (Python or Node.js)
- Validates CI workflow exists (creates one if missing)
- Analyzes git state (uncommitted, unstaged, unpushed changes)
- Checks lock file consistency
- Runs local CI (lint, type, test, build) with smart error recovery
- Commits changes if needed
- Pushes to remote
- Creates detailed PR with Mermaid diagrams
Usage
/prep-pr # Full pipeline
/prep-pr --no-push # Run CI only, don't push
/prep-pr --resume # Resume from last failure
/prep-pr --merge # Auto-merge after CI passes
/prep-pr --release # Create version tag after merge
Options
--no-push- Run local CI validation only, don't push or create PR--resume- Resume from last saved state (useful after fixing errors)--merge- Wait for GitHub CI, then auto-merge the PR--release- After merge, create a version tag for release
Requirements
- Git repository with a remote configured
- Python 3.10+ (for running helper scripts)
- For Python projects: ruff, mypy, pytest, build
- For Node projects: npm/yarn/pnpm/bun, eslint, tsc
Example Workflow
$ /prep-pr
[INFO] Starting PR preparation...
[OK] Environment: Windows 11, PowerShell
[OK] Project: Python (pip), pyproject.toml detected
[OK] Workflow: .github/workflows/ci.yml exists
[INFO] Analyzing git state...
[OK] Branch: feature/auth (3 commits ahead of main)
[INFO] Running local CI...
[OK] lint (ruff) - 1.2s
[OK] type (mypy) - 3.4s
[OK] test (pytest) - 8.7s
[OK] build - 2.1s
[INFO] Pushing to origin/feature/auth...
[OK] Pushed successfully
[INFO] Creating pull request...
[OK] PR #42 created: https://github.com/user/repo/pull/42
Error Recovery
If CI fails, the system will:
- Diagnose the error type (dependency, lock file, stale artifacts, cache)
- Attempt automatic recovery for recoverable errors
- Report clearly if manual intervention is needed
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.
- 3mo ago First seen · 96 lines · 0 tokens per session scan A 9bbfd611635e
prep-pr is a command published in the GitHub repository dansasser/claude-code-marketplace (9 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 765 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-31.
prep-pr compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prep-prdansasser/claude-code-marketplace | Command | 9 | 13d ago | MIT | A | 0 | Claude Code |
| upgrade-projectathola/claude-night-market | Command | 358 | today | MIT | A | 15 | Claude Code |
| issue-to-mr-setupOpenHands/extensions | Command | 190 | 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 |
| prjuliusz-cwiakalski/agentic-delivery-os | Command | 47 | today | MIT | A | 9 | Claude Code, OpenCode |