meta-prompt
FreeNo executable scriptsNot checkedMeta-prompting framework for critiquing responses, analyzing solution trajectories, and evaluating AI-generated content quality
by Mindrally★ 323 GitHub starsAbout this skill
Meta-Prompt
A collection of meta-prompting techniques for evaluating and analyzing AI responses and solution paths.
Response Quality Evaluator
A framework for critiquing and reflecting on the quality of responses, providing a score and indicating whether the response has fully solved the question or task.
Evaluation Fields
Reflections: The critique and reflections on the sufficiency, superfluency, and general quality of the response.
Score: Score from 0-10 on the quality of the candidate response.
Found_solution: Whether the response has fully solved the question or task.
Evaluation Criteria
When evaluating responses, consider the following:
- Accuracy: Does the response correctly address the question or task?
- Completeness: Does it cover all aspects of the question or task?
- Clarity: Is the response clear and easy to understand?
- Conciseness: Is the response appropriately concise without sacrificing important details?
- Relevance: Does the response stay focused on the question or task at hand?
Provide thoughtful reflections on these aspects and any other relevant factors. Use the score to indicate the overall quality, and set found_solution to true only if the response fully addresses the question or completes the task.
Example Usage
reflections: "The response was clear and concise, addressing the main question effectively. However, it could have provided more context on edge cases."
score: 8
found_solution: true
Question-Answering Trajectory Analyzer
Guidelines for analyzing solution paths to question-answering tasks.
Trajectory Components
Observations: Environmental information about the current situation that provides context for decision-making.
Thoughts: Reasoning about the current situation, analyzing what has been observed and planning next steps.
Actions: The steps taken to progress toward solving the task.
Action Types
Search[entity]: Searches for the exact entity and returns relevant information if the entity exists. If not, returns suggestions for similar entities.
Lookup[keyword]: Returns the next relevant passage that contains the keyword. Used for finding specific information within retrieved content.
Finish[answer]: Returns the answer and finishes the task. Used when sufficient information has been gathered to provide a definitive response.
Analysis Guidelines
When analyzing a trajectory:
- Evaluate whether each observation provides useful information
- Assess if thoughts demonstrate logical reasoning
- Determine if actions are appropriate given the current state
- Score the trajectory correctness from 1-10
- Evaluate reasoning validity even in incomplete trajectories
- Do not generate additional steps; only analyze what is provided
Prompt Engineering Patterns
Chain of Thought
Guide the model through step-by-step reasoning:
Let's approach this step by step:
1. First, identify the key components
2. Then, analyze each component
3. Finally, synthesize the findings
Few-Shot Learning
Provide examples to establish the pattern:
Example 1: [input] -> [output]
Example 2: [input] -> [output]
Now apply this pattern to: [new input]
Self-Consistency
Generate multiple reasoning paths and select the most consistent answer.
Reflection Prompts
Encourage self-critique:
Review your response and identify:
- Any potential errors or oversights
- Areas that could be explained more clearly
- Missing information that would strengthen the answer
Quality Metrics
Response Scoring Rubric
- 10: Perfect response, fully addresses all aspects with exceptional clarity
- 8-9: Excellent response with minor room for improvement
- 6-7: Good response that addresses the main points but lacks depth
- 4-5: Adequate response with significant gaps or unclear explanations
- 2-3: Poor response that misses key aspects or contains errors
- 0-1: Response fails to address the question or is completely incorrect
Trajectory Scoring
- 10: Optimal path with efficient, logical steps
- 7-9: Good path with minor inefficiencies
- 4-6: Acceptable path but with unnecessary steps or missed opportunities
- 1-3: Poor path with fundamental reasoning errors
Install meta-prompt in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the meta-prompt skill do?
Meta-prompting framework for critiquing responses, analyzing solution trajectories, and evaluating AI-generated content quality
How do I install the meta-prompt skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the meta-prompt skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
by Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
by Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
by Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
by Anthropic