claude-code-team 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +61 -21
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/claude-code-team.svg)](https://www.npmjs.com/package/claude-code-team)
4
4
 
5
- Orchestrate multiple Claude sessions to work on complex tasks in parallel.
5
+ Orchestrate multiple Claude sessions with hierarchical team structure.
6
6
 
7
7
  ## Installation
8
8
 
@@ -31,22 +31,42 @@ claude --dangerously-skip-permissions
31
31
  ### Give orchestrator a task
32
32
 
33
33
  ```
34
- > Create a web service for generating startup ideas...
34
+ > Analyze Smart Traffic market in Central Asia
35
35
  ```
36
36
 
37
- The orchestrator will:
38
- 1. Ask clarifying questions
39
- 2. Create worker sessions (specialists)
40
- 3. Delegate tasks to workers
41
- 4. Coordinate and aggregate results
37
+ ## Hierarchy
38
+
39
+ ```
40
+ Orchestrator (you talk to this)
41
+ creates & manages
42
+ Leads (Team Leads - coordinate domains)
43
+ ↓ create & manage
44
+ Workers (Specialists - do actual work)
45
+ ```
46
+
47
+ | Level | Creates | Manages | Does Work |
48
+ |-------|---------|---------|-----------|
49
+ | Orchestrator | Leads | Leads | NO |
50
+ | Leads | Workers | Workers | NO |
51
+ | Workers | — | — | YES |
42
52
 
43
53
  ## Project Structure
44
54
 
45
55
  After `cct init`:
46
56
  ```
47
57
  my-project/
48
- ├── CLAUDE.md # Orchestrator (reads this automatically)
49
- └── features/ # Agent & skill templates
58
+ ├── CLAUDE.md # Orchestrator instructions
59
+ ├── features/ # Capabilities catalog
60
+ │ ├── agents.md # Available agent roles
61
+ │ ├── skills.md # Available skills
62
+ │ ├── mcps.md # Available MCP tools
63
+ │ └── commands.md # Available commands
64
+ ├── templates/
65
+ │ └── lead.md # Lead template (for orchestrator)
66
+ ├── leads/ # Empty (leads created on demand)
67
+ ├── .context/ # Shared project context
68
+ ├── .outputs/ # Lead outputs
69
+ └── .sessions/ # Session IDs
50
70
  ```
51
71
 
52
72
  After orchestrator runs:
@@ -54,23 +74,43 @@ After orchestrator runs:
54
74
  my-project/
55
75
  ├── CLAUDE.md
56
76
  ├── features/
57
- ├── .sessions/ # Session IDs for Q&A
58
- ├── .outputs/ # Worker results
77
+ ├── templates/
59
78
  ├── .context/
60
- │ └── project.md # Shared project context
61
- ├── workers/
62
- └── backend_worker/
63
- └── CLAUDE.md # Worker identity
64
- ├── backend/ # Actual code (written by workers)
65
- └── frontend/
79
+ │ └── project.md # Project context (written by orchestrator)
80
+ ├── .sessions/
81
+ ├── orchestrator.id
82
+ └── ba_lead.id
83
+ ├── .outputs/
84
+ │ ├── ba_analysis.md # Lead output
85
+ │ └── ba_lead.status # Completion signal
86
+ └── leads/
87
+ └── ba_lead/
88
+ ├── CLAUDE.md # Lead instructions
89
+ ├── .outputs/ # Worker outputs
90
+ │ ├── market.md
91
+ │ └── competitors.md
92
+ └── workers/
93
+ ├── market_analyst/
94
+ │ └── CLAUDE.md
95
+ └── competitive_analyst/
96
+ └── CLAUDE.md
66
97
  ```
67
98
 
68
99
  ## How It Works
69
100
 
70
- 1. **Orchestrator** reads CLAUDE.md and understands its role
71
- 2. **Orchestrator** creates workers (separate Claude sessions)
72
- 3. **Workers** execute tasks and write results to `.outputs/`
73
- 4. **Orchestrator** aggregates results and responds to user
101
+ 1. **User** gives task to Orchestrator
102
+ 2. **Orchestrator** writes `.context/project.md` and creates Leads
103
+ 3. **Leads** create Workers from `features/` catalog
104
+ 4. **Workers** execute tasks, write to Lead's `.outputs/`
105
+ 5. **Leads** aggregate worker results, write to root `.outputs/`
106
+ 6. **Orchestrator** reads Lead outputs, responds to User
107
+
108
+ ## Workers vs Subagents
109
+
110
+ | Type | Command | Use When |
111
+ |------|---------|----------|
112
+ | Worker | `claude -p "TASK" &` | One-shot, no Q&A |
113
+ | Subagent | `claude --session-id $ID -p "TASK"` | Need iteration |
74
114
 
75
115
  ## License
76
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-team",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Claude Code Team - orchestrate multiple Claude sessions",
5
5
  "bin": {
6
6
  "cct": "./bin/cct.js"