external-model-delegation
UserPromptSubmit hook pattern that classifies prompts into six cost tiers and delegates to external model CLIs
Copy it into your skills folder
Download the repo
Copy: Download the repogit clone --depth 1 https://github.com/alinaqi/maggy.git /tmp/alinaqi-maggyCopy the skill folder
Copy: Copy the skill foldermkdir -p ~/.claude/skills && cp -R /tmp/alinaqi-maggy/skills/external-model-delegation ~/.claude/skills/external-model-delegationFor one project only, copy it to .claude/skills/external-model-delegation in that project instead. Claude Code picks up new skills while it runs; if it doesn't show, run /reload-skills.
Then ask Claude for what it does: it loads the skill when your request matches the description. Or call it directly with /external-model-delegation.
See which of your apps makes money
- Revenue from Stripe, Paddle and others next to visits, per app
- Search Console and the analytics you already use, on one screen
- Which channel your paying customers came from

From its SKILL.md
A UserPromptSubmit hook classifies every user prompt into one of six cost/performance tiers. The hook injects additionalContext instructing Claude to run a specific delegation script and return the output. Each script is a self-contained executable in ~/bin/ that accepts a…