- pi_wake_agent.skill.yaml: Full skill definition with all capabilities, parameters, examples, error handling, testing - pi_wake_agent.skill.json: OpenAI function calling compatible schema
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "pi_wake_agent",
|
|
"description": "Multi-agent wake-up timer with self-cron/daemon/succession modes. Sends doorbell injections via zellij and durable messages via h5i bus.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"mode": {
|
|
"type": "string",
|
|
"enum": ["install", "once", "daemon", "succession", "run", "remove", "list", "status", "validate"],
|
|
"description": "Operation mode"
|
|
},
|
|
"interval": {
|
|
"type": "string",
|
|
"pattern": "^\\d+[hms]$",
|
|
"default": "1h",
|
|
"description": "Interval duration. Formats: 30m, 1h, 90m, 2h, 10s"
|
|
},
|
|
"session": {
|
|
"type": "array",
|
|
"items": { "type": "string" },
|
|
"description": "Zellij session name(s). Repeatable."
|
|
},
|
|
"sessions": {
|
|
"type": "string",
|
|
"description": "Comma-separated list of sessions"
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"default": "Operator says CONTINUE. pi_nvnemo here, saying hi!",
|
|
"description": "Wake message sent to agent(s)"
|
|
},
|
|
"count": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"default": 1,
|
|
"description": "Number of runs for succession mode"
|
|
},
|
|
"dry_run": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Show what would be done without executing"
|
|
},
|
|
"debug": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Enable debug logging"
|
|
}
|
|
},
|
|
"required": ["mode"]
|
|
}
|
|
}
|