Thesis Structure Skill
Purpose
This skill manages the structural backbone of the Master Thesis. It maintains the chapter outline, validates logical flow between sections, and ensures every piece of content lands in the right place. The thesis is written in German, in LaTeX, and follows the conventions of a German computer science Master Thesis (Informatik Masterarbeit).
Chapter Architecture
The thesis follows the canonical German CS thesis structure, adapted to the specific topic of multi-agent orchestration with the juliaz_agents system:
01-einleitung (Einleitung)
- Purpose: Frame the problem, motivate the work, state research questions, outline the thesis structure
- Contents:
- Problemstellung: Why is multi-agent orchestration relevant now?
- Motivation: Personal and technical motivation (the juliaz_agents system as a real-world case)
- Forschungsfragen: 2-3 precise research questions
- Aufbau der Arbeit: Brief overview of each chapter
- Length target: 4-6 pages
- Dependencies: None (entry point)
02-grundlagen (Grundlagen)
- Purpose: Define all foundational concepts the reader needs before encountering the architecture
- Contents:
- Multi-Agent-Systeme (MAS): Definition, properties, coordination models
- Large Language Models (LLMs): Architecture, capabilities, limitations
- Tool Use / Function Calling: How LLMs interact with external tools
- Model Context Protocol (MCP): Anthropic's protocol for tool integration
- Agentic AI: Definition and characteristics of AI agents vs. chatbots
- Orchestrierung: Patterns for coordinating multiple agents
- Length target: 15-20 pages
- Dependencies: None (provides definitions for all subsequent chapters)
03-verwandte-arbeiten (Verwandte Arbeiten)
- Purpose: Survey existing multi-agent frameworks and position this thesis within the research landscape
- Contents:
- Existing frameworks: AutoGPT, CrewAI, LangGraph, Microsoft AutoGen, MetaGPT
- Academic research on multi-agent coordination
- Tool-use research: Toolformer, Gorilla, ToolLLM
- MCP ecosystem and related protocols
- Gap analysis: What existing work does not cover that this thesis addresses
- Length target: 10-15 pages
- Dependencies: 02-grundlagen (uses terminology defined there)
04-konzept (Konzept und Architektur)
- Purpose: Present the architecture of juliaz_agents as a designed solution to the research questions
- Contents:
- Systemuebersicht: High-level architecture diagram and component overview
- Agentenmodell: Julia (orchestrator), OpenClaw (gateway), Cowork-MCP (sub-agent), ADHD Agent
- Kommunikationsarchitektur: MCP bridge, message passing, tool calling flow
- Entwurfsentscheidungen: Why GPT-4o for orchestration, why MCP for tool relay, why multi-model
- Sicherheitskonzept: 1Password integration, secret management
- Erweiterbarkeit: How new agents and skills are added
- Length target: 15-20 pages
- Dependencies: 02-grundlagen (MAS definitions, MCP protocol), 03-verwandte-arbeiten (differentiation from existing work)
05-implementierung (Implementierung)
- Purpose: Describe the technical realization of the architecture from chapter 04
- Contents:
- Technologiestack: TypeScript, Python, Next.js, Docker, PM2
- Julia Orchestrator: openai.ts tool-calling loop, prompt engineering, memory management
- OpenClaw Telegram Gateway: Python skill system, email integration
- MCP Bridge: WebSocket relay, message format, ~200 lines implementation
- Cowork-MCP: Claude as sub-agent via MCP, delegation patterns
- Frontend Dashboard: Next.js 15, Vercel AI SDK, real-time updates
- Backend API: REST + Postgres, session management
- ADHD Agent: Ambient system hygiene, skill scanning
- Deployment: PM2 ecosystem, startup scripts, log management
- Length target: 20-25 pages
- Dependencies: 04-konzept (implements what was designed)
06-evaluation (Evaluation)
- Purpose: Assess the system against research questions with concrete evidence
- Contents:
- Evaluationsmethodik: How the system is evaluated (case studies, qualitative analysis)
- Fallstudie 1 — Wish Companion: Multi-agent gift recommendation workflow
- Fallstudie 2 — ADHD Agent: Ambient system maintenance and skill scanning
- Analyse der Orchestrierung: Message flow analysis, latency, reliability
- Erweiterbarkeit bewerten: How easily new agents were added
- Limitationen: What the system cannot do, failure modes
- Length target: 15-20 pages
- Dependencies: 04-konzept (evaluates against design goals), 05-implementierung (references specific code)
07-zusammenfassung (Zusammenfassung und Ausblick)
- Purpose: Conclude the thesis, summarize findings, reflect, look ahead
- Contents:
- Zusammenfassung der Ergebnisse: Answers to each research question
- Beitraege der Arbeit: What this thesis contributes to the field
- Reflexion: Lessons learned, challenges encountered
- Ausblick: Future work, potential improvements, research directions
- Length target: 4-6 pages
- Dependencies: 06-evaluation (summarizes evaluation results)
Structure File
The canonical structure is maintained in thesis/latex/structure.json. This file is the single source of truth for the thesis outline.
{
"thesis_title": "Multi-Agent-Orchestrierung mit Large Language Models: Entwurf und Implementierung des juliaz_agents-Systems",
"author": "Raphael",
"chapters": [
{
"id": "01-einleitung",
"title": "Einleitung",
"file": "chapters/01-einleitung.tex",
"sections": [
{"id": "1.1", "title": "Problemstellung und Motivation"},
{"id": "1.2", "title": "Forschungsfragen"},
{"id": "1.3", "title": "Aufbau der Arbeit"}
],
"status": "draft",
"word_count_target": 2000,
"dependencies": []
}
]
}
Operations
Place Content
Given a topic or piece of content, determine which chapter and section it belongs to:
- Analyze the content's nature (theoretical, architectural, implementation detail, evaluation result)
- Match against chapter purposes defined above
- If ambiguous, suggest the primary location and mention alternatives
- Example: "MCP message format specification" -> 02-grundlagen (definition) AND 05-implementierung (concrete usage)
Validate Flow
Check that the thesis argument progresses logically:
- Every term used in chapter N must be defined in chapter N or earlier
- The Konzept chapter must reference Grundlagen definitions
- The Implementierung chapter must map 1:1 to Konzept components
- The Evaluation must address all Forschungsfragen from Einleitung
- No forward references without explicit "siehe Kapitel X" markers
Track Dependencies
Maintain a dependency graph between sections:
02-grundlagen:MAS -> used by 04-konzept:Agentenmodell
02-grundlagen:MCP -> used by 04-konzept:Kommunikationsarchitektur, 05-implementierung:MCP-Bridge
02-grundlagen:Tool-Use -> used by 04-konzept:Entwurfsentscheidungen, 05-implementierung:Julia-Orchestrator
- Flag violations: "Chapter 04 references 'Skill-System' but this is not defined in 02-grundlagen"
Propose Restructuring
When chapters grow unbalanced:
- Compare actual page counts against targets
- Identify sections that could be split or merged
- Suggest promotions (subsection -> section) or demotions (section -> subsection)
- Never restructure without presenting the proposal to the human first
Rules
- The structure file is updated only through this skill — no other skill modifies
structure.json
- Chapter IDs (
01-einleitung, etc.) are stable identifiers used across all skills
- Section numbering follows LaTeX conventions (1.1, 1.2, etc.)
- All structural changes are proposals until the human approves
- The chapter order is fixed unless the human explicitly requests a change
1---2name: thesis-structure3description: Kapitelarchitektur und Gliederung der Masterarbeit. Verwaltet die Struktur, schlaegt vor wo Inhalte hingehoeren, validiert den logischen Fluss zwischen Kapiteln.4---56# Thesis Structure Skill78## Purpose910This skill manages the structural backbone of the Master Thesis. It maintains the chapter outline, validates logical flow between sections, and ensures every piece of content lands in the right place. The thesis is written in German, in LaTeX, and follows the conventions of a German computer science Master Thesis (Informatik Masterarbeit).1112## Chapter Architecture1314The thesis follows the canonical German CS thesis structure, adapted to the specific topic of multi-agent orchestration with the juliaz_agents system:1516### 01-einleitung (Einleitung)17- **Purpose**: Frame the problem, motivate the work, state research questions, outline the thesis structure18- **Contents**:19 - Problemstellung: Why is multi-agent orchestration relevant now?20 - Motivation: Personal and technical motivation (the juliaz_agents system as a real-world case)21 - Forschungsfragen: 2-3 precise research questions22 - Aufbau der Arbeit: Brief overview of each chapter23- **Length target**: 4-6 pages24- **Dependencies**: None (entry point)2526### 02-grundlagen (Grundlagen)27- **Purpose**: Define all foundational concepts the reader needs before encountering the architecture28- **Contents**:29 - Multi-Agent-Systeme (MAS): Definition, properties, coordination models30 - Large Language Models (LLMs): Architecture, capabilities, limitations31 - Tool Use / Function Calling: How LLMs interact with external tools32 - Model Context Protocol (MCP): Anthropic's protocol for tool integration33 - Agentic AI: Definition and characteristics of AI agents vs. chatbots34 - Orchestrierung: Patterns for coordinating multiple agents35- **Length target**: 15-20 pages36- **Dependencies**: None (provides definitions for all subsequent chapters)3738### 03-verwandte-arbeiten (Verwandte Arbeiten)39- **Purpose**: Survey existing multi-agent frameworks and position this thesis within the research landscape40- **Contents**:41 - Existing frameworks: AutoGPT, CrewAI, LangGraph, Microsoft AutoGen, MetaGPT42 - Academic research on multi-agent coordination43 - Tool-use research: Toolformer, Gorilla, ToolLLM44 - MCP ecosystem and related protocols45 - Gap analysis: What existing work does not cover that this thesis addresses46- **Length target**: 10-15 pages47- **Dependencies**: 02-grundlagen (uses terminology defined there)4849### 04-konzept (Konzept und Architektur)50- **Purpose**: Present the architecture of juliaz_agents as a designed solution to the research questions51- **Contents**:52 - Systemuebersicht: High-level architecture diagram and component overview53 - Agentenmodell: Julia (orchestrator), OpenClaw (gateway), Cowork-MCP (sub-agent), ADHD Agent54 - Kommunikationsarchitektur: MCP bridge, message passing, tool calling flow55 - Entwurfsentscheidungen: Why GPT-4o for orchestration, why MCP for tool relay, why multi-model56 - Sicherheitskonzept: 1Password integration, secret management57 - Erweiterbarkeit: How new agents and skills are added58- **Length target**: 15-20 pages59- **Dependencies**: 02-grundlagen (MAS definitions, MCP protocol), 03-verwandte-arbeiten (differentiation from existing work)6061### 05-implementierung (Implementierung)62- **Purpose**: Describe the technical realization of the architecture from chapter 0463- **Contents**:64 - Technologiestack: TypeScript, Python, Next.js, Docker, PM265 - Julia Orchestrator: openai.ts tool-calling loop, prompt engineering, memory management66 - OpenClaw Telegram Gateway: Python skill system, email integration67 - MCP Bridge: WebSocket relay, message format, ~200 lines implementation68 - Cowork-MCP: Claude as sub-agent via MCP, delegation patterns69 - Frontend Dashboard: Next.js 15, Vercel AI SDK, real-time updates70 - Backend API: REST + Postgres, session management71 - ADHD Agent: Ambient system hygiene, skill scanning72 - Deployment: PM2 ecosystem, startup scripts, log management73- **Length target**: 20-25 pages74- **Dependencies**: 04-konzept (implements what was designed)7576### 06-evaluation (Evaluation)77- **Purpose**: Assess the system against research questions with concrete evidence78- **Contents**:79 - Evaluationsmethodik: How the system is evaluated (case studies, qualitative analysis)80 - Fallstudie 1 — Wish Companion: Multi-agent gift recommendation workflow81 - Fallstudie 2 — ADHD Agent: Ambient system maintenance and skill scanning82 - Analyse der Orchestrierung: Message flow analysis, latency, reliability83 - Erweiterbarkeit bewerten: How easily new agents were added84 - Limitationen: What the system cannot do, failure modes85- **Length target**: 15-20 pages86- **Dependencies**: 04-konzept (evaluates against design goals), 05-implementierung (references specific code)8788### 07-zusammenfassung (Zusammenfassung und Ausblick)89- **Purpose**: Conclude the thesis, summarize findings, reflect, look ahead90- **Contents**:91 - Zusammenfassung der Ergebnisse: Answers to each research question92 - Beitraege der Arbeit: What this thesis contributes to the field93 - Reflexion: Lessons learned, challenges encountered94 - Ausblick: Future work, potential improvements, research directions95- **Length target**: 4-6 pages96- **Dependencies**: 06-evaluation (summarizes evaluation results)9798## Structure File99100The canonical structure is maintained in `thesis/latex/structure.json`. This file is the single source of truth for the thesis outline.101102```json103{104 "thesis_title": "Multi-Agent-Orchestrierung mit Large Language Models: Entwurf und Implementierung des juliaz_agents-Systems",105 "author": "Raphael",106 "chapters": [107 {108 "id": "01-einleitung",109 "title": "Einleitung",110 "file": "chapters/01-einleitung.tex",111 "sections": [112 {"id": "1.1", "title": "Problemstellung und Motivation"},113 {"id": "1.2", "title": "Forschungsfragen"},114 {"id": "1.3", "title": "Aufbau der Arbeit"}115 ],116 "status": "draft",117 "word_count_target": 2000,118 "dependencies": []119 }120 ]121}122```123124## Operations125126### Place Content127Given a topic or piece of content, determine which chapter and section it belongs to:128- Analyze the content's nature (theoretical, architectural, implementation detail, evaluation result)129- Match against chapter purposes defined above130- If ambiguous, suggest the primary location and mention alternatives131- Example: "MCP message format specification" -> 02-grundlagen (definition) AND 05-implementierung (concrete usage)132133### Validate Flow134Check that the thesis argument progresses logically:135- Every term used in chapter N must be defined in chapter N or earlier136- The Konzept chapter must reference Grundlagen definitions137- The Implementierung chapter must map 1:1 to Konzept components138- The Evaluation must address all Forschungsfragen from Einleitung139- No forward references without explicit "siehe Kapitel X" markers140141### Track Dependencies142Maintain a dependency graph between sections:143- `02-grundlagen:MAS` -> used by `04-konzept:Agentenmodell`144- `02-grundlagen:MCP` -> used by `04-konzept:Kommunikationsarchitektur`, `05-implementierung:MCP-Bridge`145- `02-grundlagen:Tool-Use` -> used by `04-konzept:Entwurfsentscheidungen`, `05-implementierung:Julia-Orchestrator`146- Flag violations: "Chapter 04 references 'Skill-System' but this is not defined in 02-grundlagen"147148### Propose Restructuring149When chapters grow unbalanced:150- Compare actual page counts against targets151- Identify sections that could be split or merged152- Suggest promotions (subsection -> section) or demotions (section -> subsection)153- Never restructure without presenting the proposal to the human first154155## Rules1561571. The structure file is updated only through this skill — no other skill modifies `structure.json`1582. Chapter IDs (`01-einleitung`, etc.) are stable identifiers used across all skills1593. Section numbering follows LaTeX conventions (1.1, 1.2, etc.)1604. All structural changes are proposals until the human approves1615. The chapter order is fixed unless the human explicitly requests a change