Skill Runner
Purpose
This skill acts as an intermediary to run other OpenClaw skills via cron jobs or indirect calls.
It provides a secure way to execute a specific skill function within the OpenClaw runtime, ensuring the skill receives the necessary context object (including access to tools and sessions).
How it works
- Receives an
agentTurnmessage (e.g., from a cron job). - The message content specifies which target skill to run (e.g.,
run memory-enhancer). - Dynamically imports and executes the
skillfunction from the target skill'sindex.jsfile. - Passes its own
contextobject to the target skill, allowing the target skill to use OpenClaw's tools (likesessions_spawn).
Configuration
- Runs as a dedicated isolated agent.
- Uses the default model configured for agents.
- Expected message format:
run <skill-name>
Invocation
Primarily invoked via OpenClaw's cron jobs (cron add with payload.kind="agentTurn" targeting this skill).
Example Cron Job Payload
{
"kind": "agentTurn",
"message": "run memory-enhancer",
"model": "google/gemini-2.5-flash",
"sessionTarget": "isolated"
}