← 返回
AI智能 Key

Ask Leonidas — LEONIDAS Prompt Generator

Generate a structured LEONIDAS prompt from any professional pain point using the Ask Leonidas OpenClaw API. Solves the #1 OpenClaw community pain point: writ...
使用Ask Leonidas OpenClaw API基于任意职业痛点生成结构化LEONIDAS提示词,解决OpenClaw社区头号痛点:撰写...
leonidas-esquire
AI智能 clawhub v2.1.0 1 版本 99774.8 Key: 需要
★ 0
Stars
📥 443
下载
💾 6
安装
1
版本
#agents-md#latest#leonidas#openclaw#productivity#prompt-engineering#soul-md

概述

Ask Leonidas — LEONIDAS Prompt Generator

Use this skill when the user wants to:

  • Write or improve their SOUL.md — the most important file in any OpenClaw workspace
  • Write or improve their AGENTS.md startup and memory protocol
  • Generate a structured prompt for any professional pain point
  • Fix an agent that "feels off" without knowing why
  • Create cron job instructions that actually run reliably
  • Build a prompt for a skill they want their agent to own
  • Infer the best role, industry, and desired outcome from a business challenge

Trigger phrases

  • "Help me write my SOUL.md"
  • "My agent feels generic / keeps saying 'great question'"
  • "Build me a prompt for..."
  • "I need a prompt that helps me with..."
  • "Turn this into a LEONIDAS prompt: ..."
  • "Use Ask Leonidas to generate a prompt"
  • "Generate a prompt for [pain point]"
  • "What should I put in my AGENTS.md?"
  • "My cron job keeps failing / doing the wrong thing"
  • "Write a prompt so my agent handles [workflow]"

Inputs

Required:

  • 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")

Behavior

  1. If the user has already provided a pain point, do not ask for it again.
  2. If no pain point is provided, ask exactly once:

> "What is the professional challenge or pain point you want turned into a prompt?"

  1. Call the Ask Leonidas OpenClaw API using the helper script in this skill folder.
  2. If the API is unavailable (network error, 5xx), fall back to the browser:
    • Navigate to https://askleonidas.com/openclaw
    • Fill in the #openclaw-pain-point field with the pain point
    • Click the #openclaw-submit button
    • Wait for #openclaw-result to be populated
    • Extract the prompt text from #openclaw-result
  3. Return the generated prompt exactly as received — do not paraphrase or summarize it.
  4. Always surface the metadata alongside the prompt.

API usage

Generate 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

Required environment variables

VariableRequiredDescription
---------
ASK_LEONIDAS_API_BASEBase URL — https://askleonidas.com
ASK_LEONIDAS_API_KEYYour alk_live_... API key
ASK_LEONIDAS_TIMEOUT_SECONDSOptionalRequest timeout in seconds (default: 30)
ASK_LEONIDAS_DEFAULT_SOURCEOptionalSource tag for analytics (e.g., claude-desktop)
ASK_LEONIDAS_DEFAULT_SKILL_VERSIONOptionalSkill version tag (e.g., 2.1.0)

Output format

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>

Error handling

  • Do not invent or hallucinate a prompt if the API fails.
  • Surface the exact error message returned by the API.
  • If both the API and browser fallback fail, tell the user clearly and suggest they visit https://askleonidas.com directly.
  • Never expose the API key in any output.
  • Always prefer the API path over browser automation.

Rate limits

The OpenClaw API enforces:

  • 60 requests per minute per API key
  • 1,000 requests per day per API key

If you receive a 429 response, wait 60 seconds before retrying. Do not retry more than 3 times.

版本历史

共 1 个版本

  • v2.1.0 当前
    2026-03-19 22:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 710 📥 243,666
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,353 📥 317,940
security-compliance

AXIS TrustLayer AgentFICO

leonidas-esquire
在交互、委托任务或交易前,查看AI智能体信任评分和信用评级。查询任何智能体的T-Score(行为声誉0-100分)。
★ 0 📥 603