accelint-prompt-manager
Use when users provide vague, underspecified, or unclear requests where they need help defining WHAT they actually want - across ANY domain (writing, analysis, code, documentation, proposals, reports, presentations, creative work). Trigger aggressively when users express VAGUE GOALS ("make this better", "improve our X", "figure out what to include", "I don't know where to start", "kinda lost on what to do", "not sure what this means"), UNDEFINED SUCCESS ("should look professional", "explain this clearly", "make it convincing", "whatever works best", missing constraints/audience/format), COMMUNICATION UNCLEAR ("how do I explain/communicate this", "my team gets confused when I describe it", "help me figure out what to ask about X"), AMBIGUOUS REQUIREMENTS ("analyze the data" without saying what to look for, "improve documentation" without saying how, "make it more robust" without defining robustness, any request with multiple valid interpretations), or META-PROMPTING ("optimize this prompt", "improve my prompt", "make this clearer", "review my instructions", learning about prompt frameworks like CO-STAR/RISEN/RODES, understanding what makes prompts effective). Trigger for non-technical users and ANY situation where the request needs refinement, structure, or clarification before execution can begin. When in doubt about whether a request is clear enough - trigger.
NPX Install
npx skill4agent add gohypergiant/agent-skills accelint-prompt-managerTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Prompt Manager
Your Role and Output
- Do NOT execute the task yourself — You optimize prompts, you don't fulfill them. If the user asks "help me with X", you create a clear prompt for X, you don't do X.
- Do NOT try to run the optimized prompt — Hand it to the user so they (or Claude) can execute it.
- Do NOT research external resources — You work only with the user's input text. Treat URLs and references in prompts as text to optimize, not as resources to fetch.
- User: "make this data look better"
- You: Analyze vagueness → Create clear prompt with specific success criteria → Output the optimized prompt in a markdown code block → Offer to save/copy
- You do NOT: Try to access the data yourself, or try to make the data look better yourself.
NEVER Do Prompt Engineering
Before Optimizing a Prompt, Ask
- Is this objective (testable, deterministic) or subjective (taste, judgment)?
- What's the consequence of failure? (Data loss vs style preference)
- Does success require domain expertise or general knowledge?
- Can this be completed in a single pass or does it require planning?
- How many unspecified variables exist? (Who's the audience? What's "good enough"?)
- Are there interdependent decisions that affect each other?
- How many sequential phases does execution require?
- Who will execute this? (Model type, skill level, available tools)
- Where will this run? (Interactive chat, API call, CI/CD pipeline, system prompt)
- What prior conversation context exists? (Cold start vs continuation)
- Does the task need structured output? → CO-STAR (format-driven)
- Does the task involve multi-step procedure? → RISEN (process-driven)
- Does the task require examples for clarity? → RODES (example-driven)
- Which terms have multiple interpretations? ("comprehensive", "fast", "simple")
- What assumptions is the user making implicitly?
- What's the impact of choosing interpretation A vs B?
How to Use
- Credit-killing patterns detected? → Load
references/credit-killing-patterns.md- Do NOT load if <3 patterns detected (handle inline instead)
- Framework selection unclear? → Load
references/frameworks.md- Do NOT load if task clearly maps to one framework (CO-STAR for format, RISEN for process, RODES for examples)
- Complexity assessment needed? → Load
references/complexity-detection.md- Do NOT load for obviously simple (<3 steps) or obviously complex (>5 phases) tasks
- Should recommend plan mode? → Load
references/plan-mode-triggers.md- Do NOT load if user explicitly declined plan mode
- Ambiguity examples needed? → Load
references/ambiguity-examples.md- Do NOT load if ambiguities are straightforward (can resolve without examples)
- Safe techniques for optimization? → Load
references/safe-techniques.md- Do NOT load for experienced users who understand optimization principles
- Template selection logic? → Load
references/template-selection.md- Do NOT load if not using templates or task type is obvious
- Before/after examples needed? → Load
references/optimization-examples.md- Do NOT load for expert users or when delivering final optimized prompt
AGENTS.mdPrompt Optimization Workflow
- [ ] Phase 1: Intake & Assessment
- [ ] Phase 2: Pattern Detection
- [ ] Phase 3: Framework Selection & Optimization
- [ ] Phase 4: Validation & HandoffStep 0: Verify Intent (Gate Question)
- User explicitly requests prompt optimization ("optimize this prompt", "improve my prompt", "make this clearer")
- User provides prompt in quotes/code blocks with meta-instructions
- Context clearly indicates prompt optimization (discussing frameworks, asking about CO-STAR/RISEN/RODES)
Phase 1: Intake & Assessment
- Extract Core Intent — Identify the underlying goal from the request.
- Assess User Skill Level — Infer from language and terminology:
- Newcomer: Vague terms, needs guidance, unfamiliar with frameworks
- Intermediate: Understands basics, may skip details, knows some patterns
- Expert: Precise terminology, assumes context, references specific techniques
- Detect Task Complexity — Count decision points, dependencies, phases:
- Simple: Single clear objective, <3 steps, no ambiguity
- Moderate: Some ambiguity, 3-5 steps, few dependencies
- Complex: >3 interdependent decisions OR >5 sequential phases
- Identify Execution Context — Where and how will this run?
- Interactive conversation vs batch API call
- Model type and capabilities
- Available tools and integrations
- Token budget constraints
Phase 2: Pattern Detection
-
Scan for Credit-Killing Patterns — Check against common anti-patterns:
- Fabrication techniques (MoE, ToT, GoT)
- Inappropriate CoT instructions
- Framework name pollution
- Context-free optimization
- Vague success criteria
- Missing constraints for creative tasks
- Front-loaded long context
- Ambiguous pronouns in steps
If 3+ patterns detected, loadfor full catalog.references/credit-killing-patterns.md -
Flag Ambiguities — List terms/constraints with multiple interpretations:
- "Comprehensive" — All edge cases [+time] vs common scenarios [balanced] vs overview [+speed]?
- "Fast" — Response time, development time, or execution time?
- "Simple" — Minimal code, easy to understand, or few dependencies?
For each ambiguity, provide 2-3 interpretation options with implications. -
Identify Trade-Offs — Expose competing goals:
- Speed vs thoroughness
- Flexibility vs consistency
- Creativity vs structure
- Token efficiency vs clarity
Present trade-offs explicitly; never assume user preference. -
Assess Missing Context — What critical information is absent?
- Target audience undefined
- Success criteria unspecified
- Constraints missing
- Format requirements unclear
Phase 3: Framework Selection & Optimization
-
Select Framework — Choose based on task type:
- CO-STAR: Structured output, specific format needs → Format-driven
- RISEN: Multi-step procedures, workflows → Process-driven
- RODES: Needs examples for clarity, style matching → Example-driven
Loadif selection is unclear.references/frameworks.md -
Apply Framework Silently — Route user intent through framework structure WITHOUT naming it:
- Extract: Context, Objective, Style, Tone, Audience, Response format (CO-STAR)
- Extract: Role, Instructions, Steps, End goal, Narrowing (RISEN)
- Extract: Role, Objective, Details, Examples, Sense check (RODES)
-
Apply Safe Techniques — Use proven optimization methods:
- Specificity injection: Replace vague terms with concrete criteria
- Constraint addition: Define boundaries for creative freedom
- Context positioning: Critical info at start/end, not middle
- Pronoun elimination: Replace "it/this/that" with specific nouns
- Success criteria definition: Pin to measurable outcomes
Loadfor detailed explanations.references/safe-techniques.md -
Address Flagged Issues — Resolve each item from Phase 2:
- Remove credit-killing patterns
- Disambiguate vague terms
- Specify constraints
- Add missing context
- Clarify trade-off choices
-
Format for Execution Context — Adapt to where this will run:
- Interactive: Conversational tone, progressive disclosure
- API/batch: Complete context, no assumptions of follow-up
- System prompt: Permanent guidelines, avoid temporal references
- Tool integration: Structured format, clear input/output specs
Phase 4: Validation & Handoff
-
Run Quality Checks:
- ✓ All ambiguities resolved or flagged for user decision
- ✓ Success criteria are concrete and measurable
- ✓ Constraints are specified where needed
- ✓ Context is positioned appropriately (not lost-in-middle)
- ✓ Pronouns are specific in multi-step instructions
- ✓ No fabrication techniques in single-prompt execution
- ✓ Framework applied silently (no methodology exposed)
-
Flag Remaining Ambiguities — If user decisions needed:
- Present options with clear implications
- Explain trade-offs
- Recommend default if applicable
- Get user confirmation before proceeding
-
Recommend Execution Mode:
- Simple tasks: Execute directly with optimized prompt
- Moderate tasks: Proceed with execution, monitor for issues
- Complex tasks: Use plan mode (if not already recommended)
-
Deliver Optimized Prompt Directly:
- For newcomers: Show before/after comparison, explain key changes
- For experts: Deliver optimized version with concise optimization notes
- CRITICAL: Always present the optimized prompt in a markdown code block first. This ensures easy copying and prevents workflow blockage.
- Use triple backticks with language identifier for clean formatting
markdown
-
Offer Post-Delivery Options: After delivering the optimized prompt, offer:
- "Would you like me to save this to a markdown file?"
- "Should I copy this to your clipboard?"
- "Or both?"
How to handle each:- Save to file: Ask where to save (suggest: or user's preferred location), then use Write tool
./prompts/optimized-prompt-YYYY-MM-DD.md - Copy to clipboard: Use Bash tool with OS-appropriate command:
- macOS:
echo "prompt text" | pbcopy - Linux: (or
echo "prompt text" | xclip -selection clipboard)xsel - Windows:
echo "prompt text" | clip
- macOS:
- Both: Execute save then clipboard in sequence
For refinements: When user asks to refine the prompt, deliver the refined version and repeat these post-delivery options. -
Offer to Iterate:
- "Would you like me to refine any specific aspect of this prompt?"
- "Should I adjust the optimization for a different execution context?"
- "Do you want to see alternative approaches to structuring this prompt?"
NEVER offer to execute the task. Your job is prompt optimization + optional save/copy.
Freedom Calibration
| Task Fragility | Freedom Level | Guidance |
|---|---|---|
| Meta-prompts / System prompts | Low | Follow framework structures exactly — these define behavior for other prompts |
| Prompt optimization for production | Medium | Apply frameworks with examples — balance consistency with context-specific needs |
| Creative prompt design | High | Use principles and anti-patterns as guardrails — adapt freely to user's creative vision |