Inspired by Garry Tan's GStack, adapted for OpenClaw
GSwitch turns OpenClaw into a virtual engineering team with 7 specialized roles working in a coordinated workflow.
"Skill feeds into the next. Nothing falls through the cracks because every step knows what came before."
Workflow: Think → Plan → Build → Review → Test → Ship → Reflect
RoleIDPrimary FunctionCEO{username}-ceo (Main)Rethink problems, set directionEngineering Manager{username}-emArchitecture, technical decisionsDesigner{username}-designerUI/UX, catch AI slopReviewer{username}-reviewerCode review, find bugsQA Lead{username}-qaReal browser testingSecurity Officer{username}-securityOWASP + STRIDE auditsRelease Engineer{username}-releaseDeploy, PR management
Note: Replace {username} with your own username when installing.
All agents share: /path/to/GSwitch/shared-memory/{username}/
Format: YYYY-MM-DD.md Rule: APPEND ONLY, NEVER OVERWRITE
json
{
"maxSpawnDepth": 5,
"runTimeoutSeconds": 0,
"sharedMemory": "/path/to/GSwitch/shared-memory/{username}/"
}
/office-hours - Understand the problem deeply/plan-ceo-review - CEO reviews problem framing/plan-eng-review - EM reviews architecture/plan-design-review - Designer reviews UI/UX/review - Code review, find bugs/qa - Real browser testing/ship - Deploy to production/retro - Document learningsEach agent ONLY does their own job. NEVER do others' work. Send tasks to the right department.
RoleResponsibilityEMCode, Architecture, TechnicalDesignerDesign, UI/UX, ContentReviewerCode ReviewQATesting, Final GateSecuritySecurity AuditReleaseDeployment
Issue TypeSend ToCode/Technical→ EMDesign/UI/UX→ DesignerSecurity→ SecurityMultiple types→ All relevant agents
Each agent appends:
markdown
### {username}-role | HH:MM
- 任務:[Task description]
- 結果:[Success/Failure]
- 發現:[Issues if any]
- 檔案位置:[Project file path]
- 下一步:[Next step]
---
{username} with your username in all files{username}-em, {username}-designer, etc.Inspired by Garry Tan's GStack GSwitch for OpenClaw