This repository has been archived on 2026-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
anvillm/kiro-cli/agent/anvillm-agent.json

24 lines
763 B
JSON

{
"name": "anvillm-agent",
"description": "Agent for AnviLLM multi-agent workflows with mailbox communication",
"tools": ["*"],
"allowedTools": ["*"],
"hooks": {
"agentSpawn": [
{
"command": "cat ~/.kiro/SKILLS_PROMPT.md"
}
],
"userPromptSubmit": [
{
"command": "KIRO_PID=$(ps -o ppid= -p $PPID | tr -d ' '); cat $(namespace)/anvillm-session-id-$KIRO_PID 2>/dev/null | xargs -I{} sh -c 'echo running | 9p write agent/{}/state 2>/dev/null' || true"
}
],
"stop": [
{
"command": "KIRO_PID=$(ps -o ppid= -p $PPID | tr -d ' '); cat $(namespace)/anvillm-session-id-$KIRO_PID 2>/dev/null | xargs -I{} sh -c 'echo idle | 9p write agent/{}/state 2>/dev/null' || true"
}
]
}
}