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.
npx agentmods add commands/mirinodev/maestro/deletegit clone --depth 1 https://github.com/mirinodev/maestroWhat 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 | $0.00000 | $0.02740 |
| Opus 5 | $0.00000 | $0.01370 |
| Sonnet 5 | $0.00000 | $0.00548 |
| Haiku 4.5 | $0.00000 | $0.00274 |
Grade A, and why
delete 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 yesterday.
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 — 390 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🔸 delete
Command for orchestra members (Git worktrees) to exit the stage. Provides complete cleanup by removing both the worktree directory and associated local branch.
Overview
mst delete <branch-name> [options]
mst rm <branch-name> [options] # alias
What gets deleted
When an orchestra member exits the stage, Maestro performs a complete cleanup:
- Worktree directory - The physical directory containing the branch's files
- Empty parent directories - Any empty directories left behind after worktree deletion
- Automatically cleans up empty parent directories (useful for branches like
feature/apiwhich would leave emptyfeature/directory) - Recursively removes empty directories up to the repository base directory
- Provides visual feedback showing which directories were cleaned up with the message:
🧹 Removed empty directory: {directory-name}
- Automatically cleans up empty parent directories (useful for branches like
- Local branch - The Git branch associated with the worktree
- First attempts safe deletion with
git branch -d - Automatically retries with
git branch -Dif the branch is not fully merged - Ensures complete cleanup without manual intervention
- First attempts safe deletion with
- tmux session - The tmux session with the same name as the worktree (if exists)
- Default behavior: Automatically terminates the session when deleting the worktree
- Session names are normalized to handle special characters (e.g.,
feature/api-authbecomesfeature-api-auth) - Use
--keep-sessionto preserve the tmux session after deletion
This ensures no orphaned branches, sessions, or empty directories remain after worktree deletion.
Usage Examples
Basic Usage
# Orchestra member exits the stage (removes both worktree and local branch)
mst delete feature/old-feature
# Force exit (even with uncommitted changes)
mst delete feature/old-feature --force
# Keep tmux session after worktree exits
mst delete feature/old-feature --keep-session
# Select with fzf for exit
mst delete --fzf
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.
- yesterday First seen · 390 lines · 0 tokens per session scan A 76593b98cdf3
delete is a command published in the GitHub repository mirinodev/maestro (9 stars, last pushed 11mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,740 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.
Other commands, from other repositories
audit-agents-skills
Audit quality of agents, skills, and commands in a Claude Code project.
security-audit
Comprehensive security audit of your project AND Claude Code configuration. Analyzes secrets exposure, injection surfaces, dependencies, hook security, and produces a scored security posture assessment.
audit-quiz-coverage
Find quiz coverage gaps from recent guide/CHANGELOG/CC-releases changes and propose new questions.
worktree
Create a git worktree for isolated feature/fix work.
sync
Check guide/landing synchronization status.
version
Display current guide and Claude Code versions.