meta-prompt — скилл для Claude Code: оценка ответов ИИ
Скилл с набором мета-промптов: критикует ответы модели, разбирает ход решения и ставит оценку. Пригодится, когда нужно проверить качество ответа агента.
npx skills add Mindrally/skills --skill meta-prompt -a claude-codeЧто делает meta-prompt
Скилл даёт готовые шаблоны для оценки ответов и путей решения. Первый блок — Response Quality Evaluator: он просит модель написать размышления о качестве ответа, поставить оценку от 0 до 10 и отметить, решена ли задача целиком. Критерии простые: точность, полнота, ясность, краткость, релевантность.
Второй блок — Question-Answering Trajectory Analyzer. Здесь разбирается ход решения по шагам: наблюдения, мысли, действия. Действия описаны как Search[entity], Lookup[keyword] и Finish[answer]. Анализ идёт по уже готовой траектории, новые шаги скилл не придумывает. Оценка корректности — от 1 до 10.
Ещё внутри есть паттерны промптинга: chain of thought, few-shot, self-consistency и промпты для самокритики. Всё это текстовые инструкции в SKILL.md, без скриптов и внешних зависимостей. Полезно, когда вы гоняете агента по задачам и хотите единый способ сверять результаты, а не оценивать их на глаз.
Какие задачи решает
- оценить качество ответа модели по единой шкале
- разобрать ход решения задачи по шагам
- найти пропуски и ошибки в готовом ответе
- сравнить несколько вариантов ответа между собой
- заставить модель критиковать собственный вывод
Примеры запросов агенту
- оцени этот ответ по критериям скилла и поставь score
- разбери траекторию решения задачи и оцени её корректность
- проверь свой ответ на пропуски и неясные места
Как установить meta-prompt
1Через Skills CLI (Vercel)
npx skills add Mindrally/skills --skill meta-prompt -a claude-code2Вручную: положить файлы
~/.claude/skills/meta-prompt/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/meta-prompt/
1Через Skills CLI (Vercel)
npx skills add Mindrally/skills --skill meta-prompt -a codex2Вручную: положить файлы
.agents/skills/meta-prompt/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Mindrally/skills --skill meta-prompt -a cursor2Вручную: положить файлы
.cursor/skills/meta-prompt/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Mindrally/skills meta-prompt2Вручную: положить файлы
.github/skills/meta-prompt/SKILL.md1Через Skills CLI (Vercel)
npx skills add Mindrally/skills --skill meta-prompt -a gemini-cli2Командой платформы
gemini skills install https://github.com/Mindrally/skills --path meta-promptВручную: положить файлы
.devin/skills/meta-prompt/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Mindrally/skills --skill meta-prompt -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о meta-prompt
Как установить meta-prompt в Claude?
Выполните npx skills add Mindrally/skills --skill meta-prompt -a claude-code. Файл скилла окажется в ~/.claude/skills/meta-prompt/SKILL.md.
Что делает meta-prompt?
Собирает мета-промпты для оценки ответов ИИ: размышления о качестве, оценка от 0 до 10, разбор хода решения по наблюдениям, мыслям и действиям.
Для каких платформ подходит скилл?
Кроме Claude есть установка для Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Для каждой платформы своя команда и свой путь к SKILL.md.
Исходный текст
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