Skip to main content
AI/MLmarkus41

prompt-budget-preflight

Pre-flight check to run before any Agent-tool spawn. Prevents the "Prompt is too long" rejection class by enforcing a 5-section minimum-viable-prompt template and estimating forwarded context cost. Use whenever you are about to call the Agent tool with more than a one-paragraph prompt.

Stars
12
Source
markus41/claude
Updated
2026-05-11
Slug
markus41--claude--prompt-budget-preflight
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/markus41/claude/HEAD/plugins/claude-code-expert/skills/prompt-budget-preflight/SKILL.md -o .claude/skills/prompt-budget-preflight.md

Drops the SKILL.md into .claude/skills/prompt-budget-preflight.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.