oh-my-customcode 0.9.0 → 0.9.2
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/package.json
CHANGED
|
@@ -47,16 +47,7 @@ batch → multiple (parallel)
|
|
|
47
47
|
|
|
48
48
|
```
|
|
49
49
|
1. Parse user command and identify intent
|
|
50
|
-
2. Select appropriate manager agent
|
|
51
|
-
- "create agent X" → mgr-creator
|
|
52
|
-
- "update agent Y" → mgr-updater
|
|
53
|
-
- "audit agent Z" → mgr-supplier
|
|
54
|
-
- "git commit/push/pr" → mgr-gitnerd
|
|
55
|
-
- "sync check" → mgr-sync-checker
|
|
56
|
-
- "verify" → mgr-sauron
|
|
57
|
-
- "spec check" → mgr-claude-code-bible
|
|
58
|
-
- "save/recall memory" → sys-memory-keeper
|
|
59
|
-
- "todo/task list" → sys-naggy
|
|
50
|
+
2. Select appropriate manager agent
|
|
60
51
|
3. Spawn Task with selected agent role
|
|
61
52
|
4. Monitor execution
|
|
62
53
|
5. Report result to user
|
|
@@ -70,121 +61,24 @@ When command requires multiple independent operations:
|
|
|
70
61
|
1. Break down into sub-tasks
|
|
71
62
|
2. Identify parallelizable tasks (max 4)
|
|
72
63
|
3. Spawn parallel Task instances
|
|
73
|
-
4.
|
|
74
|
-
5.
|
|
75
|
-
6. Report summary to user
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Example:
|
|
79
|
-
```
|
|
80
|
-
User: "Create golang, python, rust expert agents"
|
|
81
|
-
|
|
82
|
-
Route:
|
|
83
|
-
Task(mgr-creator role → create lang-golang-expert, model: "sonnet")
|
|
84
|
-
Task(mgr-creator role → create lang-python-expert, model: "sonnet")
|
|
85
|
-
Task(mgr-creator role → create lang-rust-expert, model: "sonnet")
|
|
86
|
-
|
|
87
|
-
Result: 3 agents created in parallel
|
|
64
|
+
4. Aggregate results
|
|
65
|
+
5. Report summary to user
|
|
88
66
|
```
|
|
89
67
|
|
|
90
68
|
## Sub-agent Model Selection
|
|
91
69
|
|
|
92
|
-
Use Task tool's `model` parameter to optimize cost and performance:
|
|
93
|
-
|
|
94
|
-
### Model Mapping
|
|
95
|
-
|
|
96
70
|
| Agent | Recommended Model | Reason |
|
|
97
71
|
|-------|-------------------|--------|
|
|
98
|
-
| mgr-creator |
|
|
99
|
-
| mgr-updater |
|
|
100
|
-
| mgr-supplier |
|
|
101
|
-
| mgr-gitnerd |
|
|
102
|
-
| mgr-sync-checker |
|
|
103
|
-
| mgr-sauron |
|
|
104
|
-
| mgr-claude-code-bible |
|
|
105
|
-
| sys-memory-keeper |
|
|
106
|
-
| sys-naggy |
|
|
107
|
-
|
|
108
|
-
### Task Call Examples
|
|
109
|
-
|
|
110
|
-
```
|
|
111
|
-
# Complex analysis (rare)
|
|
112
|
-
Task(
|
|
113
|
-
subagent_type: "general-purpose",
|
|
114
|
-
prompt: "Analyze agent dependencies and suggest improvements",
|
|
115
|
-
model: "opus"
|
|
116
|
-
)
|
|
117
|
-
|
|
118
|
-
# Standard manager task (create agent)
|
|
119
|
-
Task(
|
|
120
|
-
subagent_type: "general-purpose",
|
|
121
|
-
prompt: "Create new lang-golang-expert agent following mgr-creator workflow",
|
|
122
|
-
model: "sonnet"
|
|
123
|
-
)
|
|
124
|
-
|
|
125
|
-
# Simple file operation
|
|
126
|
-
Task(
|
|
127
|
-
subagent_type: "general-purpose",
|
|
128
|
-
prompt: "Search for all AGENT.md files and validate symlinks",
|
|
129
|
-
model: "haiku"
|
|
130
|
-
)
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
## Parallel Execution
|
|
134
|
-
|
|
135
|
-
Following R009:
|
|
136
|
-
- Maximum 4 parallel instances
|
|
137
|
-
- Only non-orchestrator agents
|
|
138
|
-
- Independent tasks only
|
|
139
|
-
- Proper resource management
|
|
140
|
-
|
|
141
|
-
## Display Format
|
|
142
|
-
|
|
143
|
-
When spawning parallel tasks, use format: `{task-name}:{model}`
|
|
144
|
-
|
|
145
|
-
```
|
|
146
|
-
[Parallel] Spawning 3 instances...
|
|
147
|
-
|
|
148
|
-
[Instance 1] create-golang:sonnet → lang-golang-expert
|
|
149
|
-
[Instance 2] create-python:sonnet → lang-python-expert
|
|
150
|
-
[Instance 3] create-rust:sonnet → lang-rust-expert
|
|
151
|
-
|
|
152
|
-
[Progress] ████████░░░░ 2/3
|
|
153
|
-
|
|
154
|
-
[Instance 1] create-golang:sonnet ✓ lang-golang-expert created
|
|
155
|
-
[Instance 2] create-python:sonnet ✓ lang-python-expert created
|
|
156
|
-
[Instance 3] create-rust:sonnet ✓ lang-rust-expert created
|
|
157
|
-
|
|
158
|
-
[Summary] 3/3 tasks completed successfully
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
## Ecomode Integration
|
|
162
|
-
|
|
163
|
-
When 4+ parallel tasks are spawned, activate ecomode (R013):
|
|
164
|
-
- Compact output format (status + 1-2 sentence summary)
|
|
165
|
-
- Skip intermediate steps
|
|
166
|
-
- Return essential results only
|
|
167
|
-
- Aggregate with icons: ✓ (success), ✗ (failed), ⚠ (partial)
|
|
168
|
-
|
|
169
|
-
## Error Handling
|
|
170
|
-
|
|
171
|
-
```yaml
|
|
172
|
-
retry_policy:
|
|
173
|
-
max_retries: 3
|
|
174
|
-
backoff: exponential
|
|
175
|
-
|
|
176
|
-
failure_modes:
|
|
177
|
-
single_failure: Report and continue
|
|
178
|
-
critical_failure: Stop and escalate
|
|
179
|
-
timeout: Retry or skip with notice
|
|
180
|
-
```
|
|
72
|
+
| mgr-creator | sonnet | File generation, balanced |
|
|
73
|
+
| mgr-updater | sonnet | External sync, web fetch |
|
|
74
|
+
| mgr-supplier | haiku | File scan, validation |
|
|
75
|
+
| mgr-gitnerd | sonnet | Commit message quality |
|
|
76
|
+
| mgr-sync-checker | haiku | Fast verification |
|
|
77
|
+
| mgr-sauron | sonnet | Multi-round verification |
|
|
78
|
+
| mgr-claude-code-bible | sonnet | Spec compliance checks |
|
|
79
|
+
| sys-memory-keeper | sonnet | Memory operations, search |
|
|
80
|
+
| sys-naggy | haiku | Simple TODO tracking |
|
|
181
81
|
|
|
182
82
|
## Usage
|
|
183
83
|
|
|
184
|
-
This skill is NOT user-invocable. It
|
|
185
|
-
|
|
186
|
-
Detection criteria:
|
|
187
|
-
- User mentions agent creation/update/audit
|
|
188
|
-
- Command starts with manager agent name
|
|
189
|
-
- System operation requires coordination
|
|
190
|
-
- Batch operation on agents/skills/guides
|
|
84
|
+
This skill is NOT user-invocable. It is automatically triggered when the main conversation detects agent management intent.
|