helloagents 1.1.0 → 2.2.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.
- package/LICENSE.md +51 -0
- package/README.md +440 -841
- package/bin/cli.mjs +106 -0
- package/package.json +23 -38
- package/Claude/Skills/CN/CLAUDE.md +0 -998
- package/Claude/Skills/CN/skills/helloagents/analyze/SKILL.md +0 -187
- package/Claude/Skills/CN/skills/helloagents/design/SKILL.md +0 -261
- package/Claude/Skills/CN/skills/helloagents/develop/SKILL.md +0 -352
- package/Claude/Skills/CN/skills/helloagents/kb/SKILL.md +0 -249
- package/Claude/Skills/CN/skills/helloagents/templates/SKILL.md +0 -451
- package/Claude/Skills/EN/CLAUDE.md +0 -998
- package/Claude/Skills/EN/skills/helloagents/analyze/SKILL.md +0 -187
- package/Claude/Skills/EN/skills/helloagents/design/SKILL.md +0 -261
- package/Claude/Skills/EN/skills/helloagents/develop/SKILL.md +0 -352
- package/Claude/Skills/EN/skills/helloagents/kb/SKILL.md +0 -249
- package/Claude/Skills/EN/skills/helloagents/templates/SKILL.md +0 -451
- package/Codex/Skills/CN/AGENTS.md +0 -998
- package/Codex/Skills/CN/skills/helloagents/analyze/SKILL.md +0 -187
- package/Codex/Skills/CN/skills/helloagents/design/SKILL.md +0 -261
- package/Codex/Skills/CN/skills/helloagents/develop/SKILL.md +0 -352
- package/Codex/Skills/CN/skills/helloagents/kb/SKILL.md +0 -249
- package/Codex/Skills/CN/skills/helloagents/templates/SKILL.md +0 -451
- package/Codex/Skills/EN/AGENTS.md +0 -998
- package/Codex/Skills/EN/skills/helloagents/analyze/SKILL.md +0 -187
- package/Codex/Skills/EN/skills/helloagents/design/SKILL.md +0 -261
- package/Codex/Skills/EN/skills/helloagents/develop/SKILL.md +0 -352
- package/Codex/Skills/EN/skills/helloagents/kb/SKILL.md +0 -249
- package/Codex/Skills/EN/skills/helloagents/templates/SKILL.md +0 -451
- package/bin/cli.js +0 -85
- package/lib/args.js +0 -106
- package/lib/backup.js +0 -81
- package/lib/conflict.js +0 -118
- package/lib/copy.js +0 -125
- package/lib/defaults.js +0 -47
- package/lib/index.js +0 -297
- package/lib/output.js +0 -220
- package/lib/prompts.js +0 -173
- package/lib/utils.js +0 -225
package/README.md
CHANGED
|
@@ -1,841 +1,440 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
[![
|
|
12
|
-
[![
|
|
13
|
-
|
|
14
|
-
[
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
- **
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
**Your
|
|
99
|
-
|
|
100
|
-
</
|
|
101
|
-
<
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
**
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
**
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
###
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
###
|
|
402
|
-
|
|
403
|
-
**
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
<thinking>
|
|
442
|
-
1. Analyze each scoring dimension:
|
|
443
|
-
- Goal Clarity (0-3): User wants "optimization" but doesn't specify what → 1 point
|
|
444
|
-
- Expected Results (0-3): No success criteria mentioned → 1 point
|
|
445
|
-
- Scope Boundaries (0-2): "the code" is too vague → 0 points
|
|
446
|
-
- Constraints (0-2): No constraints → 0 points
|
|
447
|
-
2. Evidence: User said "optimize the code" without specifics
|
|
448
|
-
3. Missing info: Which module? What problem? What metrics?
|
|
449
|
-
4. Total: 2/10 points
|
|
450
|
-
5. Decision: Must ask follow-up questions
|
|
451
|
-
</thinking>
|
|
452
|
-
```
|
|
453
|
-
|
|
454
|
-
**Targeted Follow-up Questions:**
|
|
455
|
-
|
|
456
|
-
The system asks only what it doesn't know:
|
|
457
|
-
- ✅ "Which module needs optimization?" (user hasn't specified)
|
|
458
|
-
- ✅ "What specific problem are you facing?" (not mentioned)
|
|
459
|
-
- ❌ ~~"What framework are you using?"~~ (already known from codebase)
|
|
460
|
-
- ❌ ~~"What's the project structure?"~~ (already scanned)
|
|
461
|
-
|
|
462
|
-
---
|
|
463
|
-
|
|
464
|
-
## 📖 Documentation
|
|
465
|
-
|
|
466
|
-
### Core Concepts
|
|
467
|
-
|
|
468
|
-
<table>
|
|
469
|
-
<tr><th>Concept</th><th>Definition</th><th>Why It Matters</th></tr>
|
|
470
|
-
|
|
471
|
-
<tr>
|
|
472
|
-
<td><strong>Semantic Analysis</strong></td>
|
|
473
|
-
<td>Understanding request meaning through NLU, not keyword matching</td>
|
|
474
|
-
<td>Enables accurate intent detection even with ambiguous phrasing</td>
|
|
475
|
-
</tr>
|
|
476
|
-
|
|
477
|
-
<tr>
|
|
478
|
-
<td><strong>Intent Classification</strong></td>
|
|
479
|
-
<td>Categorizing user requests into Q&A, Modification, or Command types</td>
|
|
480
|
-
<td>Determines whether to route to Q&A, development workflow, or command execution</td>
|
|
481
|
-
</tr>
|
|
482
|
-
|
|
483
|
-
<tr>
|
|
484
|
-
<td><strong>Requirement Scoring</strong></td>
|
|
485
|
-
<td>10-point scale across 4 dimensions with ≥7 threshold</td>
|
|
486
|
-
<td>Prevents wasted effort on poorly-defined requirements</td>
|
|
487
|
-
</tr>
|
|
488
|
-
|
|
489
|
-
<tr>
|
|
490
|
-
<td><strong>Follow-up Mechanism</strong></td>
|
|
491
|
-
<td>Targeted questions when score <7, avoiding known information</td>
|
|
492
|
-
<td>Efficient requirement gathering without redundant questions</td>
|
|
493
|
-
</tr>
|
|
494
|
-
|
|
495
|
-
<tr>
|
|
496
|
-
<td><strong>Phase Management</strong></td>
|
|
497
|
-
<td>3-phase workflow: Analysis → Design → Implementation</td>
|
|
498
|
-
<td>Ensures systematic progression with clear checkpoints</td>
|
|
499
|
-
</tr>
|
|
500
|
-
|
|
501
|
-
<tr>
|
|
502
|
-
<td><strong>State Management (G12)</strong></td>
|
|
503
|
-
<td>Variables tracking packages, modes, and context</td>
|
|
504
|
-
<td>Maintains consistency across multi-turn interactions</td>
|
|
505
|
-
</tr>
|
|
506
|
-
|
|
507
|
-
<tr>
|
|
508
|
-
<td><strong>G3 Uncertainty Principles</strong></td>
|
|
509
|
-
<td>Explicit disclosure of assumptions and conservative fallback</td>
|
|
510
|
-
<td>Transparent decision-making, no hidden guesswork</td>
|
|
511
|
-
</tr>
|
|
512
|
-
|
|
513
|
-
<tr>
|
|
514
|
-
<td><strong>EHRB Detection</strong></td>
|
|
515
|
-
<td>Extreme High-Risk Behavior identification and escalation</td>
|
|
516
|
-
<td>Automatic safety guardrails for dangerous operations</td>
|
|
517
|
-
</tr>
|
|
518
|
-
|
|
519
|
-
</table>
|
|
520
|
-
|
|
521
|
-
### Special Commands
|
|
522
|
-
|
|
523
|
-
| Command | Mode | When to Use | Example |
|
|
524
|
-
|---------|------|-------------|---------|
|
|
525
|
-
| `~auto` / `~fa` | Full Authorization | Trust agent for complete Analysis→Design→Develop | `~auto "Add login"` |
|
|
526
|
-
| `~plan` / `~design` | Planning Only | Design solution for review before execution | `~plan "Refactor DB"` |
|
|
527
|
-
| `~exec` / `~run` | Execution Only | Run pre-approved plan from `plan/` | `~exec` |
|
|
528
|
-
| `~init` / `~wiki` | Knowledge Base | Initialize or refresh KB from codebase | `~init` |
|
|
529
|
-
|
|
530
|
-
### State Variables (G12)
|
|
531
|
-
|
|
532
|
-
```yaml
|
|
533
|
-
CREATED_PACKAGE: Solution package path created during Design phase
|
|
534
|
-
- Set: After detailed planning creates package
|
|
535
|
-
- Read: By Develop step 1 in Full Auth mode
|
|
536
|
-
- Clear: After read or process terminated
|
|
537
|
-
|
|
538
|
-
CURRENT_PACKAGE: Currently executing solution package path
|
|
539
|
-
- Set: When Develop determines which package to execute
|
|
540
|
-
- Use: Excluded from legacy plan scan
|
|
541
|
-
- Clear: After migration to history/
|
|
542
|
-
|
|
543
|
-
MODE_FULL_AUTH: Full authorization command active state
|
|
544
|
-
MODE_PLANNING: Planning command active state
|
|
545
|
-
MODE_EXECUTION: Execution command active state
|
|
546
|
-
- Track: Active special command state
|
|
547
|
-
- Control: Silent execution behavior
|
|
548
|
-
- Clear: When command completes or user cancels
|
|
549
|
-
```
|
|
550
|
-
|
|
551
|
-
### GPT/SKILLS Compliant Rule Structure
|
|
552
|
-
|
|
553
|
-
HelloAGENTS follows official guidelines for AI agent ruleset design:
|
|
554
|
-
|
|
555
|
-
```yaml
|
|
556
|
-
Rule Structure Pattern:
|
|
557
|
-
- Global rules (G1-G12): Universal constraints and principles
|
|
558
|
-
- Modular skills: Lazy-loaded detailed procedures
|
|
559
|
-
- XML-like tags: <uncertainty_principles>, <routing_rules>
|
|
560
|
-
- CRITICAL markers: ⚠️ for mandatory enforcement
|
|
561
|
-
- Hierarchical organization: Phase → Step → Action
|
|
562
|
-
|
|
563
|
-
Output Format Compliance:
|
|
564
|
-
- Template method pattern: Consistent structure across all outputs
|
|
565
|
-
- Status symbols: ✅❓⚠️🚫❌💡 with defined meanings
|
|
566
|
-
- Validation checklist: Self-check before output
|
|
567
|
-
- Language rules: G1 OUTPUT_LANGUAGE enforcement
|
|
568
|
-
```
|
|
569
|
-
|
|
570
|
-
---
|
|
571
|
-
|
|
572
|
-
## ❓ FAQ
|
|
573
|
-
|
|
574
|
-
<details>
|
|
575
|
-
<summary><strong>Q: How does semantic analysis differ from keyword matching?</strong></summary>
|
|
576
|
-
|
|
577
|
-
**A:** Semantic analysis understands meaning, not just words:
|
|
578
|
-
|
|
579
|
-
| Input | Keyword Matching | Semantic Analysis |
|
|
580
|
-
|-------|------------------|-------------------|
|
|
581
|
-
| "Make login faster" | Might miss "faster" = performance | Understands: optimization request for login module |
|
|
582
|
-
| "Fix the thing that broke" | Can't determine what "thing" is | Asks targeted follow-up about specific error |
|
|
583
|
-
| "Add OAuth like we discussed" | Doesn't know context | Checks conversation history for OAuth details |
|
|
584
|
-
|
|
585
|
-
</details>
|
|
586
|
-
|
|
587
|
-
<details>
|
|
588
|
-
<summary><strong>Q: Why is requirement scoring important?</strong></summary>
|
|
589
|
-
|
|
590
|
-
**A:** Without scoring, agents often:
|
|
591
|
-
- Start coding with incomplete understanding
|
|
592
|
-
- Produce solutions that miss the actual need
|
|
593
|
-
- Require multiple rounds of correction
|
|
594
|
-
|
|
595
|
-
With the 10-point system:
|
|
596
|
-
- Clear threshold (≥7) before proceeding
|
|
597
|
-
- Targeted questions fill specific gaps
|
|
598
|
-
- Higher first-attempt success rate
|
|
599
|
-
</details>
|
|
600
|
-
|
|
601
|
-
<details>
|
|
602
|
-
<summary><strong>Q: What happens when the agent is uncertain?</strong></summary>
|
|
603
|
-
|
|
604
|
-
**A:** G3 Uncertainty Principles require:
|
|
605
|
-
1. **Explicit disclosure**: "⚠️ Uncertainty Factor: [description]"
|
|
606
|
-
2. **List assumptions**: What the decision is based on
|
|
607
|
-
3. **Conservative choice**: Safer/more complete path
|
|
608
|
-
4. **Alternatives**: 2-3 options if reasonable
|
|
609
|
-
|
|
610
|
-
Example:
|
|
611
|
-
```
|
|
612
|
-
⚠️ Uncertainty Factor: Scope at Quick Fix vs Light Iteration boundary
|
|
613
|
-
- Assumption: Implementation may touch more files
|
|
614
|
-
- Decision: Using Light Iteration (safer choice)
|
|
615
|
-
- Alternative: If confirmed ≤2 files, can switch to Quick Fix
|
|
616
|
-
```
|
|
617
|
-
</details>
|
|
618
|
-
|
|
619
|
-
<details>
|
|
620
|
-
<summary><strong>Q: How does state management prevent context loss?</strong></summary>
|
|
621
|
-
|
|
622
|
-
**A:** G12 state variables maintain:
|
|
623
|
-
- **CREATED_PACKAGE**: Links Design output to Develop input
|
|
624
|
-
- **CURRENT_PACKAGE**: Tracks what's being executed
|
|
625
|
-
- **MODE_***: Remembers active command context
|
|
626
|
-
|
|
627
|
-
This ensures:
|
|
628
|
-
- Develop executes the right plan (not an old one)
|
|
629
|
-
- Legacy scan excludes current work
|
|
630
|
-
- Commands can be cancelled cleanly
|
|
631
|
-
</details>
|
|
632
|
-
|
|
633
|
-
<details>
|
|
634
|
-
<summary><strong>Q: What makes HelloAGENTS "human-centric"?</strong></summary>
|
|
635
|
-
|
|
636
|
-
**A:** Several design choices:
|
|
637
|
-
- **Transparent decisions**: G3 explains why, not just what
|
|
638
|
-
- **Targeted questions**: Doesn't ask what it already knows
|
|
639
|
-
- **Unified format**: Predictable, consistent outputs
|
|
640
|
-
- **Phase confirmations**: User can review before proceeding
|
|
641
|
-
- **Safe defaults**: Conservative routing, EHRB detection
|
|
642
|
-
</details>
|
|
643
|
-
|
|
644
|
-
<details>
|
|
645
|
-
<summary><strong>Q: Is this compliant with GPT/SKILLS official guidelines?</strong></summary>
|
|
646
|
-
|
|
647
|
-
**A:** Yes, HelloAGENTS follows official patterns:
|
|
648
|
-
- **Modular architecture**: Skills loaded on-demand
|
|
649
|
-
- **XML-like tags**: For structured rule sections
|
|
650
|
-
- **CRITICAL markers**: Clear mandatory vs. optional rules
|
|
651
|
-
- **Template method**: Consistent output structure
|
|
652
|
-
- **State management**: Explicit variable tracking
|
|
653
|
-
</details>
|
|
654
|
-
|
|
655
|
-
---
|
|
656
|
-
|
|
657
|
-
## 🛠️ Troubleshooting
|
|
658
|
-
|
|
659
|
-
### Routing Issues
|
|
660
|
-
|
|
661
|
-
**Problem:** Agent routes to wrong workflow
|
|
662
|
-
|
|
663
|
-
**Cause:** Ambiguous scope or missing context
|
|
664
|
-
|
|
665
|
-
**Solution:**
|
|
666
|
-
```bash
|
|
667
|
-
# ❌ Vague (uncertain scope)
|
|
668
|
-
"Add error handling"
|
|
669
|
-
|
|
670
|
-
# ✅ Specific (clear scope)
|
|
671
|
-
"Add try-catch error handling to login.ts and signup.ts (2 files, ~20 lines each)"
|
|
672
|
-
```
|
|
673
|
-
|
|
674
|
-
---
|
|
675
|
-
|
|
676
|
-
**Problem:** Requirement score always <7, constant follow-ups
|
|
677
|
-
|
|
678
|
-
**Cause:** Request lacks required dimensions
|
|
679
|
-
|
|
680
|
-
**Solution:**
|
|
681
|
-
```bash
|
|
682
|
-
# ❌ Missing dimensions (scores ~2-3/10)
|
|
683
|
-
"Optimize the code"
|
|
684
|
-
|
|
685
|
-
# ✅ All dimensions covered (scores 8-9/10)
|
|
686
|
-
"Optimize the ProductList component (src/components/ProductList.tsx)
|
|
687
|
-
to reduce re-renders. Currently renders 50+ times per page load.
|
|
688
|
-
Target: <10 renders. Must maintain existing filter functionality."
|
|
689
|
-
```
|
|
690
|
-
|
|
691
|
-
---
|
|
692
|
-
|
|
693
|
-
### State Issues
|
|
694
|
-
|
|
695
|
-
**Problem:** Wrong solution package executed
|
|
696
|
-
|
|
697
|
-
**Cause:** State variables not properly set/cleared
|
|
698
|
-
|
|
699
|
-
**Solution:**
|
|
700
|
-
```bash
|
|
701
|
-
# Check current state by asking:
|
|
702
|
-
"What is the current CREATED_PACKAGE and CURRENT_PACKAGE?"
|
|
703
|
-
|
|
704
|
-
# If stuck, reset by:
|
|
705
|
-
"Cancel current operation and start fresh"
|
|
706
|
-
```
|
|
707
|
-
|
|
708
|
-
---
|
|
709
|
-
|
|
710
|
-
## 🆚 Comparison with Other Approaches
|
|
711
|
-
|
|
712
|
-
| Approach | Pros | Cons | HelloAGENTS Advantage |
|
|
713
|
-
|----------|------|------|----------------------|
|
|
714
|
-
| **Raw AI Prompts** | Flexible | No structure, inconsistent | Semantic routing + unified format |
|
|
715
|
-
| **Cursor / Copilot** | IDE-integrated | No requirement validation | 10-point scoring + follow-ups |
|
|
716
|
-
| **Custom Prompts** | Tailored | No state management | G12 state + G11 lifecycle |
|
|
717
|
-
| **AutoGPT** | Autonomous | Black-box decisions | G3 uncertainty disclosure |
|
|
718
|
-
| **Aider** | Good refactoring | Unix-only, no phases | Cross-platform + 3-phase workflow |
|
|
719
|
-
|
|
720
|
-
---
|
|
721
|
-
|
|
722
|
-
## 📈 Version History
|
|
723
|
-
|
|
724
|
-
### Latest: 2025-12-18.2 🎉
|
|
725
|
-
|
|
726
|
-
**New in this version:**
|
|
727
|
-
- 🔴 **Renamed**: "Modular AI Programming Skill System" → "AI Programming Modular Skill System"
|
|
728
|
-
- ✨ **Enhanced**: Windows PowerShell syntax constraints (G1)
|
|
729
|
-
- Added: File operations -Force, Environment variables $env:VAR
|
|
730
|
-
- Added: Parameter combination validation, Command chaining rules
|
|
731
|
-
- Added: Comparison operators (-gt/-lt), Null comparison ($null placement)
|
|
732
|
-
|
|
733
|
-
**Previous: 2025-12-16.2**
|
|
734
|
-
- ✨ Modular Skills System (5 independent skills)
|
|
735
|
-
- ✨ Complexity Router (4 adaptive workflows)
|
|
736
|
-
- ✨ G3 Uncertainty Principles
|
|
737
|
-
- ✨ Cross-Platform Compatibility
|
|
738
|
-
- 📦 70% smaller core ruleset
|
|
739
|
-
|
|
740
|
-
[View Full Changelog →](./CHANGELOG.md)
|
|
741
|
-
|
|
742
|
-
---
|
|
743
|
-
|
|
744
|
-
## 🤝 Contributing
|
|
745
|
-
|
|
746
|
-
1. **Fork & Clone** the repository
|
|
747
|
-
2. **Create feature branch**: `git checkout -b feature/my-improvement`
|
|
748
|
-
3. **Follow conventions**: Conventional Commits, update CHANGELOG
|
|
749
|
-
4. **Submit PR** with description
|
|
750
|
-
|
|
751
|
-
### Contribution Ideas
|
|
752
|
-
- 🐛 Found a bug? [Report it](https://github.com/hellowind777/helloagents/issues)
|
|
753
|
-
- 💡 Have an idea? [Discuss it](https://github.com/hellowind777/helloagents/discussions)
|
|
754
|
-
- 🌍 Translate skills to other languages
|
|
755
|
-
- 🎨 Create domain-specific skills (mobile, data science)
|
|
756
|
-
|
|
757
|
-
---
|
|
758
|
-
|
|
759
|
-
## 🔒 Security
|
|
760
|
-
|
|
761
|
-
**We take security seriously.**
|
|
762
|
-
|
|
763
|
-
- ✅ EHRB detection (G9) protects against prod operations
|
|
764
|
-
- ✅ No hardcoded secrets allowed
|
|
765
|
-
- ✅ Cross-platform command validation
|
|
766
|
-
- ✅ Automatic workflow escalation on risk detection
|
|
767
|
-
|
|
768
|
-
**Found a vulnerability?** Report privately via [GitHub Discussions](https://github.com/hellowind777/helloagents/discussions)
|
|
769
|
-
|
|
770
|
-
---
|
|
771
|
-
|
|
772
|
-
## 📜 License & Attribution (**Commercial use allowed, attribution required**)
|
|
773
|
-
|
|
774
|
-
To ensure "commercial use allowed + attribution required", this project adopts a **dual-license** scheme:
|
|
775
|
-
|
|
776
|
-
1. **Code** — **Apache License 2.0** © 2025 Hellowind
|
|
777
|
-
- Commercial use is allowed. You must retain **LICENSE** and **NOTICE** information in your distribution.
|
|
778
|
-
- Include a `NOTICE` in your distribution (example):
|
|
779
|
-
<pre>
|
|
780
|
-
This product includes "HelloAGENTS" (author: <a href="https://github.com/hellowind777/helloagents">Hellowind</a>), licensed under the Apache License 2.0.
|
|
781
|
-
</pre>
|
|
782
|
-
|
|
783
|
-
2. **Documentation (README/PROJECTWIKI/Diagrams)** — **CC BY 4.0** © 2025 Hellowind
|
|
784
|
-
- Commercial use is allowed, but **attribution is required**; provide a license link and indicate whether changes were made.
|
|
785
|
-
- Suggested attribution when reusing documentation:
|
|
786
|
-
<pre>
|
|
787
|
-
Text/graphics adapted from "HelloAGENTS" — © 2025 <a href="https://github.com/hellowind777/helloagents">Hellowind</a>, CC BY 4.0.
|
|
788
|
-
</pre>
|
|
789
|
-
|
|
790
|
-
3. **Unified attribution suggestion (for both code and docs):**
|
|
791
|
-
<pre>
|
|
792
|
-
HelloAGENTS — © 2025 <a href="https://github.com/hellowind777/helloagents">Hellowind</a>. Code: Apache-2.0; Docs: CC BY 4.0.
|
|
793
|
-
</pre>
|
|
794
|
-
|
|
795
|
-
---
|
|
796
|
-
|
|
797
|
-
## 🙏 Acknowledgments
|
|
798
|
-
|
|
799
|
-
**Inspired by:**
|
|
800
|
-
- [Mermaid](https://mermaid.js.org/) — Beautiful diagrams
|
|
801
|
-
- [Conventional Commits](https://www.conventionalcommits.org/) — Commit standards
|
|
802
|
-
- [Keep a Changelog](https://keepachangelog.com/) — Version management
|
|
803
|
-
- GPT/SKILLS Official Guidelines — Rule structure patterns
|
|
804
|
-
|
|
805
|
-
**Community:**
|
|
806
|
-
- All contributors who submitted PRs
|
|
807
|
-
- Early adopters who provided feedback
|
|
808
|
-
- You, for reading this far! 🎉
|
|
809
|
-
|
|
810
|
-
---
|
|
811
|
-
|
|
812
|
-
## 📞 Support & Community
|
|
813
|
-
|
|
814
|
-
- 📖 **Documentation**: You're reading it!
|
|
815
|
-
- 💬 **Discussions**: [GitHub Discussions](https://github.com/hellowind777/helloagents/discussions)
|
|
816
|
-
- 🐛 **Bug Reports**: [GitHub Issues](https://github.com/hellowind777/helloagents/issues)
|
|
817
|
-
- 💡 **Feature Requests**: [GitHub Discussions](https://github.com/hellowind777/helloagents/discussions)
|
|
818
|
-
|
|
819
|
-
---
|
|
820
|
-
|
|
821
|
-
## 📊 Project Stats
|
|
822
|
-
|
|
823
|
-
<div align="center">
|
|
824
|
-
|
|
825
|
-

|
|
826
|
-

|
|
827
|
-

|
|
828
|
-

|
|
829
|
-

|
|
830
|
-
|
|
831
|
-
</div>
|
|
832
|
-
|
|
833
|
-
---
|
|
834
|
-
|
|
835
|
-
<div align="center">
|
|
836
|
-
|
|
837
|
-
**Made with ❤️ by [Hellowind](https://github.com/hellowind777)**
|
|
838
|
-
|
|
839
|
-
[⬆ Back to Top](#helloagents)
|
|
840
|
-
|
|
841
|
-
</div>
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="./readme_images/01-hero-banner.svg" alt="HelloAGENTS" width="800">
|
|
3
|
+
</div>
|
|
4
|
+
|
|
5
|
+
# HelloAGENTS
|
|
6
|
+
|
|
7
|
+
<div align="center">
|
|
8
|
+
|
|
9
|
+
**A multi-CLI workflow system that keeps going until tasks are implemented and verified.**
|
|
10
|
+
|
|
11
|
+
[](./pyproject.toml)
|
|
12
|
+
[](https://www.npmjs.com/package/helloagents)
|
|
13
|
+
[](./pyproject.toml)
|
|
14
|
+
[](./helloagents/functions)
|
|
15
|
+
[](./LICENSE.md)
|
|
16
|
+
[](./CONTRIBUTING.md)
|
|
17
|
+
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<p align="center">
|
|
21
|
+
<a href="./README.md"><img src="https://img.shields.io/badge/English-blue?style=for-the-badge" alt="English"></a>
|
|
22
|
+
<a href="./README_CN.md"><img src="https://img.shields.io/badge/简体中文-blue?style=for-the-badge" alt="简体中文"></a>
|
|
23
|
+
</p>
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Table of Contents
|
|
28
|
+
|
|
29
|
+
- [Why HelloAGENTS](#why-helloagents)
|
|
30
|
+
- [What Changed vs Legacy Repo](#what-changed-vs-legacy-repo)
|
|
31
|
+
- [Features](#features)
|
|
32
|
+
- [Before and After (Snake Demo)](#before-and-after-snake-demo)
|
|
33
|
+
- [Quick Start](#quick-start)
|
|
34
|
+
- [How It Works](#how-it-works)
|
|
35
|
+
- [Repository Guide](#repository-guide)
|
|
36
|
+
- [In-Chat Workflow Commands](#in-chat-workflow-commands)
|
|
37
|
+
- [FAQ](#faq)
|
|
38
|
+
- [Troubleshooting](#troubleshooting)
|
|
39
|
+
- [Version History](#version-history)
|
|
40
|
+
- [Contributing](#contributing)
|
|
41
|
+
- [License](#license)
|
|
42
|
+
|
|
43
|
+
## Why HelloAGENTS
|
|
44
|
+
|
|
45
|
+
Many assistants can analyze tasks but often stop before real delivery. HelloAGENTS adds strict routing, staged execution, and verification gates.
|
|
46
|
+
|
|
47
|
+
| Challenge | Without HelloAGENTS | With HelloAGENTS |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| Stops at planning | Ends with suggestions | Pushes to implementation and validation |
|
|
50
|
+
| Output drift | Different structure every prompt | Unified routing and stage chain |
|
|
51
|
+
| Risky operations | Easier to make destructive mistakes | EHRB risk detection and escalation |
|
|
52
|
+
| Knowledge continuity | Context gets scattered | Built-in KB and session memory |
|
|
53
|
+
| Reusability | Prompt-by-prompt effort | Commandized reusable workflow |
|
|
54
|
+
|
|
55
|
+
<div align="center">
|
|
56
|
+
<img src="./readme_images/06-divider.svg" width="420" alt="divider">
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
## What Changed vs Legacy Repo
|
|
60
|
+
|
|
61
|
+
Compared with legacy multi-bundle releases, the v2.x line is now package-first with a fundamentally different architecture.
|
|
62
|
+
|
|
63
|
+
| Area | Legacy repo | Current repo |
|
|
64
|
+
|---|---|---|
|
|
65
|
+
| Distribution | Multiple bundle folders per CLI | One Python package + installer CLI |
|
|
66
|
+
| Installation | Manual copy of config and skill folders | pip/uv install + `helloagents` interactive menu |
|
|
67
|
+
| Routing | Three-layer (Context → Tools → Intent) | Five-dimension scoring (R0–R3) |
|
|
68
|
+
| Workflow stages | 4 stages (Evaluate, Analyze, Design, Develop) | 4 stages + R1 fast flow, with sub-agent dispatch |
|
|
69
|
+
| Agent system | None | RLM with 12 specialized roles and session isolation |
|
|
70
|
+
| Memory | No persistence | Three-layer: L0 user, L1 project KB, L2 session |
|
|
71
|
+
| Safety | Basic EHRB | Three-layer EHRB (keyword + semantic + tool output) |
|
|
72
|
+
| Hooks | None | Auto-deploy lifecycle hooks (Claude Code 9 events + Codex CLI notify) |
|
|
73
|
+
| CLI targets | 5 visible bundle targets | 6 targets: codex, claude, gemini, qwen, grok, opencode |
|
|
74
|
+
| Commands | 12 | 15 workflow commands |
|
|
75
|
+
|
|
76
|
+
> ⚠️ **Migration notice:** Because repository structure and installation workflow changed in v2.x, legacy versions were moved to **helloagents-archive**: https://github.com/hellowind777/helloagents-archive
|
|
77
|
+
|
|
78
|
+
## Features
|
|
79
|
+
|
|
80
|
+
<table>
|
|
81
|
+
<tr>
|
|
82
|
+
<td width="50%" valign="top">
|
|
83
|
+
<img src="./readme_images/02-feature-icon-installer.svg" width="48" align="left">
|
|
84
|
+
|
|
85
|
+
**RLM sub-agent orchestration**
|
|
86
|
+
|
|
87
|
+
12 specialized roles (explorer, analyzer, designer, implementer, reviewer, tester, etc.) are dispatched automatically based on task complexity, with session isolation per CLI instance. Supports cross-CLI parallel scheduling and Agent Teams collaboration.
|
|
88
|
+
|
|
89
|
+
**Your gain:** complex tasks are broken down and handled by the right specialist, with parallel execution when possible.
|
|
90
|
+
</td>
|
|
91
|
+
<td width="50%" valign="top">
|
|
92
|
+
<img src="./readme_images/03-feature-icon-workflow.svg" width="48" align="left">
|
|
93
|
+
|
|
94
|
+
**Five-dimension routing (R0–R3)**
|
|
95
|
+
|
|
96
|
+
Every input is scored on action need, target clarity, decision scope, impact range, and EHRB risk — then routed to R0 direct response, R1 fast flow, R2 simplified flow, or R3 standard flow.
|
|
97
|
+
|
|
98
|
+
**Your gain:** proportional effort — simple queries stay fast, complex tasks get full process.
|
|
99
|
+
</td>
|
|
100
|
+
</tr>
|
|
101
|
+
<tr>
|
|
102
|
+
<td width="50%" valign="top">
|
|
103
|
+
<img src="./readme_images/04-feature-icon-safety.svg" width="48" align="left">
|
|
104
|
+
|
|
105
|
+
**Three-layer safety detection (EHRB)**
|
|
106
|
+
|
|
107
|
+
Keyword scan, semantic analysis, and tool-output inspection catch destructive operations before execution. Interactive and delegated modes enforce user confirmation.
|
|
108
|
+
|
|
109
|
+
**Your gain:** safer defaults with zero-config protection.
|
|
110
|
+
</td>
|
|
111
|
+
<td width="50%" valign="top">
|
|
112
|
+
<img src="./readme_images/05-feature-icon-compat.svg" width="48" align="left">
|
|
113
|
+
|
|
114
|
+
**Three-layer memory model**
|
|
115
|
+
|
|
116
|
+
L0 user memory (global preferences), L1 project knowledge base (structured docs synced from code), and L2 session summaries (auto-persisted at stage transitions).
|
|
117
|
+
|
|
118
|
+
**Your gain:** context survives across sessions and projects.
|
|
119
|
+
</td>
|
|
120
|
+
</tr>
|
|
121
|
+
</table>
|
|
122
|
+
|
|
123
|
+
### Data points from this repo
|
|
124
|
+
|
|
125
|
+
- 6 CLI targets from helloagents/cli.py
|
|
126
|
+
- 15 workflow commands from helloagents/functions
|
|
127
|
+
- 12 RLM roles from helloagents/rlm/roles
|
|
128
|
+
- 4 stage definitions from helloagents/stages
|
|
129
|
+
- 5 core services from helloagents/services
|
|
130
|
+
- 4 rule modules from helloagents/rules
|
|
131
|
+
- 9 helper scripts from helloagents/scripts
|
|
132
|
+
- 2 hooks configs from helloagents/hooks
|
|
133
|
+
- 10 KB/plan templates from helloagents/templates
|
|
134
|
+
|
|
135
|
+
## Before and After (Snake Demo)
|
|
136
|
+
|
|
137
|
+
<table>
|
|
138
|
+
<tr>
|
|
139
|
+
<td width="50%" valign="top" align="center">
|
|
140
|
+
|
|
141
|
+
**Without HelloAGENTS**
|
|
142
|
+
|
|
143
|
+
<img src="./readme_images/08-demo-snake-without-helloagents.png" alt="Snake demo without HelloAGENTS" width="520">
|
|
144
|
+
|
|
145
|
+
</td>
|
|
146
|
+
<td width="50%" valign="top" align="center">
|
|
147
|
+
|
|
148
|
+
**With HelloAGENTS**
|
|
149
|
+
|
|
150
|
+
<img src="./readme_images/07-demo-snake-with-helloagents.png" alt="Snake demo with HelloAGENTS" width="520">
|
|
151
|
+
|
|
152
|
+
</td>
|
|
153
|
+
</tr>
|
|
154
|
+
</table>
|
|
155
|
+
|
|
156
|
+
## Quick Start
|
|
157
|
+
|
|
158
|
+
### Method A: One-line install script (recommended)
|
|
159
|
+
|
|
160
|
+
**macOS / Linux:**
|
|
161
|
+
|
|
162
|
+
curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/main/install.sh | bash
|
|
163
|
+
|
|
164
|
+
**Windows PowerShell:**
|
|
165
|
+
|
|
166
|
+
irm https://raw.githubusercontent.com/hellowind777/helloagents/main/install.ps1 | iex
|
|
167
|
+
|
|
168
|
+
> The script auto-detects `uv` or `pip`, installs the HelloAGENTS package, and launches an interactive menu for you to select target CLIs. Re-running performs an update.
|
|
169
|
+
|
|
170
|
+
**Update:**
|
|
171
|
+
|
|
172
|
+
helloagents update
|
|
173
|
+
|
|
174
|
+
### Method B: npx (Node.js >= 16)
|
|
175
|
+
|
|
176
|
+
npx helloagents
|
|
177
|
+
|
|
178
|
+
> Installs the Python package and launches an interactive menu. You can also specify directly: `npx helloagents install codex`
|
|
179
|
+
|
|
180
|
+
> Requires Python >= 3.10. After first install, use the native `helloagents` command directly.
|
|
181
|
+
|
|
182
|
+
> **Acknowledgment:** Thanks to @setsuna1106 for generously transferring the npm `helloagents` package ownership.
|
|
183
|
+
|
|
184
|
+
### Method C: UV (isolated environment)
|
|
185
|
+
|
|
186
|
+
**Step 0 — Install UV first (skip if already installed):**
|
|
187
|
+
|
|
188
|
+
# Windows PowerShell
|
|
189
|
+
irm https://astral.sh/uv/install.ps1 | iex
|
|
190
|
+
|
|
191
|
+
# macOS / Linux
|
|
192
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
193
|
+
|
|
194
|
+
> After installing UV, restart your terminal to make the `uv` command available.
|
|
195
|
+
|
|
196
|
+
**Install and select targets (one command):**
|
|
197
|
+
|
|
198
|
+
uv tool install --from git+https://github.com/hellowind777/helloagents helloagents && helloagents
|
|
199
|
+
|
|
200
|
+
> Installs the package and launches an interactive menu for you to select target CLIs. You can also specify directly: `helloagents install codex`
|
|
201
|
+
|
|
202
|
+
**Update:**
|
|
203
|
+
|
|
204
|
+
helloagents update
|
|
205
|
+
|
|
206
|
+
### Method D: pip (Python >= 3.10)
|
|
207
|
+
|
|
208
|
+
**Install and select targets (one command):**
|
|
209
|
+
|
|
210
|
+
pip install git+https://github.com/hellowind777/helloagents.git && helloagents
|
|
211
|
+
|
|
212
|
+
> Installs the package and launches an interactive menu for you to select target CLIs. You can also specify directly: `helloagents install codex`
|
|
213
|
+
|
|
214
|
+
**Update:**
|
|
215
|
+
|
|
216
|
+
pip install --upgrade git+https://github.com/hellowind777/helloagents.git
|
|
217
|
+
|
|
218
|
+
### Install HelloAgents for different CLI targets
|
|
219
|
+
|
|
220
|
+
helloagents # interactive menu
|
|
221
|
+
|
|
222
|
+
helloagents install codex # specify target directly
|
|
223
|
+
|
|
224
|
+
helloagents install --all # install to all detected CLIs
|
|
225
|
+
|
|
226
|
+
### Verify
|
|
227
|
+
|
|
228
|
+
helloagents status
|
|
229
|
+
|
|
230
|
+
helloagents version
|
|
231
|
+
|
|
232
|
+
### Uninstall
|
|
233
|
+
|
|
234
|
+
helloagents uninstall codex
|
|
235
|
+
|
|
236
|
+
helloagents uninstall --all
|
|
237
|
+
|
|
238
|
+
### Clean caches
|
|
239
|
+
|
|
240
|
+
helloagents clean
|
|
241
|
+
|
|
242
|
+
### Codex CLI example
|
|
243
|
+
|
|
244
|
+
**First install:**
|
|
245
|
+
|
|
246
|
+
# One-line script (recommended, auto-launches interactive menu after install)
|
|
247
|
+
# macOS / Linux
|
|
248
|
+
curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/main/install.sh | bash
|
|
249
|
+
|
|
250
|
+
# Windows PowerShell
|
|
251
|
+
irm https://raw.githubusercontent.com/hellowind777/helloagents/main/install.ps1 | iex
|
|
252
|
+
|
|
253
|
+
# npx
|
|
254
|
+
npx helloagents install codex
|
|
255
|
+
|
|
256
|
+
# UV
|
|
257
|
+
uv tool install --from git+https://github.com/hellowind777/helloagents helloagents && helloagents install codex
|
|
258
|
+
|
|
259
|
+
# pip
|
|
260
|
+
pip install git+https://github.com/hellowind777/helloagents.git && helloagents install codex
|
|
261
|
+
|
|
262
|
+
**Update later (auto-syncs installed targets):**
|
|
263
|
+
|
|
264
|
+
helloagents update
|
|
265
|
+
|
|
266
|
+
### Claude Code example
|
|
267
|
+
|
|
268
|
+
**First install:**
|
|
269
|
+
|
|
270
|
+
# One-line script (recommended, auto-launches interactive menu after install)
|
|
271
|
+
# macOS / Linux
|
|
272
|
+
curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/main/install.sh | bash
|
|
273
|
+
|
|
274
|
+
# Windows PowerShell
|
|
275
|
+
irm https://raw.githubusercontent.com/hellowind777/helloagents/main/install.ps1 | iex
|
|
276
|
+
|
|
277
|
+
# npx
|
|
278
|
+
npx helloagents install claude
|
|
279
|
+
|
|
280
|
+
# UV
|
|
281
|
+
uv tool install --from git+https://github.com/hellowind777/helloagents helloagents && helloagents install claude
|
|
282
|
+
|
|
283
|
+
# pip
|
|
284
|
+
pip install git+https://github.com/hellowind777/helloagents.git && helloagents install claude
|
|
285
|
+
|
|
286
|
+
**Update later (auto-syncs installed targets):**
|
|
287
|
+
|
|
288
|
+
helloagents update
|
|
289
|
+
|
|
290
|
+
### Beta branch
|
|
291
|
+
|
|
292
|
+
To install from the `beta` branch, append `@beta` to the repository URL:
|
|
293
|
+
|
|
294
|
+
# One-line script (auto-launches interactive menu after install)
|
|
295
|
+
# macOS / Linux
|
|
296
|
+
curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/beta/install.sh | HELLOAGENTS_BRANCH=beta bash
|
|
297
|
+
|
|
298
|
+
# Windows PowerShell
|
|
299
|
+
$env:HELLOAGENTS_BRANCH="beta"; irm https://raw.githubusercontent.com/hellowind777/helloagents/beta/install.ps1 | iex
|
|
300
|
+
|
|
301
|
+
# npx
|
|
302
|
+
npx helloagents@beta
|
|
303
|
+
|
|
304
|
+
# UV
|
|
305
|
+
uv tool install --from git+https://github.com/hellowind777/helloagents@beta helloagents && helloagents
|
|
306
|
+
|
|
307
|
+
# pip
|
|
308
|
+
pip install git+https://github.com/hellowind777/helloagents.git@beta && helloagents
|
|
309
|
+
|
|
310
|
+
## How It Works
|
|
311
|
+
|
|
312
|
+
1. Install the package (script/pip/uv) and run `helloagents` to launch an interactive menu for selecting target CLIs (or specify directly with `helloagents install <target>`). Hooks and SKILL.md are auto-deployed during installation.
|
|
313
|
+
2. In AI chat, every input is scored on five dimensions and routed to R0–R3.
|
|
314
|
+
3. R2/R3 tasks enter the stage chain: EVALUATE → ANALYZE → DESIGN → DEVELOP. R1 fast flow handles single-point operations directly.
|
|
315
|
+
4. RLM dispatches specialized sub-agents (e.g. explorer, designer, implementer) based on task complexity. Supports parallel scheduling and Agent Teams for complex tasks.
|
|
316
|
+
5. EHRB scans each step for destructive operations; risky actions require explicit user confirmation. Hooks provide additional pre-tool safety checks when available.
|
|
317
|
+
6. Three-layer memory (user / project KB / session) preserves context across sessions.
|
|
318
|
+
7. Stage chain completes with verified output and optional knowledge base sync.
|
|
319
|
+
|
|
320
|
+
## Repository Guide
|
|
321
|
+
|
|
322
|
+
- AGENTS.md: router and workflow protocol
|
|
323
|
+
- SKILL.md: skill discovery metadata for CLI targets
|
|
324
|
+
- pyproject.toml: package metadata (v2.2.7)
|
|
325
|
+
- helloagents/cli.py: installer entry
|
|
326
|
+
- helloagents/functions: workflow commands
|
|
327
|
+
- helloagents/stages: analyze, design, develop
|
|
328
|
+
- helloagents/services: knowledge, package, memory and support services
|
|
329
|
+
- helloagents/rules: state, cache, tools, scaling
|
|
330
|
+
- helloagents/rlm: role library and orchestration helpers
|
|
331
|
+
- helloagents/hooks: Claude Code and Codex CLI hooks configs
|
|
332
|
+
- helloagents/scripts: automation scripts
|
|
333
|
+
- helloagents/templates: KB and plan templates
|
|
334
|
+
|
|
335
|
+
## In-Chat Workflow Commands
|
|
336
|
+
|
|
337
|
+
These commands run inside AI chat, not your system shell.
|
|
338
|
+
|
|
339
|
+
| Command | Purpose |
|
|
340
|
+
|---|---|
|
|
341
|
+
| ~auto | full autonomous workflow |
|
|
342
|
+
| ~plan | planning and package generation |
|
|
343
|
+
| ~exec | execute existing package |
|
|
344
|
+
| ~init | initialize knowledge base |
|
|
345
|
+
| ~upgradekb | upgrade knowledge structure |
|
|
346
|
+
| ~clean / ~cleanplan | cleanup workflow artifacts |
|
|
347
|
+
| ~test / ~review / ~validatekb | quality checks |
|
|
348
|
+
| ~commit | generate commit message from context |
|
|
349
|
+
| ~rollback | rollback workflow state |
|
|
350
|
+
| ~rlm | role orchestration (spawn / agents / resume / team) |
|
|
351
|
+
| ~status / ~help | status and help |
|
|
352
|
+
|
|
353
|
+
## FAQ
|
|
354
|
+
|
|
355
|
+
- Q: Is this a Python CLI tool or prompt package?
|
|
356
|
+
A: Both. CLI manages installation; workflow behavior comes from AGENTS.md and helloagents docs.
|
|
357
|
+
|
|
358
|
+
- Q: Which target should I install?
|
|
359
|
+
A: Use the CLI you run: codex, claude, gemini, qwen, grok, or opencode.
|
|
360
|
+
|
|
361
|
+
- Q: What if a rules file already exists?
|
|
362
|
+
A: Non-HelloAGENTS files are backed up before replacement.
|
|
363
|
+
|
|
364
|
+
- Q: What is RLM?
|
|
365
|
+
A: Role Language Model — a sub-agent orchestration system with 12 specialized roles dispatched based on task complexity.
|
|
366
|
+
|
|
367
|
+
- Q: Where does project knowledge go?
|
|
368
|
+
A: In the project-local `.helloagents/` directory, auto-synced when code changes.
|
|
369
|
+
|
|
370
|
+
- Q: Does memory persist across sessions?
|
|
371
|
+
A: Yes. L0 user memory is global, L1 project KB is per-project, L2 session summaries are auto-saved at stage transitions.
|
|
372
|
+
|
|
373
|
+
- Q: What are Hooks?
|
|
374
|
+
A: Lifecycle hooks auto-deployed during installation. Claude Code gets 9 event hooks (safety checks, progress snapshots, KB sync, etc.); Codex CLI gets a notify hook for update checks. All optional — features degrade gracefully without hooks.
|
|
375
|
+
|
|
376
|
+
- Q: What is Agent Teams?
|
|
377
|
+
A: An experimental Claude Code multi-agent collaboration mode. Multiple Claude Code instances work as teammates with shared task lists and mailbox communication, mapped to RLM roles. Falls back to standard Task sub-agents when unavailable.
|
|
378
|
+
|
|
379
|
+
## Troubleshooting
|
|
380
|
+
|
|
381
|
+
- command not found: ensure install path is in PATH
|
|
382
|
+
- package version unknown: install package first for metadata
|
|
383
|
+
- target not detected: launch target CLI once to create config directory
|
|
384
|
+
- custom rules overwritten: restore from timestamped backup in CLI config dir
|
|
385
|
+
- images not rendering: keep relative paths and commit readme_images files
|
|
386
|
+
|
|
387
|
+
## Version History
|
|
388
|
+
|
|
389
|
+
### v2.2.7 (current)
|
|
390
|
+
|
|
391
|
+
- **G12 Hooks integration spec:** 9 Claude Code lifecycle hooks + Codex CLI notify hook
|
|
392
|
+
- **Auto-deploy Hooks:** auto-deploy and clean up Hooks config during install/uninstall
|
|
393
|
+
- **Codex CLI native sub-agent:** G10 adds spawn_agent protocol with cross-CLI parallel scheduling
|
|
394
|
+
- **Agent Teams protocol:** G10 adds Claude Code multi-role collaboration protocol
|
|
395
|
+
- **SKILL integration:** auto-deploy SKILL.md to skills discovery directory for all CLI targets
|
|
396
|
+
- **RLM command expansion:** add ~rlm agents/resume/team subcommands with parallel multi-role dispatch
|
|
397
|
+
- **Stage parallel optimization:** parallel rules for analyze/develop stages, serial annotation for design
|
|
398
|
+
- **Memory v2 bridge:** add Codex Memory v2 bridge protocol
|
|
399
|
+
- **Script modularization:** extract config_helpers.py module
|
|
400
|
+
|
|
401
|
+
### v2.2.5
|
|
402
|
+
|
|
403
|
+
- **RLM sub-agent system:** 12 specialized roles with automatic dispatch and session isolation
|
|
404
|
+
- **Five-dimension routing (R0–R3):** replaces legacy three-layer routing
|
|
405
|
+
- **Four-stage workflow + R1 fast flow:** stage chain (Evaluate → Analyze → Design → Develop) with R1 fast flow for single-point operations
|
|
406
|
+
- **Three-layer memory:** L0 user preferences, L1 project knowledge base, L2 session summaries
|
|
407
|
+
- **Three-layer EHRB:** keyword + semantic + tool-output safety detection
|
|
408
|
+
- **Package-first installer:** pip/uv install with `helloagents` interactive menu
|
|
409
|
+
- **15 workflow commands:** added ~rlm, ~validatekb, ~status
|
|
410
|
+
- **6 CLI targets:** added OpenCode support
|
|
411
|
+
- **Interactive installation menu:** multi-select target CLIs with one command
|
|
412
|
+
- **Auto locale detection:** CLI messages switch between Chinese and English based on system locale
|
|
413
|
+
- **Windows encoding fix:** UTF-8 safe subprocess handling on all platforms
|
|
414
|
+
- **Knowledge base service:** structured project docs auto-synced from code changes
|
|
415
|
+
- **Attention service:** live status tracking and progress snapshots
|
|
416
|
+
|
|
417
|
+
### v2.0.1 (legacy multi-bundle baseline)
|
|
418
|
+
|
|
419
|
+
- Multi-bundle distribution with manual copy-based installation
|
|
420
|
+
- Three-layer routing (Context → Tools → Intent)
|
|
421
|
+
- 4 workflow stages, 12 commands, 5 CLI targets
|
|
422
|
+
- No sub-agent system, no persistent memory
|
|
423
|
+
|
|
424
|
+
## Contributing
|
|
425
|
+
|
|
426
|
+
See CONTRIBUTING.md for contribution rules and PR checklist.
|
|
427
|
+
|
|
428
|
+
## License
|
|
429
|
+
|
|
430
|
+
This project is dual-licensed: Code under Apache-2.0, Documentation under CC BY 4.0. See [LICENSE.md](./LICENSE.md).
|
|
431
|
+
|
|
432
|
+
---
|
|
433
|
+
|
|
434
|
+
<div align="center">
|
|
435
|
+
|
|
436
|
+
If this project helps your workflow, a star is always appreciated.
|
|
437
|
+
|
|
438
|
+
Thanks to <a href="https://codexzh.com/?ref=EEABC8">codexzh.com</a> / <a href="https://ccodezh.com">ccodezh.com</a> for supporting this project
|
|
439
|
+
|
|
440
|
+
</div>
|