Install
openclaw skills install fis-architectureOrchestrate multi-agent workflows with JSON tickets and A2A coordination. Use when delegating tasks between CyberMao (Main) and Worker agents (Engineer/Resea...
openclaw skills install fis-architectureMulti-agent workflow framework for CyberMao (Main) → Worker coordination using JSON tickets and Discord Forum threads.
Use FIS when:
Agent Roles:
| Role | Agent ID | Expertise |
|---|---|---|
| Architect | main | Coordination, task routing, user communication |
| Coding | engineer | Python, gprMax, algorithms, data analysis |
| Research | researcher | Theory, literature, simulation planning |
| Writing | writer | Documentation, LaTeX, visualization |
Each agent's Discord bot must have these permissions configured in the Discord server. Without them, Thread creation and messaging will fail silently.
Required Bot Permissions:
How to configure:
Verify with:
{ "action": "threadCreate", "channelId": "<forum_channel_id>", "name": "Permission Test" }
If the bot lacks permissions, the discord tool will return an error.
| Tool | Purpose | Path |
|---|---|---|
fis_lifecycle_pro.py | Ticket lifecycle (create/status/complete/list) | scripts/fis_lifecycle_pro.py |
fis_coordinator.py | Generate delegation templates (CyberMao only) | scripts/fis_coordinator.py |
fis_worker_toolkit.py | Spawn sub-agents, generate reports (Workers only) | scripts/fis_worker_toolkit.py |
Python Environment: Requires Python 3.8+ with standard library only (no external dependencies).
# Generate ticket + Thread template + A2A command
python3 scripts/fis_coordinator.py delegate \
--agent engineer \
--task "Implement GPR signal filter" \
--forum coding
Output:
TASK_YYYYMMDD_XXX_AGENTsessions_send command to notify WorkerUse the discord tool to create a Thread in the appropriate Forum channel:
{
"action": "threadCreate",
"channelId": "<forum_channel_id>",
"name": "TASK_xxx: Implement GPR signal filter"
}
The response returns the new Thread ID. Then notify the Worker with the Thread ID:
python3 scripts/fis_coordinator.py notify \
--ticket-id TASK_xxx \
--thread-id <new_thread_id>
Execute the generated sessions_send command to notify the Worker.
# Check ticket
python3 scripts/fis_lifecycle_pro.py list
# Update status
python3 scripts/fis_lifecycle_pro.py status \
--ticket-id TASK_xxx --status doing
# Optional: Spawn sub-agent for complex sub-tasks
python3 scripts/fis_worker_toolkit.py spawn \
--parent-ticket TASK_xxx \
--subtask "Analyze algorithm complexity"
Worker replies in the Forum Thread using the discord tool:
{
"action": "threadReply",
"channelId": "<thread_id>",
"content": "Task received. Starting execution."
}
# Generate completion report
python3 scripts/fis_worker_toolkit.py report \
--parent-ticket TASK_xxx \
--summary "Successfully implemented GPR filter" \
--deliverables filter.py test_results.json
Execute the generated sessions_send command to notify CyberMao.
# View report
python3 scripts/fis_coordinator.py report --ticket-id TASK_xxx
# Mark complete
python3 scripts/fis_lifecycle_pro.py complete --ticket-id TASK_xxx
Archive the Thread and report to User in #daily-chat.
User/Linn
↓
CyberMao (Main) - Architect, coordinator
↓ sessions_send + discord threadCreate
Worker (Engineer/Researcher/Writer) - Domain experts
↓ (optional) sessions_spawn mode="run"
SubAgent (temporary, background) - Complex sub-tasks
Key Principles:
fis-hub/discord tool's threadCreate actionsessions_spawn with mode="run", no new Thread# Create ticket
python3 scripts/fis_lifecycle_pro.py create \
--agent engineer --task "Description" --channel-type coding
# Update status (todo/doing/done)
python3 scripts/fis_lifecycle_pro.py status \
--ticket-id TASK_xxx --status doing --note "Progress update"
# Mark complete
python3 scripts/fis_lifecycle_pro.py complete --ticket-id TASK_xxx
# List active tickets
python3 scripts/fis_lifecycle_pro.py list
# Archive old tickets
python3 scripts/fis_lifecycle_pro.py archive
# Delegate and generate templates
python3 scripts/fis_coordinator.py delegate \
--agent researcher --task "GPR theory analysis" --forum theory
# Notify Worker after Thread is created
python3 scripts/fis_coordinator.py notify \
--ticket-id TASK_xxx --thread-id <discord_thread_id>
# View detailed report
python3 scripts/fis_coordinator.py report --ticket-id TASK_xxx
# Spawn sub-agent (background, no Thread)
python3 scripts/fis_worker_toolkit.py spawn \
--parent-ticket TASK_xxx --subtask "Complex sub-task description"
# Generate completion report
python3 scripts/fis_worker_toolkit.py report \
--parent-ticket TASK_xxx \
--summary "Completion summary" \
--deliverables file1.py file2.json
| Category | Forum Channel | Worker | Tool Flag |
|---|---|---|---|
| RESEARCH | 🔬-theory-derivation | @Researcher | --forum theory |
| RESEARCH | 📊-gpr-simulation | @Researcher | --forum simulation |
| DEVELOPMENT | 💻-coding | @Engineer | --forum coding |
| WRITING | 📝-drafts | @Writer | --forum drafts |
If ticket creation fails:
python3 --version (need 3.8+)fis-hub/ directory exists and is writableIf Thread creation fails:
channelId points to a Forum channel (not a regular text channel)If A2A fails:
openclaw.json has agentToAgent.enabled: trueallow listIf sub-agent spawn fails:
mode="run" is used (not mode="session")threadCreate)Required in ~/.openclaw/openclaw.json:
{
"tools": {
"agentToAgent": {
"enabled": true,
"allow": ["main", "researcher", "engineer", "writer"]
}
}
}
# Test connectivity
sessions_send(sessionKey="engineer", message="A2A test")
{ "action": "threadCreate", "channelId": "<forum_channel_id>", "name": "FIS Test Thread" }
# 1. Create task
python3 scripts/fis_coordinator.py delegate \
--agent researcher --task "Test task" --forum theory
# 2. Create Forum Thread via discord tool threadCreate
# 3. Notify Worker with Thread ID
python3 scripts/fis_coordinator.py notify \
--ticket-id TASK_xxx --thread-id <thread_id>
# 4. Execute A2A command
# 5. Complete
python3 scripts/fis_lifecycle_pro.py complete --ticket-id TASK_xxx
FIS 3.2 Pro | Multi-Agent Workflow Framework