Ask Leonidas for Openclaw

A professional-grade prompt generator that creates structured LEONIDAS instructions for OpenClaw agents to solve business pain points.

leonidas-esquire
v2.1.0
Mar 14, 2026
0
732
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ask-leonidas

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ask-leonidas using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Ask Leonidas?

Ask Leonidas is a specialized tool designed to solve the most common challenge in agent configuration: writing instructions that actually work. By leveraging these Openclaw Skills, developers and power users can transform abstract professional challenges into structured LEONIDAS prompts. It acts as a bridge between a user's pain points and the technical files that govern agent behavior, specifically targeting the creation of SOUL.md and AGENTS.md files.

The skill excels at inferring industry context, user roles, and desired outcomes from minimal input, ensuring that the resulting prompts are not only high-quality but also highly relevant to specific business environments. Whether you are looking to fix an agent that feels too generic or need to build a complex workflow for automated tasks, this skill provides the prompt engineering infrastructure required for success.

Ask Leonidas Use Cases

  • Creating or refining the SOUL.md file to establish a distinct and effective agent personality.
  • Generating AGENTS.md protocols to improve startup efficiency and long-term memory management.
  • Developing reliable instructions for cron jobs to ensure automated tasks execute without failure.
  • Transforming vague business problems into tactical, strategic, or operational prompts.
  • Enhancing agent responsiveness by eliminating generic conversational fillers and 'hallucinated' politeness.

How Ask Leonidas Works

  1. The skill captures a professional pain point from the user via CLI or trigger phrases.
  2. It automatically infers the industry, role, and desired outcome if these details are not explicitly provided.
  3. The skill sends the data to the Ask Leonidas API to generate a structured LEONIDAS prompt.
  4. If the API is unavailable, the skill initiates a browser-based fallback to scrape the generated prompt from the web interface.
  5. The final prompt is returned to the user alongside metadata such as a quality score, confidence level, and request ID.

Ask Leonidas Setup

To integrate these Openclaw Skills into your workspace, ensure you have your API key and the necessary environment variables configured.

# Export the required API configuration
export ASK_LEONIDAS_API_BASE="https://askleonidas.com"
export ASK_LEONIDAS_API_KEY="your_alk_live_key"

# Run the health check script to verify the connection
python3 healthcheck.py

# Generate a prompt to test the installation
python3 ask_leonidas.py --pain-point "Need a prompt for B2B lead generation"

Ask Leonidas Data Schema & Taxonomy

The skill returns a structured response that organizes prompt metadata and the generated content for easy implementation into your agent files.

Attribute Description
Detected Role The professional persona identified by the engine.
Quality Score A numerical value (0-100) representing the prompt's effectiveness.
Prompt Type Categorization of the output (e.g., Tactical, Strategic, Operational).
Generated Prompt The full, ready-to-use Markdown text for SOUL.md or AGENTS.md.
Request ID A unique identifier for tracking and debugging API requests.

Ask Leonidas Advanced Features

  • Intelligent Role Inference: Automatically detects industry context and user job functions from plain text pain points.
  • Dual-Path Reliability: Seamlessly switches between high-speed API requests and browser-based automation fallbacks.
  • Quality Validation: Provides a structural quality score and confidence metric for every generated prompt.
  • Rate Limit Management: Built-in handling for API limits with automated retry logic and exponential backoff.
  • Multi-File Support: Specifically optimized to generate content for SOUL.md, AGENTS.md, and cron job instruction sets.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*