Skip to content
Back to skills

Meta Prompting

ASecurity

> Optimize prompts through iterative self-improvement.

  • 229 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agentsgobashsecurity

Works with

  • cli

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add Miosa-osa/canopy --skill meta-prompting --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Meta Prompting?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Meta Prompting
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/miosa-osa-meta-prompting-canopy/badge)](https://www.skillsdirectory.com/skills/miosa-osa-meta-prompting-canopy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# /meta-prompting

> Optimize prompts through iterative self-improvement.

## Usage
```
/meta-prompting "<prompt>" [--iterations <n>] [--target <score>]
```

## What It Does
Takes a prompt, executes it, scores the result, then uses the LLM to optimize the prompt for better results. Iterates until the quality target is met or max iterations reached. Stores optimized prompts in the skill library for reuse.

## Implementation
1. **Execute** -- run the original prompt, capture output.
2. **Score** -- evaluate result on correctness (40%), completeness (25%), clarity (20%), efficiency (15%).
3. **Optimize** -- generate an improved prompt addressing identified issues.
4. **Re-execute** -- run the improved prompt.
5. **Compare** -- if improved, save as new baseline. If not, revert or try different optimization.
6. **Repeat** -- until target score or max iterations (default: 3).
7. **Store** -- save the best prompt as a reusable template.

Optimization dimensions: clarity enhancement, example addition, instruction refinement, context optimization.

## Examples
```bash
# Optimize a code generation prompt
/meta-prompting "Generate a rate limiter in Go" --target 8

# Optimize a content prompt with more iterations
/meta-prompting "Write a pitch for enterprise clients" --iterations 5

# Optimize a system prompt
/meta-prompting "You are a security auditor..." --target 9
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.