← 返回
未分类 中文

GSwitch

Orchestrates a virtual engineering team with 7 roles working sequentially: Think, Plan, Build, Review, Test, Ship, and Reflect via shared memory coordination.
协调虚拟工程团队,7个角色按序执行:思考、规划、开发、评审、测试、发布、反思,通过共享记忆实现协作。
garysze77 garysze77 来源
未分类 clawhub v1.0.1 1 版本 99746.2 Key: 无需
★ 0
Stars
📥 393
下载
💾 0
安装
1
版本
#latest

概述

GSwitch - OpenClaw Multi-Agent Coordination System

Inspired by Garry Tan's GStack, adapted for OpenClaw

Concept

GSwitch turns OpenClaw into a virtual engineering team with 7 specialized roles working in a coordinated workflow.

Core Philosophy

> "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


The 7 Roles

RoleIDPrimary Function
-----------------------------
CEO{username}-ceo (Main)Rethink problems, set direction
Engineering Manager{username}-emArchitecture, technical decisions
Designer{username}-designerUI/UX, catch AI slop
Reviewer{username}-reviewerCode review, find bugs
QA Lead{username}-qaReal browser testing
Security Officer{username}-securityOWASP + STRIDE audits
Release Engineer{username}-releaseDeploy, PR management

Note: Replace {username} with your own username when installing.


Shared Memory

All agents share: /path/to/GSwitch/shared-memory/{username}/

Format: YYYY-MM-DD.md

Rule: APPEND ONLY, NEVER OVERWRITE


Configuration

{
  "maxSpawnDepth": 5,
  "runTimeoutSeconds": 0,
  "sharedMemory": "/path/to/GSwitch/shared-memory/{username}/"
}

Workflow Sequence

Phase 1: Think (CEO)

  • /office-hours - Understand the problem deeply
  • Output: Design document

Phase 2: Plan (CEO + EM + Designer)

  • /plan-ceo-review - CEO reviews problem framing
  • /plan-eng-review - EM reviews architecture
  • /plan-design-review - Designer reviews UI/UX

Phase 3: Build (EM/Coder)

  • Implement based on approved plan
  • Write to shared memory on completion

Phase 4: Review (Reviewer)

  • /review - Code review, find bugs
  • Spawn related agent to fix if issues found

Phase 5: Test (QA)

  • /qa - Real browser testing
  • Identify issue type → spawn related agent to fix

Phase 6: Ship (Release)

  • /ship - Deploy to production
  • QA passed before deploy

Phase 7: Reflect (All)

  • /retro - Document learnings
  • Update shared memory

Coordination Rules - IMPORTANT

Core Principle

Each agent ONLY does their own job. NEVER do others' work. Send tasks to the right department.

Each Role Has Own Responsibility

RoleResponsibility
----------------------
EMCode, Architecture, Technical
DesignerDesign, UI/UX, Content
ReviewerCode Review
QATesting, Final Gate
SecuritySecurity Audit
ReleaseDeployment

When Finding Issues

Issue TypeSend To
---------------------
Code/Technical→ EM
Design/UI/UX→ Designer
Security→ Security
Multiple types→ All relevant agents

After Completion

  1. Write to shared memory (INCLUDE file paths!)
  2. Spawn next agent for workflow
  3. If issues found → spawn related agent to fix
  4. QA is the FINAL gate before Release

Shared Memory Format

Each agent appends:

### {username}-role | HH:MM
- 任務:[Task description]
- 結果:[Success/Failure]
- 發現:[Issues if any]
- 檔案位置:[Project file path]
- 下一步:[Next step]
---

Installation

  1. Copy GSwitch folder to your OpenClaw workspace
  2. Replace {username} with your username in all files
  3. Create agents with IDs: {username}-em, {username}-designer, etc.
  4. Set shared memory path in agent configs

Inspired by Garry Tan's GStack

GSwitch for OpenClaw

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-03 08:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,090 📥 818,405
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,388 📥 321,391
ai-agent

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。适用于以下场景:创建/查询实体(人物、项目、任务、事件、文档)、关联相关对象、强制执行约束、将多步操作规划为图谱变换,或当技能需要共享状态时。触发关键词包括"记住""我知道关于什么""将X链
★ 725 📥 245,364