too-many-claw 1.0.2 โ 1.0.3
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.
- package/README.md +152 -152
- package/dist/cli.js +415 -142
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1150 -1150
- package/dist/index.js.map +1 -1
- package/dist/scripts/postinstall.js +1150 -1150
- package/dist/scripts/postinstall.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,155 +1,155 @@
|
|
|
1
1
|
# ๐ฆ Too Many Claw
|
|
2
2
|
|
|
3
|
-
> OpenClaw
|
|
3
|
+
> OpenClaw Extension - 35 AI agents collaborating dynamically
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/too-many-claw)
|
|
6
6
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
7
7
|
|
|
8
|
-
## โจ
|
|
8
|
+
## โจ Features
|
|
9
9
|
|
|
10
|
-
- **35
|
|
11
|
-
-
|
|
12
|
-
- **Discord
|
|
13
|
-
-
|
|
10
|
+
- **35 Specialized Agents** - Development, design, testing, security, psychology counseling, and more
|
|
11
|
+
- **Dynamic Collaboration** - Agents are summoned and dismissed as needed
|
|
12
|
+
- **Discord Integration** - Real-time chat for natural collaboration
|
|
13
|
+
- **Groupthink Prevention** - Critic/verification agents ensure balanced decision-making
|
|
14
14
|
|
|
15
|
-
## ๐ฆ
|
|
15
|
+
## ๐ฆ Installation
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
npm install -g too-many-claw
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
- `openclaw.json
|
|
21
|
+
During installation, the following is automatically set up:
|
|
22
|
+
- 35 workspace directories under `~/.openclaw/`
|
|
23
|
+
- SOUL.md files (agent personas) for each workspace
|
|
24
|
+
- Agent configuration merged into `openclaw.json`
|
|
25
25
|
|
|
26
|
-
## ๐
|
|
26
|
+
## ๐ Quick Start
|
|
27
27
|
|
|
28
|
-
###
|
|
28
|
+
### Interactive Setup (Recommended)
|
|
29
29
|
```bash
|
|
30
|
-
tmc
|
|
30
|
+
tmc setup
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
###
|
|
33
|
+
### Start Discord Bot
|
|
34
34
|
```bash
|
|
35
|
-
tmc
|
|
35
|
+
tmc start
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
###
|
|
38
|
+
### Terminal Simulation (No Discord Required)
|
|
39
39
|
```bash
|
|
40
|
-
tmc
|
|
40
|
+
tmc simulate
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
###
|
|
43
|
+
### Check Agent Status
|
|
44
44
|
```bash
|
|
45
|
-
tmc
|
|
45
|
+
tmc status
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
###
|
|
48
|
+
### List All Agents
|
|
49
49
|
```bash
|
|
50
|
-
tmc
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## ๐ฅ
|
|
54
|
-
|
|
55
|
-
### ๐
|
|
56
|
-
| ID |
|
|
57
|
-
|
|
58
|
-
| `base` | Base | Opus |
|
|
59
|
-
|
|
60
|
-
### ๐
|
|
61
|
-
| ID |
|
|
62
|
-
|
|
63
|
-
| `searcher` |
|
|
64
|
-
| `tech-researcher` |
|
|
65
|
-
| `trend-analyst` |
|
|
66
|
-
| `data-provider` |
|
|
67
|
-
|
|
68
|
-
### ๐
|
|
69
|
-
| ID |
|
|
70
|
-
|
|
71
|
-
| `counselor` |
|
|
72
|
-
| `user-psychologist` |
|
|
73
|
-
| `questioner` |
|
|
74
|
-
| `persuader` |
|
|
75
|
-
| `educator` |
|
|
76
|
-
|
|
77
|
-
### ๐
|
|
78
|
-
| ID |
|
|
79
|
-
|
|
80
|
-
| `planner` |
|
|
81
|
-
| `team-composer` |
|
|
82
|
-
| `promoter` |
|
|
83
|
-
| `uploader` |
|
|
84
|
-
|
|
85
|
-
### โ๏ธ
|
|
86
|
-
| ID |
|
|
87
|
-
|
|
88
|
-
| `backend-dev` |
|
|
89
|
-
| `frontend-dev` |
|
|
90
|
-
| `designer` |
|
|
91
|
-
| `code-reviewer` |
|
|
92
|
-
| `doc-writer` |
|
|
93
|
-
| `automator` |
|
|
94
|
-
| `prompt-engineer` |
|
|
95
|
-
| `ai-illustrator` | AI
|
|
96
|
-
|
|
97
|
-
### ๐งช
|
|
98
|
-
| ID |
|
|
99
|
-
|
|
100
|
-
| `program-tester` |
|
|
101
|
-
| `user-tester` |
|
|
102
|
-
| `security-checker` |
|
|
103
|
-
| `vuln-finder` |
|
|
104
|
-
| `pentester` |
|
|
105
|
-
|
|
106
|
-
### ๐ง
|
|
107
|
-
| ID |
|
|
108
|
-
|
|
109
|
-
| `fact-bomber` |
|
|
110
|
-
| `roaster` |
|
|
111
|
-
| `critic` |
|
|
112
|
-
| `negativist` |
|
|
113
|
-
| `praiser` |
|
|
114
|
-
|
|
115
|
-
### ๐ณ๏ธ
|
|
116
|
-
| ID |
|
|
117
|
-
|
|
118
|
-
| `loophole-finder` |
|
|
119
|
-
| `threatener` |
|
|
120
|
-
| `dirty-worker` |
|
|
121
|
-
|
|
122
|
-
## ๐ฌ
|
|
123
|
-
|
|
124
|
-
###
|
|
125
|
-
```
|
|
126
|
-
@searcher
|
|
127
|
-
@backend-dev @frontend-dev
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
###
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
|
|
135
|
-
###
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
## ๐ Discord
|
|
143
|
-
|
|
144
|
-
```
|
|
145
|
-
#chat -
|
|
146
|
-
#status -
|
|
147
|
-
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
## โ๏ธ
|
|
151
|
-
|
|
152
|
-
###
|
|
50
|
+
tmc agents
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## ๐ฅ Agent Directory
|
|
54
|
+
|
|
55
|
+
### ๐ Core
|
|
56
|
+
| ID | Name | Model | Role |
|
|
57
|
+
|----|------|-------|------|
|
|
58
|
+
| `base` | Base | Opus | Team Coordinator (always active) |
|
|
59
|
+
|
|
60
|
+
### ๐ Research
|
|
61
|
+
| ID | Name | Model | Role |
|
|
62
|
+
|----|------|-------|------|
|
|
63
|
+
| `searcher` | Search Specialist | Sonnet | Information search and resource collection |
|
|
64
|
+
| `tech-researcher` | Technology Research Specialist | Sonnet | Technology trend investigation |
|
|
65
|
+
| `trend-analyst` | Trend Analysis Specialist | Sonnet | Market/trend analysis |
|
|
66
|
+
| `data-provider` | Data Preparation Specialist | Sonnet | Data collection/processing |
|
|
67
|
+
|
|
68
|
+
### ๐ Psychology
|
|
69
|
+
| ID | Name | Model | Role |
|
|
70
|
+
|----|------|-------|------|
|
|
71
|
+
| `counselor` | Psychological Counselor | Sonnet | Emotional support and counseling |
|
|
72
|
+
| `user-psychologist` | User Psychology Analyst | Opus | User intent analysis |
|
|
73
|
+
| `questioner` | Questioning Specialist | Sonnet | Requirements clarification |
|
|
74
|
+
| `persuader` | Rational Persuasion Specialist | Sonnet | Logical persuasion/mediation |
|
|
75
|
+
| `educator` | Education Specialist | Sonnet | Concept explanation/teaching |
|
|
76
|
+
|
|
77
|
+
### ๐ Planning
|
|
78
|
+
| ID | Name | Model | Role |
|
|
79
|
+
|----|------|-------|------|
|
|
80
|
+
| `planner` | Professional Planning Specialist | Opus | Planning/roadmaps |
|
|
81
|
+
| `team-composer` | Agent Team Composition Specialist | Sonnet | Optimal team composition |
|
|
82
|
+
| `promoter` | Promotion Specialist | Sonnet | Marketing/branding |
|
|
83
|
+
| `uploader` | Uploader | Haiku | Deployment/release |
|
|
84
|
+
|
|
85
|
+
### โ๏ธ Development
|
|
86
|
+
| ID | Name | Model | Role |
|
|
87
|
+
|----|------|-------|------|
|
|
88
|
+
| `backend-dev` | Backend Developer | Sonnet | Server/API/DB |
|
|
89
|
+
| `frontend-dev` | Frontend Developer | Sonnet | UI/UX implementation |
|
|
90
|
+
| `designer` | Professional Designer | Sonnet | UI/UX design |
|
|
91
|
+
| `code-reviewer` | Code Reviewer | Sonnet | Code quality review |
|
|
92
|
+
| `doc-writer` | Documentation Specialist | Sonnet | Documentation |
|
|
93
|
+
| `automator` | Automation Specialist | Sonnet | Workflow automation |
|
|
94
|
+
| `prompt-engineer` | Prompt Engineer | Sonnet | AI prompt optimization |
|
|
95
|
+
| `ai-illustrator` | AI Illustration Generation Specialist | Sonnet | AI image generation |
|
|
96
|
+
|
|
97
|
+
### ๐งช Testing/Security
|
|
98
|
+
| ID | Name | Model | Role |
|
|
99
|
+
|----|------|-------|------|
|
|
100
|
+
| `program-tester` | Program Testing Specialist | Sonnet | Technical testing/QA |
|
|
101
|
+
| `user-tester` | General User Testing Specialist | Sonnet | Usability verification |
|
|
102
|
+
| `security-checker` | Security Check Specialist | Sonnet | Security checklist |
|
|
103
|
+
| `vuln-finder` | Vulnerability Discovery Specialist | Sonnet | Vulnerability analysis |
|
|
104
|
+
| `pentester` | Penetration Testing Specialist | Opus | Penetration testing |
|
|
105
|
+
|
|
106
|
+
### ๐ง Critique (Groupthink Prevention)
|
|
107
|
+
| ID | Name | Model | Role |
|
|
108
|
+
|----|------|-------|------|
|
|
109
|
+
| `fact-bomber` | Fact Check Specialist | Sonnet | Fact checking |
|
|
110
|
+
| `roaster` | Blunt Critic | Sonnet | Direct criticism |
|
|
111
|
+
| `critic` | Critic | Opus | Logical criticism |
|
|
112
|
+
| `negativist` | Negative Agent | Sonnet | Risk analysis |
|
|
113
|
+
| `praiser` | Praise Specialist | Haiku | Motivation/encouragement |
|
|
114
|
+
|
|
115
|
+
### ๐ณ๏ธ Special Roles
|
|
116
|
+
| ID | Name | Model | Role |
|
|
117
|
+
|----|------|-------|------|
|
|
118
|
+
| `loophole-finder` | Loophole Discovery Specialist | Sonnet | Optimization within rules |
|
|
119
|
+
| `threatener` | Pressure Specialist | Sonnet | Deadline pressure |
|
|
120
|
+
| `dirty-worker` | Dirty Worker | Haiku | Undesirable tasks |
|
|
121
|
+
|
|
122
|
+
## ๐ฌ Communication
|
|
123
|
+
|
|
124
|
+
### Summoning Agents
|
|
125
|
+
```
|
|
126
|
+
@searcher Find this for me
|
|
127
|
+
@backend-dev @frontend-dev Work together on this
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Agent Exit
|
|
131
|
+
- **Voluntary Exit**: Agent declares `(exit)` when work is complete
|
|
132
|
+
- **Command Exit**: Base commands `@agent-name exit`
|
|
133
|
+
- **Handoff Exit**: Exit while handing work to another agent
|
|
134
|
+
|
|
135
|
+
### Message Format
|
|
136
|
+
```
|
|
137
|
+
Entry: "๐ฌ Tech Researcher (entering) Got it, I'll investigate."
|
|
138
|
+
Normal: "๐ฌ Tech Researcher Here are my findings. ..."
|
|
139
|
+
Exit: "๐ฌ Tech Researcher Investigation complete. (exiting)"
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## ๐ Discord Channel Structure
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
#chat - Main conversation channel (all communication)
|
|
146
|
+
#status - Automatic agent entry/exit logs
|
|
147
|
+
Threads - For complex task separation
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## โ๏ธ Configuration
|
|
151
|
+
|
|
152
|
+
### Environment Variables
|
|
153
153
|
```bash
|
|
154
154
|
DISCORD_TOKEN=your_bot_token
|
|
155
155
|
DISCORD_GUILD_ID=your_server_id
|
|
@@ -157,65 +157,65 @@ DISCORD_CHAT_CHANNEL_ID=chat_channel_id
|
|
|
157
157
|
DISCORD_STATUS_CHANNEL_ID=status_channel_id
|
|
158
158
|
```
|
|
159
159
|
|
|
160
|
-
###
|
|
161
|
-
- `~/.openclaw/too-many-claw.json` - Discord
|
|
162
|
-
- `~/.openclaw/openclaw.json` -
|
|
163
|
-
- `~/.openclaw/workspace-{id}/SOUL.md` -
|
|
160
|
+
### Configuration Files
|
|
161
|
+
- `~/.openclaw/too-many-claw.json` - Discord settings and webhook URLs
|
|
162
|
+
- `~/.openclaw/openclaw.json` - Agent definitions (auto-merged)
|
|
163
|
+
- `~/.openclaw/workspace-{id}/SOUL.md` - Agent personas
|
|
164
164
|
|
|
165
|
-
## ๐ง
|
|
165
|
+
## ๐ง Development
|
|
166
166
|
|
|
167
167
|
```bash
|
|
168
|
-
#
|
|
168
|
+
# Install dependencies
|
|
169
169
|
npm install
|
|
170
170
|
|
|
171
|
-
#
|
|
171
|
+
# Development mode
|
|
172
172
|
npm run dev
|
|
173
173
|
|
|
174
|
-
#
|
|
174
|
+
# Build
|
|
175
175
|
npm run build
|
|
176
176
|
```
|
|
177
177
|
|
|
178
|
-
## ๐
|
|
178
|
+
## ๐ Deployment (npm publish)
|
|
179
179
|
|
|
180
|
-
### GitHub Actions
|
|
180
|
+
### Automatic Deployment via GitHub Actions
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
This project is automatically deployed to npm via GitHub Actions.
|
|
183
183
|
|
|
184
|
-
#### 1. npm
|
|
184
|
+
#### 1. npm Token Setup
|
|
185
185
|
|
|
186
|
-
1. [npmjs.com](https://www.npmjs.com/)
|
|
186
|
+
1. Generate Access Token at [npmjs.com](https://www.npmjs.com/)
|
|
187
187
|
- Account โ Access Tokens โ Generate New Token โ Automation
|
|
188
|
-
2. GitHub
|
|
189
|
-
3. `NPM_TOKEN`
|
|
188
|
+
2. Go to GitHub repository Settings โ Secrets and variables โ Actions
|
|
189
|
+
3. Add Secret named `NPM_TOKEN`
|
|
190
190
|
|
|
191
|
-
#### 2.
|
|
191
|
+
#### 2. Deployment Triggers
|
|
192
192
|
|
|
193
|
-
|
|
193
|
+
**Method A: Tag Push**
|
|
194
194
|
```bash
|
|
195
|
-
#
|
|
196
|
-
npm version patch #
|
|
195
|
+
# Update version
|
|
196
|
+
npm version patch # or minor, major
|
|
197
197
|
|
|
198
|
-
#
|
|
198
|
+
# Push tags (triggers auto-deployment)
|
|
199
199
|
git push --tags
|
|
200
200
|
```
|
|
201
201
|
|
|
202
|
-
|
|
202
|
+
**Method B: GitHub Release**
|
|
203
203
|
1. GitHub โ Releases โ Create a new release
|
|
204
|
-
2.
|
|
205
|
-
3.
|
|
204
|
+
2. Create tag (e.g., `v1.0.3`)
|
|
205
|
+
3. Publish release โ Auto-deployment
|
|
206
206
|
|
|
207
|
-
#### 3.
|
|
207
|
+
#### 3. Workflow Files
|
|
208
208
|
|
|
209
|
-
- `.github/workflows/ci.yml` -
|
|
210
|
-
- `.github/workflows/publish.yml` -
|
|
209
|
+
- `.github/workflows/ci.yml` - Build tests on PR/push (Node 18, 20, 22)
|
|
210
|
+
- `.github/workflows/publish.yml` - npm deployment on tag/release
|
|
211
211
|
|
|
212
|
-
###
|
|
212
|
+
### Manual Deployment
|
|
213
213
|
|
|
214
214
|
```bash
|
|
215
215
|
npm run build
|
|
216
216
|
npm publish --access public
|
|
217
217
|
```
|
|
218
218
|
|
|
219
|
-
## ๐
|
|
219
|
+
## ๐ License
|
|
220
220
|
|
|
221
221
|
Apache 2.0 ยฉ 2024
|