scale-colony
정보
이 스킬은 성장 단계를 인식하고 역할 분화 및 분열 프로토콜과 같은 군집 기법을 적용하여 분산 시스템과 팀의 확장 패턴을 제공합니다. 생산적 성과보다 커뮤니케이션 오버헤드가 더 커지거나, 작업 중복이나 소유권 불분명과 같이 규모 증가에 따라 조정 실패가 늘어날 때 사용하세요. 이는 시스템이 초기 한계를 넘어 성장함에 따라 아키텍처 전환을 사전에 계획하는 데 도움이 됩니다.
빠른 설치
Claude Code
추천npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/scale-colonyClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Scale Colony
Scale distributed systems, teams, or organizations through colony budding (splitting), role differentiation (age polyethism), and growth-triggered architectural transitions — maintaining coordination quality as the colony grows beyond its initial design capacity.
适用场景
- A team or system that worked at 10 agents is breaking down at 50
- Communication overhead is growing faster than productive output
- Coordination patterns that were implicit need to become explicit
- Planning a growth phase and wanting to scale proactively rather than reactively
- Observing coordination failures that correlate with size (lost messages, duplicated work, unclear ownership)
- The existing system needs to split into semi-autonomous sub-colonies
输入
- 必需: Current colony size and target growth (or growth rate)
- 必需: Current coordination mechanisms and their stress points
- 可选: Colony structure (flat, hierarchical, clustered)
- 可选: Role differentiation already in place
- 可选: Growth timeline and constraints
- 可选: Inter-colony coordination needs (if splitting)
步骤
第 1 步:Recognize the Growth Phase
Identify which scaling phase the colony is in to apply appropriate strategies.
- Classify the current growth phase:
Colony Growth Phases:
┌───────────┬──────────────┬───────────────────────────────────────────┐
│ Phase │ Size Range │ Characteristics │
├───────────┼──────────────┼───────────────────────────────────────────┤
│ Founding │ 1-7 agents │ Everyone does everything, direct comms, │
│ │ │ implicit coordination, high agility │
├───────────┼──────────────┼───────────────────────────────────────────┤
│ Growth │ 8-30 agents │ Roles emerge, some specialization, comms │
│ │ │ overhead increases, need for structure │
├───────────┼──────────────┼───────────────────────────────────────────┤
│ Maturity │ 30-100 agents│ Formal roles, layered coordination, │
│ │ │ sub-groups form, inter-group coordination │
├───────────┼──────────────┼───────────────────────────────────────────┤
│ Fission │ 100+ agents │ Colony too large for single coordination │
│ │ │ framework, must bud into sub-colonies │
└───────────┴──────────────┴───────────────────────────────────────────┘
- Identify growth stress signals:
- Communication overload: messages per agent per day increasing faster than colony size
- Decision latency: time from proposal to decision increasing
- Coordination failures: duplicated work, dropped tasks, conflicting actions increasing
- Knowledge dilution: new agents take longer to become productive
- Identity loss: agents can't describe the colony's purpose consistently
- Determine if the colony is about to cross a phase boundary or has already crossed it
预期结果: Clear identification of the current growth phase and the specific stress signals indicating the colony is approaching or has crossed a phase boundary.
失败处理: If the phase isn't clear, measure three concrete metrics: communication volume per agent, decision latency, and coordination failure rate. Plot them over time. The inflection points reveal phase transitions. If metrics aren't available, the colony is likely in the Founding phase (where metrics aren't yet needed).
第 2 步:Implement Role Differentiation (Age Polyethism)
Introduce progressive specialization where agents take on different roles based on experience and colony needs.
- Define the role progression path:
- Newcomers: observation, learning, simple tasks (low autonomy, high guidance)
- Workers: standard task execution, signal following (moderate autonomy)
- Specialists: domain expertise, complex tasks, mentoring newcomers (high autonomy)
- Foragers/Scouts: exploration, innovation, external interface (see
forage-resources) - Coordinators: inter-group communication, conflict resolution, quorum management
- Implement role transitions:
- Transitions are triggered by experience thresholds, not appointment
- An agent that has completed a threshold number of tasks successfully transitions to the next role (calibrate the threshold based on task complexity and colony growth rate — e.g., 5-10 tasks for simple roles, 20-30 for specialist roles)
- Reverse transitions are possible (specialist returns to worker role in a new domain)
- The colony's role distribution adapts to current needs:
- Growing colony → more newcomer slots, active mentoring
- Stable colony → balanced distribution across all roles
- Threatened colony → more defenders, fewer scouts (see
defend-colony)
- Preserve role flexibility:
- No agent is permanently locked into a role
- Emergency protocols can temporarily reassign any agent to any role
- Cross-training ensures agents can cover adjacent roles
预期结果: A role structure where agents naturally progress from simple to complex responsibilities, with the colony's role distribution reflecting its current needs and phase.
失败处理: If role differentiation creates rigid silos, increase cross-training requirements and rotation frequency. If newcomers struggle to progress, the mentoring system is insufficient — pair each newcomer with a specialist for their first N tasks. If too many agents cluster in one role, the transition triggers are miscalibrated — adjust thresholds based on colony-wide role demand.
第 3 步:Restructure Coordination for Scale
Adapt the coordination mechanisms from coordinate-swarm to handle increased colony size.
- Replace direct communication with layered signaling:
- Founding phase: everyone talks to everyone (N×N communication)
- Growth phase: cluster into squads of 5-8; direct communication within squads, signal-based between squads
- Maturity phase: squads form departments; intra-squad direct, inter-squad signal, inter-department broadcast
- Implement coordination layers:
- Local coordination: within a squad, direct signal exchange (stigmergy)
- Regional coordination: between squads in the same department, aggregated signals
- Colony coordination: between departments, broadcast signals only for colony-wide decisions
- Design inter-layer interfaces:
- Each squad has one designated communicator who aggregates and relays signals
- Communicators filter noise: not every local signal gets relayed upward
- Colony-wide broadcasts are rare and reserved for quorum decisions, alarm escalation, or major state changes
- Communication overhead budget:
- Target: each agent spends <20% of capacity on coordination
- Measure actual overhead; if it exceeds the budget, add another coordination layer or split the oversized squad
预期结果: A layered coordination structure where communication overhead grows logarithmically (not linearly) with colony size. Local coordination is fast and direct; colony-wide coordination is slower but still functional.
失败处理: If coordination layers create information bottlenecks (communicators become overloaded), add redundant communicators or reduce the relay frequency. If layers create isolation (squads don't know what other squads are doing), increase the inter-layer signal frequency or create cross-squad liaison roles.
第 4 步:Execute Colony Budding (Fission)
Split the colony into semi-autonomous sub-colonies when it exceeds single-coordination capacity.
- Recognize fission triggers:
- Colony exceeds 100 agents (or the coordination layer count exceeds 3)
- Communication overhead exceeds 30% of agent capacity despite layering
- Decision latency exceeds acceptable thresholds for time-sensitive operations
- Subgroups have developed distinct identities and can operate independently
- Plan the fission:
- Identify natural split lines (existing clusters, domain boundaries, geographic separation)
- Ensure each daughter colony has a viable role distribution (can't split all specialists into one colony)
- Each daughter colony must have: at least one coordinator, sufficient workers, and access to shared resources
- Define the inter-colony interface: what information is shared, what is independent
- Execute the split:
- Announce the fission plan and timeline (consensus required — see
build-consensus) - Transfer agents to daughter colonies based on existing cluster membership
- Establish inter-colony communication channels (lightweight, asynchronous)
- Each daughter colony bootstraps its own local coordination (inheriting patterns from the parent)
- Announce the fission plan and timeline (consensus required — see
- Post-fission stabilization:
- Monitor each daughter colony for viability (can it sustain itself?)
- Inter-colony coordination should be minimal (quarterly sync, not daily)
- If a daughter colony fails, reabsorb it into the nearest viable colony
预期结果: Two or more viable daughter colonies, each operating semi-autonomously with their own coordination, connected by lightweight inter-colony interfaces.
失败处理: If daughter colonies are too small to be viable, the fission was premature — remerge and try again at a larger size. If inter-colony coordination becomes as heavy as pre-fission single-colony coordination, the split lines were wrong — the colonies are too interdependent. Re-draw boundaries along natural independence lines.
第 5 步:Monitor Scaling Limits and Adapt
Continuously assess whether the current structure matches the colony's size and needs.
- Track scaling health metrics:
- Coordination overhead ratio: time spent coordinating / time spent producing
- Decision throughput: decisions per time unit (should increase or hold steady with growth)
- Agent satisfaction: engagement, retention, sense of purpose (drops when scaling fails)
- Error rate: coordination failures per time unit (should not increase linearly with growth)
- Identify scaling limit indicators:
- Overhead ratio exceeding 25% → need more automation or another coordination layer
- Decision throughput declining → governance structure needs revision
- Agent turnover spiking → cultural or structural issues from scaling
- Error rate accelerating → coordination mechanisms are failing
- Trigger adaptation:
- Phase transition detected → apply the appropriate phase strategy from Step 1
- Scaling limit reached → escalate to the next structural intervention (role differentiation → coordination restructure → fission)
- External change (market shift, tech disruption) → may require colony transformation (see
adapt-architecture)
预期结果: A colony that monitors its own scaling health and proactively adapts its structure before scaling stress becomes scaling failure.
失败处理: If scaling health metrics are not available, the colony lacks observability — build measurement before building more structure. If metrics show problems but the colony can't adapt, the resistance is cultural, not technical — address the human factors (fear of change, ownership attachment, trust deficits) before restructuring.
验证清单
- Current growth phase is identified with specific stress signals
- Role differentiation is defined with progressive specialization
- Coordination is layered appropriately for colony size
- Communication overhead stays below 20-25% of agent capacity
- Fission plan exists for when the colony exceeds single-coordination capacity
- Scaling health metrics are tracked and thresholds trigger adaptation
- Each daughter colony (post-fission) has viable role distribution
常见问题
- Scaling structure before needed: Premature layering adds overhead without benefit. A 10-person team doesn't need department coordinators. Let stress signals guide structural changes
- Preserving founding culture at all costs: What worked at 5 agents won't work at 50. Scaling requires structural evolution; nostalgia for the founding phase prevents necessary adaptation
- Fission without independence: Splitting a colony into sub-colonies that still depend on each other for daily operations creates the worst of both worlds — overhead of coordination plus overhead of separation
- Uniform role distribution: Not every sub-colony needs the same role ratios. A research colony needs more scouts; a production colony needs more workers. Adapt role distribution to mission
- Ignoring remerge as an option: Sometimes fission fails and the best move is to remerge. Treating fission as irreversible prevents recovery from bad splits
相关技能
coordinate-swarm— foundational coordination patterns that this skill scalesforage-resources— foraging scales differently than production; role differentiation affects scout allocationbuild-consensus— consensus mechanisms must adapt for larger groupsdefend-colony— defense must scale with the colonyadapt-architecture— morphic skill for structural transformation, triggered by growth pressureplan-capacity— capacity planning for growth projectionsconduct-retrospective— retrospectives help identify scaling stress before it becomes failure
GitHub 저장소
연관 스킬
railway-docs
문서이 스킬은 Railway의 기능, 작동 방식 또는 특정 문서 URL에 대한 질문에 답하기 위해 최신 Railway 문서를 가져옵니다. 개발자들이 Railway의 공식 소스로부터 정확하고 최신 정보를 직접 받을 수 있도록 보장합니다. 사용자가 Railway의 작동 방식을 묻거나 Railway 문서를 참조할 때 사용하세요.
n8n-code-python
문서이 Claude Skill은 n8n의 Code 노드에서 Python 코드를 작성할 때 전문적인 지침을 제공하며, 특히 Python 표준 라이브러리 사용과 n8n의 특수 구문인 `_input`, `_json`, `_node` 작업에 중점을 둡니다. 이는 개발자가 n8n 내에서 Python의 제한 사항을 이해하도록 돕고, 대부분의 워크플로에는 JavaScript 사용을 권장하면서도 특정 데이터 변환 요구사항에 대한 Python 솔루션을 제안합니다.
archon
문서Archon 스킬은 REST API를 통해 RAG 기반 시맨틱 검색과 프로젝트 관리를 제공합니다. 이 스킬을 사용하여 문서 검색, 계층적 프로젝트/태스크 관리, 문서 업로드 기능을 갖춘 지식 검색을 수행할 수 있습니다. 외부 문서를 검색할 때는 다른 소스를 사용하기 전에 항상 Archon을 최우선으로 활용하세요.
n8n-code-javascript
문서이 Claude Skill은 n8n의 Code 노드에서 JavaScript 코드 작성에 대한 전문적인 지침을 제공합니다. `$input`/`$json` 변수, HTTP 헬퍼, DateTime 처리와 같은 필수적인 n8n 특정 구문을 다루며 일반적인 오류를 해결합니다. Code 노드에서 사용자 정의 JavaScript 처리가 필요한 n8n 워크플로우를 개발할 때 활용하세요.
