Automatic Stateful Prompt Improver
Auto-intercepts complex prompts for optimization via a prompt-learning MCP server, learning from recorded outcomes.
- CCM score
- 38 of 100
- skills.sh installs
- 211
- GitHub stars
- 278
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers automatic prompt interception before responses, with a post-response feedback loop that records success and quality scores
- Includes iteration guidance by complexity, convergence rules such as stopping after 20 iterations, and anti-patterns like over-optimization
- Enforces skipping simple questions, direct commands, and conversational replies so only substantive tasks get optimized
- Designed for users who want stateful prompt refinement backed by embedding-indexed history and an MCP server
Install
$ npx -y skills add curiositech/some_claude_skills --skill automatic-stateful-prompt-improver -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Automatic Stateful Prompt Improver
MANDATORY AUTOMATIC BEHAVIOR
When this skill is active, I MUST follow these rules:
Auto-Optimization Triggers
I AUTOMATICALLY call mcp__prompt-learning__optimize_prompt BEFORE responding when:
- Complex task (multi-step, requires reasoning)
- Technical output (code, analysis, structured data)
- Reusable content (system prompts, templates, instructions)
- Explicit request ("improve", "better", "optimize")
- Ambiguous requirements (underspecified, multiple interpretations)
- Precision-critical (code, legal, medical, financial)
Auto-Optimization Process
1. INTERCEPT the user's request
2. CALL: mcp__prompt-learning__optimize_prompt
- prompt: [user's original request]
- domain: [inferred domain]
- max_iterations: [3-20 based on complexity]
3. RECEIVE: optimized prompt + improvement details
4. INFORM user briefly: "I've refined your request for [reason]"
5. PROCEED with the OPTIMIZED version
Do NOT Optimize
Details
- Repository
- github.com/curiositech/some_claude_skills
- Categories
- Agent Workflow & Planning, Memory & Context
- First seen
- Jun 3, 2026
Questions
What does the automatic-stateful-prompt-improver skill do?
It intercepts complex or ambiguous requests and optimizes the prompt before Claude responds, using the prompt-learning MCP server. It draws on APE, OPRO and DSPy patterns and learns from past performance through embedding-indexed history.
What do I need before installing automatic-stateful-prompt-improver?
The skill requires the prompt-learning MCP server, which the README says needs Docker for Qdrant and Redis, Node.js 18 or newer, and an OpenAI API key. Add it to your settings or project .mcp.json before using the skill.
How do I install the automatic-stateful-prompt-improver skill?
Run npx -y skills add curiositech/some_claude_skills --skill automatic-stateful-prompt-improver -y in your project. Once installed, the skill can call the prompt-learning tools to optimize, retrieve and record feedback on prompts.
Which skills does automatic-stateful-prompt-improver pair with, and where does it sit in its category?
It sits in the Agent Workflow & Planning category, alongside grill-me, grill-with-docs, grilling and prototype. Its metadata pairs it with skill-coach for systematic skill prompt optimization and skill-logger for tracking prompt performance over time.
More from curiositech/some_claude_skills
All 70- Skill Architect208
- Product Appeal Analyzer204
- Video Processing Editing1.5K
- Interior Design Expert1.5K
- Personal Finance Coach852
- Cv Creator815
- Photo Composition Critic690
- Pwa Expert591
- Metal Shader Expert554
- Mobile Ux Optimizer544
- Color Theory Palette Harmony Expert478
- Typography Expert469
- Web Design Expert459
- Ai Video Production Master417
- Adhd Daily Planner412
- Indie Monetization Strategist407
- Voice Audio Engineer395
- Vitest Testing Patterns377
- Sound Engineer375
- Geospatial Data Pipeline367
- Photo Content Recognition Curation Expert353
- Admin Dashboard344
- Data Viz 2025328
- Dark Mode Design Expert321
Similar to Automatic Stateful Prompt Improver
More Agent Workflow & Planningprompt-engineercuriositech/some_claude_skills221 installsExpert prompt optimization that diagnoses inconsistent LLM outputs and rewrites prompts with measurable constraints.
meta-promptmindrally/skills742 installsA structured framework for scoring AI responses, analyzing solution trajectories, and applying prompt patterns.
prompt-optimizergetsentry/skills2.7K installsStructured workflow that creates, refines, and ports agent prompts against evals, keeping instructions causal.
prompt-masternidhinjs/prompt-master5.2K installsStructured system prompt that turns rough ideas into ready-to-paste prompts tuned for specific AI tools and models.
prompt-engineeringsickn33/agentic-awesome-skills1.4K installsPractical guide to prompt engineering patterns: few-shot examples, chain-of-thought, optimization, templates, and system prompts.
llm-application-dev-prompt-optimizesickn33/agentic-awesome-skills357 installsStructured prompt improvement with task-specific evaluation, held-out checks, and regression testing for LLM applications.