Agent skill
meta-prompting
Agents optimizing prompts for other agents (Chain of Thought, Tree of Thoughts).
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/coordination-andreibesleaga-gabbe
SKILL.md
meta-prompting Skill
This skill enables "Meta-Cognition": thinking about how to think.
1. Optimization Strategies
- CoT (Chain of Thought): "Let's think step by step." (Force reasoning before answer).
- ToT (Tree of Thoughts): "Generate 3 possible solutions. Evaluate each. Pick the best."
- Few-Shot: Provide 3 examples of "Input -> Output" to guide the model.
2. Dynamic Prompt Construction
Instead of static prompts, build them based on context:
- Role: "You are a world-class [Role]."
- Context: "We are building [Project]. The tech stack is [Stack]."
- Constraint: "Do not use [Forbidden Lib]. Answer in [Format]."
3. Self-Correction Prompts
- "Review your previous answer. Did you meet all requirements? If not, rewrite it."
- "Are there any security vulnerabilities in the code you just wrote?"
4. Tool Use Prompts
- "You have access to
grep. Use it to find the definition ofUserclass before guessing."
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?