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/danielraffel/generous-corp-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/danielraffel/generous-corp-marketplace/delete-branch)<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/delete-branch"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/delete-branch/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/danielraffel/generous-corp-marketplace/delete-branch"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/delete-branch.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.00010 | $0.00692 |
| Opus 5 | $0.00005 | $0.00346 |
| Sonnet 5 | $0.00002 | $0.00138 |
| Haiku 4.5 | $0.00001 | $0.00069 |
Grade A, and why
delete-branch 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 10d 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.
Worktree Delete Branch Command
Delete a git branch with safety checks for uncommitted work.
Usage
/worktree-manager:delete-branch <branch-name> [options]
Options
--force- Force delete even if branch not fully merged--delete-remote- Also delete the branch from remote repository--remote=<name>- Specify remote name (default: origin)
Instructions for Claude
When user invokes this command:
-
Parse arguments:
- Extract branch name (required)
- Check for
--forceflag →force: true - Check for
--delete-remoteflag →delete_remote: true - Extract
--remote=<name>→remote_name: "<name>"
-
Safety warnings:
- If
--forceis used, warn user about potential data loss - If
--delete-remoteis used, mention this is permanent
- If
-
Call MCP tool:
- Use
mcp__worktree__worktree_delete_branch - Pass
branch_nameand all options
- Use
-
Display results:
- Show deletion status:
- ✅ Local branch deleted:
- ✅ Remote branch deleted from (if applicable)
- Show any warnings if remote deletion failed
- Show deletion status:
-
Error handling:
- Branch doesn't exist → suggest using /worktree-manager:list
- Not fully merged → suggest --force or merge first
- Currently checked out → need to switch branches first
- Remote deletion failed → show warning but report local success
Examples
Delete local branch:
User: /worktree-manager:delete-branch feature/old-feature
Claude: ✅ Local branch deleted: feature/old-feature
Delete with remote:
User: /worktree-manager:delete-branch feature/done --delete-remote
Claude: ✅ Local branch deleted: feature/done
✅ Remote branch deleted from origin
Force delete unmerged:
User: /worktree-manager:delete-branch feature/experiment --force
Claude: ⚠️ Force mode - bypassing merge checks
✅ Local branch deleted: feature/experiment
Custom remote:
User: /worktree-manager:delete-branch feature/test --delete-remote --remote=upstream
Claude: ✅ Local branch deleted: feature/test
✅ Remote branch deleted from upstream
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.
- 10d ago First seen · 96 lines · 10 tokens per session scan A 5aa8671e81c2
delete-branch is a command published in the GitHub repository danielraffel/generous-corp-marketplace (11 stars, last pushed 11d ago), licensed MIT. It adds 10 tokens to every session and 692 once invoked, about $0.0001 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-30.
Other commands, from other repositories
commit
A command that examines staged Git changes and proposes a commit message using the Conventional Commits format, such as feat, fix, or docs. Git is a tool for tracking changes to code.
merge-conflict-analysis
You are analyzing merge conflicts for PR #${{ pr-number }}.
release-notes
Generate consistent, well-structured release notes from git history. Triggered on release tags following semver patterns (v..) to produce categorized changelog with breaking changes, features, fixes, and contributor attribution.
doctor
Diagnosticar y reparar problemas del framework Don Cheli, git y entorno. Usa cuando el usuario dice "doctor", "problemas del framework", "don cheli no funciona", "repair Don Cheli", "debug setup", "setup broken", "framework broken", "reparar entorno". Detecta y repara issues de configuración, git y dependencias…
repo-audit
Audit a codebase (local or remote GitHub/GitLab) against architecture principles and requirements, surfacing drift, risk, and missing decisions.
handoff
Export a Waybill Bundle by default, or import one when requested.