install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/prompt-craft" ~/.claude/skills/sundial-org-awesome-openclaw-skills-prompt-craft && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/prompt-craft" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-prompt-craft && rm -rf "$T"
manifest:
skills/prompt-craft/SKILL.mdsource content
ai-prompt-craft
Transform basic prompts into elite structured prompts using Anthropic's 10-step framework.
Quick Reference
# Transform a basic prompt ai-prompt-craft transform "Write a sorting function" # Build with all options ai-prompt-craft build --role "expert dev" --tone technical --format code --thinking systematic --action "Create a REST API" # Generate a template ai-prompt-craft template --use-case coding # Analyze prompt structure ai-prompt-craft analyze "Your prompt here" # List presets ai-prompt-craft list tones ai-prompt-craft list formats
The 10-Step Framework
- Task Context - Role + main task (
,--role
)--task - Tone Context - Communication style (
)--tone - Background Data - Documents/context (
)--context - Detailed Task - Constraints/rules (
,--instructions
)--rules - Examples - Desired outputs (
)--examples - Conversation History - Past context (
)--history - Immediate Task - Specific action (
)--action - Deep Thinking - Reasoning mode (
)--thinking - Output Format - Structure (
)--format - Prefilled Response - Start structure (
)--prefill
Presets
Tones: professional, casual, technical, warm, concise, academic, creative
Formats: bullets, numbered, markdown, json, table, prose, code, stepByStep
Thinking: standard, deep, analytical, critical, creative, systematic
Templates: coding, writing, analysis, research, brainstorm, review, explain
Examples
Code Review Prompt
ai-prompt-craft build \ --role "senior code reviewer" \ --tone professional \ --thinking critical \ --format markdown \ --rules "Check for bugs,Review architecture,Suggest improvements" \ --action "Review this pull request"
Research Prompt
ai-prompt-craft build \ --role "thorough researcher" \ --tone academic \ --thinking deep \ --format markdown \ --action "Research the history of quantum computing"
Creative Writing
ai-prompt-craft template --use-case writing --tone creative --action "Write a short story about AI"
Piping
echo "Explain machine learning" | ai-prompt-craft transform --tone warm --format stepByStep cat draft.txt | ai-prompt-craft analyze