skills: pi_wake_agent skill definition (YAML + JSON)
- 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
This commit is contained in:
51
pi_wake_agent.skill.json
Normal file
51
pi_wake_agent.skill.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"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"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user