Install
openclaw skills install promptingWrite, test, and iterate prompts for AI models with voice preservation, model-specific adaptation, and systematic failure analysis.
openclaw skills install promptingPrompt patterns and user preferences live in ~/prompting/.
~/prompting/
├── memory.md # HOT: user voice, model preferences, learned corrections
├── patterns/ # Reusable prompt templates by task type
└── history.md # Past prompts with outcomes
See memory-template.md for initial setup.
| Topic | File |
|---|---|
| Common failure modes | failures.md |
| Model-specific quirks | models.md |
| Iteration workflow | iteration.md |
| Advanced techniques | techniques.md |
Before writing any prompt, ask:
Never default to verbose. Simpler often wins.
When improving a failing prompt:
See models.md — key differences:
Prompt optimized for one model will underperform on others.
When user provides writing samples:
When generating alternatives, vary:
"Top 5 reasons" → "The hidden truth about" → "What nobody tells you about" = real variation.
When a prompt fails, classify the failure type:
Different failures need different fixes. See failures.md.
Default to removing words, not adding. Test: "Does removing this line change the output?" If no, remove.
Token costs matter. A prompt that works with 50 tokens beats one that needs 500.
When asked to test a prompt:
Don't just test happy path.
For content prompts, know platform constraints:
Prompt should enforce format, not hope for it.
Store in ~/prompting/memory.md:
Reference before every prompting task.