Install
openclaw skills install @leonidas-esquire/ask-leonidasGenerate a structured LEONIDAS prompt from any professional pain point using the Ask Leonidas OpenClaw API. Solves the #1 OpenClaw community pain point: writing a SOUL.md that actually works. Also generates prompts for AGENTS.md, cron job instructions, skill vetting briefs, and any workflow you want your agent to own. Automatically infers role, industry, and desired outcome.
openclaw skills install @leonidas-esquire/ask-leonidasUse this skill when the user wants to:
SOUL.md — the most important file in any OpenClaw workspaceAGENTS.md startup and memory protocolRequired:
pain_point — the professional challenge or problem to solve (5–2000 characters)Optional (auto-inferred if omitted):
role — the user's job title or function (e.g., "VP of Sales", "Executive Coach")industry — the user's industry (e.g., "B2B SaaS", "Healthcare", "Financial Services")desired_outcome — what success looks like (e.g., "Close more deals with less effort")"What is the professional challenge or pain point you want turned into a prompt?"
https://askleonidas.com/openclaw#openclaw-pain-point field with the pain point#openclaw-submit button#openclaw-result to be populated#openclaw-resultGenerate a prompt (basic):
python3 {baseDir}/ask_leonidas.py \
--pain-point "I need a SOUL.md that makes my agent direct, opinionated, and stops it from saying 'absolutely'."
Generate a prompt (with optional context):
python3 {baseDir}/ask_leonidas.py \
--pain-point "My team misses sprint deadlines every quarter." \
--role "Engineering Manager" \
--industry "B2B SaaS" \
--desired-outcome "Ship on time without burning out the team"
Health check:
python3 {baseDir}/healthcheck.py
Smoke test (end-to-end):
bash {baseDir}/smoke_test.sh
| Variable | Required | Description |
|---|---|---|
ASK_LEONIDAS_API_BASE | ✅ | Base URL — https://askleonidas.com |
ASK_LEONIDAS_API_KEY | ✅ | Your alk_live_... API key |
ASK_LEONIDAS_TIMEOUT_SECONDS | Optional | Request timeout in seconds (default: 30) |
ASK_LEONIDAS_DEFAULT_SOURCE | Optional | Source tag for analytics (e.g., claude-desktop) |
ASK_LEONIDAS_DEFAULT_SKILL_VERSION | Optional | Skill version tag (e.g., 2.1.0) |
Always present the result in this format:
Detected role: <role>
Detected industry: <industry>
Detected desired outcome: <outcome or n/a>
Confidence: <0.0–1.0 or n/a>
Quality score: <0–100 or n/a>
Prompt type: <tactical | strategic | operational | n/a>
Request ID: <id or n/a>
Generated prompt:
<full prompt text>
https://askleonidas.com directly.The OpenClaw API enforces:
If you receive a 429 response, wait 60 seconds before retrying. Do not retry more than 3 times.