.claude/skills/juliaz-system/SKILL.md
Foundational knowledge about the juliaz_agents multi-agent system architecture. ALWAYS trigger this skill when the conversation involves ANY component of Julia's agent ecosystem — orchestrator, bridge, cowork-mcp, OpenClaw, frontend, backend, ADHD agent, julia_medium_agent, or thesis workspace. Also trigger when Raphael asks 'where is X', 'how does X work', 'what connects to what', or any architectural/navigation question about the system. This is the map of the entire codebase and how the pieces fit together.
npx skillsauth add abzhaw/juliaz_agents juliaz-systemInstall 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.
You are working on juliaz_agents — Raphael's multi-agent platform for his master's thesis on autonomous AI collaboration.
Raphael (human) → Antigravity (IDE agent / builder) → Julia (the product being built)
julia/ — User-System (the product)| Component | Location | Port | Stack | Role |
|-----------|----------|------|-------|------|
| Frontend | julia/frontend/ | 3002 | Next.js 15 + Tailwind + Framer Motion | Dashboard UI with its own AI chat (GPT-4o via Vercel AI SDK) |
| Bridge | julia/bridge/ | 3001 | Express + MCP (streamable HTTP) | Message hub connecting agents ↔ UI. Queue stored in data/queue.json |
| Backend | julia/backend/ | 3000 | Express + Prisma + PostgreSQL (Docker) | REST API for persistence: tasks, memories, letters, logs, usage, updates |
| Orchestrator | julia/orchestrator/ | — | Claude Haiku (primary) + GPT-4o (fallback) | Julia's brain. Polls bridge every 5s, generates replies, manages memory |
| Cowork MCP | julia/cowork-mcp/ | 3003 | MCP server wrapping Anthropic API | Claude delegation: 6 tools (claude_task, multimodal, code_review, summarize, brainstorm, status) |
| OpenClaw | julia/openclaw/ | — | openclaw CLI (npm global) | Telegram gateway. Forwards messages to bridge via julia-relay skill |
meta/ — Meta-System (development & maintenance)| Component | Location | Schedule | Role |
|-----------|----------|----------|------|
| ADHD Agent | meta/agents/adhd-agent/ | every 4h (LaunchAgent) | System hygiene: scans for duplicate skills, dead agents, orphaned configs |
| Health Checker | meta/agents/health-checker/ | every 15min | Service monitoring, self-healing, escalation tiers |
| Security Agent | meta/agents/security-agent/ | daily 07:00 | Security scanning: ports, credentials, dependencies, Docker |
| Docs Agent | meta/agents/docs-agent/ | every 12h | Documentation drift detection |
| Task Manager | meta/agents/task-manager/ | every 6h | Task queue integrity, stale task detection |
| Architecture Agent | meta/agents/architecture-agent/ | every 6h | System topology scanning, neural map generation |
thesis/ — Thesis-System (research & academic)| Directory | Purpose |
|-----------|---------|
| thesis/agents/thesis-agent/ | Academic writing partner (reads system, writes thesis) |
| thesis/latex/ | LaTeX thesis source |
| thesis/documentation/ | Project logs |
| Directory | Purpose |
|-----------|---------|
| shared-findings/ | Cross-agent communication backbone |
| meta/docs/ | System documentation, agent cards, planning prompts |
| .superpowers/ | Development framework (brainstorming, TDD, plans) |
Telegram user sends message
→ OpenClaw gateway receives it (ws://127.0.0.1:18789)
→ OpenClaw POSTs to bridge: POST http://localhost:3001/incoming
→ Bridge stores in queue.json (state: pending)
→ Orchestrator polls via MCP: telegram_get_pending_messages (state → processing)
→ Orchestrator generates reply (Claude Haiku → GPT-4o fallback)
→ Orchestrator calls MCP: telegram_send_reply (state → replied)
→ OpenClaw polls GET /pending-reply/:chatId
→ OpenClaw delivers to Telegram
Each agent directory follows this convention:
SOUL.md — Core identity, personality, values, boundariesIDENTITY.md — Name, creature type, vibe, emojiTOOLS.md — Available tools and environment configAGENTS.md — Behavioral playbook, memory patterns, group chat rulesHEARTBEAT.md — Scheduling, health checks, reporting cadenceHEURISTICS.md — Learned rules from past incidentsMEMORY.md — Persistent context across sessionsUSER.md — Info about the user (Raphael){ name, description, input_schema } with JSON Schema{ function: { name, description, parameters } }server.tool(name, schema, handler)Retry-After header from Anthropic.env.example (template), .env.secrets (live keys — NEVER commit)ecosystem.config.js (prod) / ecosystem.dev.config.js (dev).mcp.json for bridge connectionWhen Raphael asks "where is X", use this:
| Looking for... | File(s) |
|----------------|---------|
| Julia's personality/prompt | julia/orchestrator/src/prompt.ts |
| Tool definitions (orchestrator) | julia/orchestrator/src/tools.ts |
| Claude API client | julia/orchestrator/src/claude.ts |
| GPT-4o fallback client | julia/orchestrator/src/openai.ts |
| Main polling loop | julia/orchestrator/src/index.ts |
| Memory extraction logic | julia/orchestrator/src/memory-keeper.ts |
| Letter generation | julia/orchestrator/src/letter-scheduler.ts + julia/orchestrator/src/lob.ts |
| Bridge MCP tools | julia/bridge/src/index.ts |
| Bridge message queue | julia/bridge/data/queue.json |
| Cowork MCP tools | julia/cowork-mcp/src/index.ts |
| Frontend chat endpoint | julia/frontend/app/api/chat/route.ts |
| Dashboard page | julia/frontend/app/page.tsx |
| DevOps API route | julia/frontend/app/api/devops/route.ts |
| Backend REST API | julia/backend/src/index.ts |
| Database schema | julia/backend/prisma/schema.prisma |
| Docker setup | julia/backend/docker-compose.yml |
| PM2 configs | ecosystem.config.js, ecosystem.dev.config.js |
| OpenClaw relay skill | julia/openclaw/skills/julia-relay/ |
| OpenClaw troubleshooting | julia/openclaw/skills/openclaw-troubleshoot/ |
| System overview (non-technical) | meta/docs/agent_system_overview.md |
| Agent cards | meta/docs/agent_cards/ |
| Ambient agents | meta/agents/ |
| Thesis research | thesis/research_papers/ |
| Thesis drafts | thesis/drafts/ |
| Thesis agent | thesis/agents/thesis-agent/ |
These are real issues in the codebase — reference them when relevant:
/Users/raphael/juliaz_agents/julia/openclaw/skills/email-aberer)| Table | Key Fields |
|-------|-----------|
| task | title, priority, dueDate, completed |
| memory | chatId, category, content, originalText |
| letter | content, status (DRAFT/SENT), lobId, sentAt |
| log | level, source, message |
| usage | model, promptTokens, completionTokens, totalTokens |
| update | title, content, type |
| Tool | Purpose |
|------|---------|
| telegram_get_pending_messages | Fetch & mark messages as processing |
| telegram_send_reply | Queue a reply (with optional messageId) |
| telegram_bridge_status | Status snapshot |
| telegram_receive / telegram_send | Compatibility aliases |
| bridge_health | Detailed peer reachability |
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.