cleanup-cache
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
View DoorDash spend vs caps, edit the dd-guard spending policy interactively, and reconcile the intent ledger against real order history
$ npx -y skills add davila7/claude-code-templates --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/doordash-budgetContext preview
What this command does when you run it.
View DoorDash spend vs caps, edit the dd-guard spending policy interactively, and reconcile the intent ledger against real order history
allowed-tools: Bash(dd-cli:*), Bash(bash:*), Bash(cat:*), Bash(jq:*), Bash(mkdir:*), Read, Write, Edit argument-hint: [status | set | reconcile] description: View DoorDash spend vs caps, edit the dd-guard spending policy interactively, and reconcile the intent ledger against real order history
Manage the dd-guard spending policy: **$ARGUMENTS**
State: `~/.claude/dd-guard/limits.json` (policy) and `~/.claude/dd-guard/ledger.jsonl` (spend ledger). This command is the ONLY sanctioned way to modify `limits.json` — the doordash-spend-guard hook blocks direct command-line writes to it by design.
Parse `$ARGUMENTS` and run the matching subcommand:
Present the dd-guard status output as a friendly table: each cap, spend to date, headroom left. Note how many ledger entries are unreconciled intents and remind that subtotals exclude fees/tips.
Interactive policy editing:
1. Show the current policy values one by one. 2. Ask the user which value to change and to what (`per_order_max`, `daily_max`, `weekly_max`, `monthly_max`, `cooldown_minutes`, `allowed_hours.start/end`). Setting a cap to `null` removes it. 3. **Confirm the exact new policy with the user before writing** — read back the full JSON you intend to save. 4. Write `~/.claude/dd-guard/limits.json` with the Write tool (the hook permits interactive edits through this command's flow, not shell redirection).
Match unpaid intents against reality:
1. Run `dd-cli order history` and list recent orders. 2. For each ledger line with `"status": "intent"`, check whether a matching order (by date/restaurant/amount proximity) appears in history:
mark `"status": "abandoned"` so it stops counting against caps. 3. Rewrite `ledger.jsonl` preserving all other lines untouched (read-modify-write; keep it valid JSONL). 4. Report: N paid, M abandoned, K still pending.
JSON.
confirm they understand the block reason first (that friction is the point of the tool).
Ready-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.
Repo: davila7/claude-code-templates
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image