.claude/skills/juliaz-multi-agent-optimize/SKILL.md
Optimize coordination between Julia's agents — orchestrator, frontend, OpenClaw, bridge, cowork-mcp. Trigger when improving inter-agent communication, reducing latency, fixing routing issues, or optimizing the message flow. Also trigger for: 'agents not talking', 'message not arriving', 'routing broken', 'too slow', 'bridge bottleneck', or any multi-agent coordination question.
npx skillsauth add abzhaw/juliaz_agents juliaz-multi-agent-optimizeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Optimize how Julia's agents work together. Adapted from
agent-orchestration-multi-agent-optimize.
juliaz-agent-improve or juliaz-tool-builder)juliaz-debug)juliaz-agent-builder) ┌─────────────────┐
│ Bridge :3001 │
│ (message hub) │
└──┬──────────┬───┘
│ │
GET /consume POST /incoming
POST /reply GET /pending-reply
│ │
┌─────────┴──┐ ┌────┴──────────┐
│ Orchestrator│ │ OpenClaw │
│ (Julia brain)│ │ (Telegram GW) │
└─────────────┘ └───────────────┘
│
POST /task
│
┌──────┴──────┐
│ Cowork-MCP │
│ :3003 │
└─────────────┘
Every hop adds latency. The bridge path (POST → queue → poll → process → POST → poll) adds 5-10 seconds. Only route through the bridge when necessary (actions requiring orchestrator tools). Keep conversational responses direct.
Don't duplicate Julia into multiple independent agents with overlapping tools. The orchestrator is the brain. Other interfaces (frontend, Telegram via OpenClaw) should route action requests to it.
The bridge already has POST /incoming, GET /consume, POST /reply, GET /pending-reply/:chatId. Don't create new protocols — use these.
| chatId Pattern | Source | Handler |
|----------------|--------|---------|
| Numeric (e.g., 8519931474) | Telegram via OpenClaw | Orchestrator processes, replies via bridge |
| web-<timestamp> | Frontend dashboard | Orchestrator processes, frontend polls for reply |
When adding a new inter-agent path:
| Path | Expected Latency | Acceptable | |------|------------------|------------| | Frontend → direct LLM response | 1-3s (streaming) | Yes | | Frontend → bridge → orchestrator → bridge → frontend | 5-15s | Yes for actions | | Telegram → OpenClaw → bridge → orchestrator → bridge → OpenClaw → Telegram | 5-15s | Yes | | Any path | >45s | No — must timeout |
| Model | Cost | Used by | |-------|------|---------| | Claude Haiku | Low | Orchestrator (primary) | | GPT-4o | Medium | Orchestrator (fallback), Frontend (default) | | Claude Sonnet | Higher | Frontend (selectable), Cowork-MCP delegation |
When routing through the orchestrator, the frontend adds a second LLM call (orchestrator processes the request). This is acceptable for actions but wasteful for simple questions — hence the hybrid approach.
development
Fortschrittsverfolgung der Masterarbeit. Wortanzahl pro Kapitel, Fertigstellungsgrad, fehlende Elemente, Deadlines. Haelt den Ueberblick.
development
Kapitelarchitektur und Gliederung der Masterarbeit. Verwaltet die Struktur, schlaegt vor wo Inhalte hingehoeren, validiert den logischen Fluss zwischen Kapiteln.
tools
Konvertiert Protokolleinträge und Session-Logs in thesis-fähiges deutsches Narrativ. Transformiert Entwicklungsdokumentation in akademische Prosa.
research
Sucht und analysiert akademische Literatur. Findet relevante Papers, erstellt strukturierte Zusammenfassungen. Zitiert NIEMALS — schlaegt nur vor.