meta-prompt-engineering — Claude Code skill: prompts and setup
The meta-prompt-engineering skill turns unclear prompts into structured instructions with a defined role, task steps, constraints, and quality checks. Use it when an agent’s responses vary between runs.
no license 114 installs ★ 203 updated 2026-09-01
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a claude-codeWhat meta-prompt-engineering does
The skill examines a prompt for gaps, then helps define the AI’s role, the goal, and the expected response format. It breaks complicated work into steps and makes limits on length, tone, and content explicit. Supporting materials include resources/template.md and resources/methodology.md.
Prompts can include self-check criteria and safeguards for known failure patterns. The workflow then tests the prompt across several runs and uses resources/evaluators/rubric_meta_prompt_engineering.json to guide revisions. Repeated testing is part of the process; it does not promise identical responses.
What it helps with
- turn a vague request into structured agent instructions
- split a complex task into ordered steps
- set response format and content limits
- add checks for recurring prompt failures
Example prompts for the agent
- Rewrite this prompt with a clear role, task steps, and response format.
- Find why this prompt gives inconsistent results and suggest constraints to test.
- Draft a multi-step prompt with criteria for checking the final answer.
How to install meta-prompt-engineering
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a claude-code2Manually: put the files in place
~/.claude/skills/meta-prompt-engineering/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/meta-prompt-engineering/
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a codex2Manually: put the files in place
.agents/skills/meta-prompt-engineering/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a cursor2Manually: put the files in place
.cursor/skills/meta-prompt-engineering/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install lyndonkl/claude skills/meta-prompt-engineering2Manually: put the files in place
.github/skills/meta-prompt-engineering/SKILL.md1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a gemini-cli2Platform CLI
gemini skills install https://github.com/lyndonkl/claude --path skills/meta-prompt-engineeringManually: put the files in place
.devin/skills/meta-prompt-engineering/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about meta-prompt-engineering
How do I install meta-prompt-engineering in Claude Code?
Run npx skills add lyndonkl/claude --skill meta-prompt-engineering -a claude-code. The skill file is at ~/.claude/skills/meta-prompt-engineering/SKILL.md.
What does meta-prompt-engineering do?
It helps shape an unclear prompt into instructions with a defined role, task stages, limits, and quality checks. It also guides testing and revisions based on recurring failures.
How does the skill test a prompt?
Run the prompt several times, identify repeated failure patterns, and add constraints to address them. The workflow includes resources/evaluators/rubric_meta_prompt_engineering.json for evaluation.