cto-platform
3
总安装量
3
周安装量
#55182
全站排名
安装命令
npx skills add https://github.com/5dlabs/cto --skill cto-platform
Agent 安装分布
claude-code
2
windsurf
1
trae
1
opencode
1
antigravity
1
Skill 文档
CTO Platform Skill
Comprehensive knowledge of the CTO (Cognitive Task Orchestrator) platform for AI-driven development workflows.
When to Use
- Running intake to generate tasks from PRDs
- Starting and monitoring Play workflows
- Understanding agent sequencing and responsibilities
- Debugging workflow issues
Intake Workflow
MCP Tool
mcp_cto_intake(project_name="my-project")
Flow
PRD Document â mcp_cto_intake() â Linear Project Created
â PRD Issue with Morgan as delegate
â PM Webhook â Argo Workflow
â Morgan Pod generates tasks.json
â Task issues created in Linear
Key Points
local: falsein cto-config.json = Argo workflow (production)local: true= local binary execution (debugging only)- Morgan auto-assigned triggers intake via PM webhook
Play Workflow
MCP Tools
mcp_cto_play() # Start workflow, auto-detects next task
mcp_cto_play_status() # Query progress
mcp_cto_jobs() # List running workflows
mcp_cto_stop_job() # Cancel workflow
Agent Sequence (Per Task)
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â PLAY WORKFLOW (Per Task) â
â â
â 1. IMPLEMENTATION AGENT (based on task.agentHint) â
â ââ bolt (infrastructure - Task 1 ALWAYS, plus any infra tasks) â
â ââ rex (Rust: axum, tokio, sqlx) â
â ââ grizz (Go: chi, grpc, pgx) â
â ââ nova (Node.js/Bun: Elysia, Effect, Drizzle) â
â ââ blaze (React/Web: Next.js, shadcn/ui, TailwindCSS) â
â ââ tap (Mobile: Expo, React Native) â
â ââ spark (Desktop: Electron) â
â â
â 2. SUPPORT AGENTS (sequential, run for EVERY task) â
â ââ Cleo (quality) ââââ max 5 retries â
â ââ Cipher (security) â max 2 retries â
â ââ Tess (testing) ââââ max 5 retries â
â ââ Atlas (integration) final merge gate â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
cto-config.json Structure
{
"version": "1.0",
"orgName": "5DLabs",
"defaults": {
"intake": {
"local": false, // MUST be false for production
"githubApp": "5DLabs-Morgan"
},
"linear": {
"teamId": "CTOPA",
"pmServerUrl": "http://localhost:8081"
},
"play": {
"repository": "5dlabs/cto",
"healerEndpoint": "http://localhost:8083",
"autoMerge": true, // Atlas auto-merges PRs
"implementationMaxRetries": 10,
"qualityMaxRetries": 5,
"securityMaxRetries": 2,
"testingMaxRetries": 5
}
},
"agents": {
"morgan": { ... },
"bolt": { ... },
"rex": { ... },
// ...
}
}
Key Fields
| Field | Purpose |
|---|---|
intake.local |
false = Argo workflow, true = local binary |
play.autoMerge |
Atlas merges PRs automatically |
play.healerEndpoint |
Healer API for session notifications |
play.*MaxRetries |
Per-agent retry limits |
Execution Architecture
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â IN-CLUSTER EXECUTION FLOW â
â â
â MCP Tool Call (Droid/Cursor) â
â âââ Submits Argo Workflow â
â âââ Controller creates CodeRuns (pods) â
â âââ Each agent runs in isolated container â
â âââ Linear sidecar streams activities â
â âââ Healer monitors via Loki â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Local Development
Services to Run
just dev-controller # Controller
just dev-pm # PM Server (:8081)
just dev-healer-play-api # Healer (:8083)
# Or all at once:
mprocs
Port Forwards
kubectl port-forward svc/argocd-server -n argocd 8080:80
kubectl port-forward svc/argo-workflows-server -n automation 2746:2746
Autonomy Permissions
When running E2E tests with full autonomy:
- MAY merge pull requests via Atlas
- MAY update Linear issues directly
- MAY execute all MCP tools without confirmation
- MAY handle all agent transitions
- MAY create and close GitHub issues
Reference Documentation
- docs/linear-integration-workflow.md – Linear webhook flow
- docs/heal-play.md – Healer monitoring
- cto-config.template.json – Config field documentation
- AGENTS.md – Agent overview