Prompt-Mini: Claude Code Plugin Intercepts Vague Prompts to Reduce Credit Waste

What Prompt-Mini Does
Prompt-mini is a Claude Code plugin that hooks into prompts before Claude executes them. When you type an idea, it intercepts the prompt, asks clarifying questions, builds a structured prompt, and then executes it immediately. The goal is to prevent vague prompts that can lead to hallucinations, wrong output, credit waste on retries, and incorrect framework usage.
Key Features
- Automatic stack detection: Reads your project files to detect your stack automatically or provides options to choose from—never asks for information it can read itself.
- Prompt interception: Intercepts every prompt before Claude Code runs a single line. Clear prompts pass through without modification.
- Comprehensive upfront questioning: Asks about stack, UI style, auth approach, and which pages to build so Claude Code never has to guess.
- Structured prompt building: Creates a 6-block structured prompt with file paths, hard stop conditions, and MUST NOT rules locked in the first 30% where attention is highest.
Problem Patterns Addressed
The plugin catches and fixes 35 credit-killing patterns including:
- No scope
- No stop conditions
- No file path
- Ghost features
- Building the whole thing in one shot
Framework Support
Supports 40+ stacks and frameworks with specific routing rules to prevent generic output. Mentioned frameworks include:
- Next.js
- Expo
- Supabase
- FastAPI
- Chrome MV3
- LangChain
- Drizzle
- Cloudflare Workers
GitHub Status
The project has reached 4300 stars on GitHub according to the developer's announcement.
📖 Read the full source: r/ClaudeAI
👀 See Also

How Clawdbot Coordinates 6 AI Agents with a Production-Stable Work Queue
Clawdbot's team built a work queue system to coordinate 6 AI agents (design, code, marketing, ops) for their AI-operated store. The system features atomic task claiming, a state machine, retry logic with backoff, task chains, heartbeat tracking, and a daemon orchestrator.

MCP server for depth-packed codebase context
A new MCP server packs codebase context at 5 depth levels within token budgets, addressing the problem where AI coding agents either load too few files or get flat repo maps without actual content.

A 4-tier knowledge base architecture to improve AI agent accuracy
A developer built a structured knowledge base with 200+ articles to provide domain-specific context to AI agents, implementing a 4-tier pipeline with query classification that cut token costs by ~40%.

Claude Code skill combines DeepMind Aletheia and Anthropic harness approaches
A Claude Code skill implements a Planner→Generator→Evaluator→Reviser pipeline that synthesizes DeepMind's Aletheia math research agent with Anthropic's multi-agent coding architecture, adding blind pre-analysis where the evaluator reasons about correct approaches before seeing candidate code.