DiPeO Backend Router
Domain: Backend ecosystem including FastAPI server (server/), CLI tools (cli/), message store, and MCP integration. Database schema initialization is in /dipeo/infrastructure/execution/state/persistence_manager.py (package-maintainer domain).
Quick Decision: Skill or Agent?
✅ Handle Directly (This Skill)
- Simple changes: <20 lines, 1-2 files
- Read-only tasks: Understanding code, reviewing configs, debugging logs
- Documentation lookup: CLI help, API signatures, database schema
- Small config tweaks: Environment variables, command flags
❌ Escalate to Agent
- Complex features: Multi-file changes, new CLI commands, database migrations
- Architecture changes: New API endpoints, MCP tool implementation
- Cross-cutting concerns: Affects CLI + database + execution engine
- Uncertain scope: Not sure how many files will change
Agent: Task(dipeo-backend, "your detailed task description")
Documentation Sections (Load On-Demand)
Use Skill(doc-lookup) with these anchors when you need detailed context:
Core Responsibilities:
docs/agents/backend-development.md#core-responsibilities - CLI, FastAPI server, database, MCP server
Implementation Patterns:
docs/agents/backend-development.md#common-patterns - CLI, background execution, database, MCP patterns
Troubleshooting:
docs/agents/backend-development.md#troubleshooting - Server, CLI, database, MCP issues
MCP Integration:
docs/features/mcp-server-integration.md#quick-start - Setup and usage guide
docs/features/chatgpt-mcp-integration.md#quick-start - ChatGPT connection
Example doc-lookup call:
python .claude/skills/doc-lookup/scripts/section_search.py \
--query "cli-commands" \
--paths docs/agents/backend-development.md \
--top 1
Escalation to Other Agents
To dipeo-package-maintainer: Execution handlers, service architecture, domain models, LLM infrastructure
To dipeo-codegen-pipeline: GraphQL schema changes, generated type issues, TypeScript specs
Typical Workflow
- Assess task complexity: Simple (handle) vs. complex (escalate)
- If simple: Load relevant section via
Skill(doc-lookup)
- Execute: Make changes or provide answer
- If complex: Escalate with
Task(dipeo-backend, "task details")
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: sorryhyun-dipeo-dipeo-backend3description: DiPeO Backend Router4---56# DiPeO Backend Router78**Domain**: Backend ecosystem including FastAPI server (`server/`), CLI tools (`cli/`), message store, and MCP integration. Database schema initialization is in `/dipeo/infrastructure/execution/state/persistence_manager.py` (package-maintainer domain).910## Quick Decision: Skill or Agent?1112### ✅ Handle Directly (This Skill)13- **Simple changes**: <20 lines, 1-2 files14- **Read-only tasks**: Understanding code, reviewing configs, debugging logs15- **Documentation lookup**: CLI help, API signatures, database schema16- **Small config tweaks**: Environment variables, command flags1718### ❌ Escalate to Agent19- **Complex features**: Multi-file changes, new CLI commands, database migrations20- **Architecture changes**: New API endpoints, MCP tool implementation21- **Cross-cutting concerns**: Affects CLI + database + execution engine22- **Uncertain scope**: Not sure how many files will change2324**Agent**: `Task(dipeo-backend, "your detailed task description")`2526## Documentation Sections (Load On-Demand)2728Use `Skill(doc-lookup)` with these anchors when you need detailed context:2930**Core Responsibilities**:31- `docs/agents/backend-development.md#core-responsibilities` - CLI, FastAPI server, database, MCP server3233**Implementation Patterns**:34- `docs/agents/backend-development.md#common-patterns` - CLI, background execution, database, MCP patterns3536**Troubleshooting**:37- `docs/agents/backend-development.md#troubleshooting` - Server, CLI, database, MCP issues3839**MCP Integration**:40- `docs/features/mcp-server-integration.md#quick-start` - Setup and usage guide41- `docs/features/chatgpt-mcp-integration.md#quick-start` - ChatGPT connection4243**Example doc-lookup call**:44```bash45python .claude/skills/doc-lookup/scripts/section_search.py \46 --query "cli-commands" \47 --paths docs/agents/backend-development.md \48 --top 149```5051## Escalation to Other Agents5253**To dipeo-package-maintainer**: Execution handlers, service architecture, domain models, LLM infrastructure54**To dipeo-codegen-pipeline**: GraphQL schema changes, generated type issues, TypeScript specs5556## Typical Workflow57581. **Assess task complexity**: Simple (handle) vs. complex (escalate)592. **If simple**: Load relevant section via `Skill(doc-lookup)`603. **Execute**: Make changes or provide answer614. **If complex**: Escalate with `Task(dipeo-backend, "task details")`6263---64> Converted and distributed by [TomeVault](https://tomevault.io/claim/sorryhyun) — claim your Tome and manage your conversions.65<!-- tomevault:4.0:skill_md:2026-04-11 -->