Skip to main content
skill CX Codex

meta-prompt — Claude Code skill: score and critique AI answers

A skill with meta-prompting templates that critique model responses, walk through a solution path and give it a score. Handy when you need to check answer quality.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Mindrally/skills --skill meta-prompt -a claude-code
Open on GitHub

What meta-prompt does

The skill ships ready-made templates for judging responses and solution paths. The first one, Response Quality Evaluator, asks the model to write reflections on the answer, assign a score from 0 to 10 and flag whether the task was fully solved. Criteria are plain: accuracy, completeness, clarity, conciseness, relevance.

The second block, Question-Answering Trajectory Analyzer, breaks a solution into observations, thoughts and actions. Actions are written as Search[entity], Lookup[keyword] and Finish[answer]. It analyses a trajectory you already have; it does not invent extra steps. Correctness is scored from 1 to 10.

There are also prompting patterns inside: chain of thought, few-shot, self-consistency and reflection prompts for self-critique. Everything lives in SKILL.md as text instructions, no scripts and no external dependencies. That matters if you run an agent over many tasks and want one consistent way to check the results instead of eyeballing them.

What it helps with

  • score a model response on one consistent scale
  • trace how a task was solved step by step
  • spot gaps and errors in a finished answer
  • compare several candidate answers side by side
  • make the model critique its own output

Example prompts for the agent

  • score this response against the skill criteria
  • analyze the solution trajectory and rate its correctness
  • review your answer for gaps and unclear parts

How to install meta-prompt

1Skills CLI (Vercel)

npx skills add Mindrally/skills --skill meta-prompt -a claude-code

2Manually: put the files in place

~/.claude/skills/meta-prompt/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/meta-prompt/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about meta-prompt

How do I install meta-prompt in Claude?

Run npx skills add Mindrally/skills --skill meta-prompt -a claude-code. The skill file lands at ~/.claude/skills/meta-prompt/SKILL.md.

What does meta-prompt do?

It provides meta-prompting templates for evaluating AI output: reflections on quality, a 0-10 score, and a breakdown of a solution path into observations, thoughts and actions.

Which platforms can run this skill?

Besides Claude there are install commands for Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode, each with its own path to SKILL.md.

Source text

SKILL.md · Apache-2.0
---
name: meta-prompt
description: Meta-prompting framework for critiquing responses, analyzing solution trajectories, and evaluating AI-generated content quality
metadata:
  maintainer: Mindrally
  source: https://github.com/Mindrally/skills
---

# 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:

1. **Accuracy**: Does the response correctly address the question or task?
2. **Completeness**: Does it cover all aspects of the question or task?
3. **Clarity**: Is the response clear and easy to understand?
4. **Conciseness**: Is the response appropriately concise without sacrificing important details?
5. **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:

1. Evaluate whether each observation provides useful information
2. Assess if thoughts demonstrate logical reasoning
3. Determine if actions are appropriate given the current state
4. Score the trajectory correctness from 1-10
5. Evaluate reasoning validity even in incomplete trajectories
6. 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

© Mindrally · Apache-2.0 · Mindrally/skills

Similar skills

Everything for AI and ML →

From the same set168

prisma-development Gives your agent a fixed set of Prisma ORM and TypeScript rules: schema design, migrations, transactions, error handling. Useful when the project runs on Prisma. CX Codex +1 698installs auth0-authentication A skill that gives your coding agent Auth0 guidelines: auth flows, Actions, token validation and redirect safety. CX Codex +1 700installs supabase-development Gives the agent a working set of Supabase rules: schema design, RLS policies, auth, realtime subscriptions and Edge Functions. CX Codex +1 699installs monorepo A skill that hands your agent a rulebook for monorepos built on TypeScript, React, Next.js and Expo with Turbo. Useful when several apps and shared packages live in one repo. CX Codex +1 694installs cloudflare-development A skill that hands your agent Cloudflare edge practices: Workers, Pages, KV, D1, R2 and Durable Objects. Useful when the agent writes worker code or edits wrangler.toml. CX Codex +1 689installs remix A skill that turns your coding agent into a Remix and TypeScript helper, with ready patterns for data loading, mutations and nested routes. CX Codex +1 686installs salesforce-dx A skill that makes your coding agent follow Salesforce DX conventions: Apex, triggers, LWC, scratch orgs and SFDX CLI workflows. CX Codex +1 688installs micronaut Tells the agent how to write Micronaut code: compile-time DI, GraalVM native builds, reactive services. Useful when your Java project should follow the framework instead of generic advice. CX Codex +1 687installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor