agentic-flow 1.6.5 → 1.7.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/.claude/agents/test-neural.md +5 -0
- package/.claude/settings.json +20 -19
- package/.claude/skills/.claude-flow/metrics/agent-metrics.json +1 -0
- package/.claude/skills/.claude-flow/metrics/performance.json +87 -0
- package/.claude/skills/.claude-flow/metrics/task-metrics.json +10 -0
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +166 -0
- package/.claude/skills/agentdb-vector-search/SKILL.md +126 -0
- package/.claude/skills/agentic-flow/agentdb-memory-patterns/SKILL.md +166 -0
- package/.claude/skills/agentic-flow/agentdb-vector-search/SKILL.md +126 -0
- package/.claude/skills/agentic-flow/reasoningbank-intelligence/SKILL.md +201 -0
- package/.claude/skills/agentic-flow/swarm-orchestration/SKILL.md +179 -0
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +201 -0
- package/.claude/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +1 -0
- package/.claude/skills/skill-builder/.claude-flow/metrics/performance.json +87 -0
- package/.claude/skills/skill-builder/.claude-flow/metrics/task-metrics.json +10 -0
- package/.claude/skills/skill-builder/README.md +308 -0
- package/.claude/skills/skill-builder/SKILL.md +910 -0
- package/.claude/skills/skill-builder/docs/SPECIFICATION.md +358 -0
- package/.claude/skills/skill-builder/resources/schemas/skill-frontmatter.schema.json +41 -0
- package/.claude/skills/skill-builder/resources/templates/full-skill.template +118 -0
- package/.claude/skills/skill-builder/resources/templates/minimal-skill.template +38 -0
- package/.claude/skills/skill-builder/scripts/generate-skill.sh +334 -0
- package/.claude/skills/skill-builder/scripts/validate-skill.sh +198 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +179 -0
- package/CHANGELOG.md +71 -0
- package/README.md +79 -1
- package/dist/cli/skills-manager.js +1295 -0
- package/dist/cli/update-message.js +175 -0
- package/dist/cli-proxy.js +8 -1
- package/dist/utils/cli.js +17 -0
- package/package.json +2 -2
- package/wasm/reasoningbank/reasoningbank_wasm_bg.js +2 -2
- package/wasm/reasoningbank/reasoningbank_wasm_bg.wasm +0 -0
- package/.claude/answer.md +0 -1
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"startTime": 1760892801445,
|
|
3
|
+
"sessionId": "session-1760892801445",
|
|
4
|
+
"lastActivity": 1760892801445,
|
|
5
|
+
"sessionDuration": 0,
|
|
6
|
+
"totalTasks": 1,
|
|
7
|
+
"successfulTasks": 1,
|
|
8
|
+
"failedTasks": 0,
|
|
9
|
+
"totalAgents": 0,
|
|
10
|
+
"activeAgents": 0,
|
|
11
|
+
"neuralEvents": 0,
|
|
12
|
+
"memoryMode": {
|
|
13
|
+
"reasoningbankOperations": 0,
|
|
14
|
+
"basicOperations": 0,
|
|
15
|
+
"autoModeSelections": 0,
|
|
16
|
+
"modeOverrides": 0,
|
|
17
|
+
"currentMode": "auto"
|
|
18
|
+
},
|
|
19
|
+
"operations": {
|
|
20
|
+
"store": {
|
|
21
|
+
"count": 0,
|
|
22
|
+
"totalDuration": 0,
|
|
23
|
+
"errors": 0
|
|
24
|
+
},
|
|
25
|
+
"retrieve": {
|
|
26
|
+
"count": 0,
|
|
27
|
+
"totalDuration": 0,
|
|
28
|
+
"errors": 0
|
|
29
|
+
},
|
|
30
|
+
"query": {
|
|
31
|
+
"count": 0,
|
|
32
|
+
"totalDuration": 0,
|
|
33
|
+
"errors": 0
|
|
34
|
+
},
|
|
35
|
+
"list": {
|
|
36
|
+
"count": 0,
|
|
37
|
+
"totalDuration": 0,
|
|
38
|
+
"errors": 0
|
|
39
|
+
},
|
|
40
|
+
"delete": {
|
|
41
|
+
"count": 0,
|
|
42
|
+
"totalDuration": 0,
|
|
43
|
+
"errors": 0
|
|
44
|
+
},
|
|
45
|
+
"search": {
|
|
46
|
+
"count": 0,
|
|
47
|
+
"totalDuration": 0,
|
|
48
|
+
"errors": 0
|
|
49
|
+
},
|
|
50
|
+
"init": {
|
|
51
|
+
"count": 0,
|
|
52
|
+
"totalDuration": 0,
|
|
53
|
+
"errors": 0
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"performance": {
|
|
57
|
+
"avgOperationDuration": 0,
|
|
58
|
+
"minOperationDuration": null,
|
|
59
|
+
"maxOperationDuration": null,
|
|
60
|
+
"slowOperations": 0,
|
|
61
|
+
"fastOperations": 0,
|
|
62
|
+
"totalOperationTime": 0
|
|
63
|
+
},
|
|
64
|
+
"storage": {
|
|
65
|
+
"totalEntries": 0,
|
|
66
|
+
"reasoningbankEntries": 0,
|
|
67
|
+
"basicEntries": 0,
|
|
68
|
+
"databaseSize": 0,
|
|
69
|
+
"lastBackup": null,
|
|
70
|
+
"growthRate": 0
|
|
71
|
+
},
|
|
72
|
+
"errors": {
|
|
73
|
+
"total": 0,
|
|
74
|
+
"byType": {},
|
|
75
|
+
"byOperation": {},
|
|
76
|
+
"recent": []
|
|
77
|
+
},
|
|
78
|
+
"reasoningbank": {
|
|
79
|
+
"semanticSearches": 0,
|
|
80
|
+
"sqlFallbacks": 0,
|
|
81
|
+
"embeddingGenerated": 0,
|
|
82
|
+
"consolidations": 0,
|
|
83
|
+
"avgQueryTime": 0,
|
|
84
|
+
"cacheHits": 0,
|
|
85
|
+
"cacheMisses": 0
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
# Skill Builder
|
|
2
|
+
|
|
3
|
+
**Meta-Skill**: A skill that teaches you how to create other Claude Code Skills
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## What This Is
|
|
8
|
+
|
|
9
|
+
Skill Builder is a comprehensive reference and toolkit for creating production-ready Claude Code Skills. It includes:
|
|
10
|
+
|
|
11
|
+
- ✅ **Complete specification** - All YAML frontmatter requirements and best practices
|
|
12
|
+
- ✅ **Generation scripts** - Automated skill scaffolding with templates
|
|
13
|
+
- ✅ **Validation tools** - Check skills against Anthropic specification
|
|
14
|
+
- ✅ **Templates** - Minimal, intermediate, and advanced skill templates
|
|
15
|
+
- ✅ **Examples** - Real-world skill patterns and structures
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Directory Structure
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
skill-builder/
|
|
23
|
+
├── SKILL.md # Main skill (Claude reads this)
|
|
24
|
+
├── README.md # This file (human docs)
|
|
25
|
+
├── scripts/ # Automated tools
|
|
26
|
+
│ ├── generate-skill.sh # Create new skills
|
|
27
|
+
│ └── validate-skill.sh # Validate existing skills
|
|
28
|
+
├── resources/ # Templates and schemas
|
|
29
|
+
│ ├── templates/
|
|
30
|
+
│ │ ├── minimal-skill.template # Basic skill template
|
|
31
|
+
│ │ └── full-skill.template # Full-featured template
|
|
32
|
+
│ └── schemas/
|
|
33
|
+
│ └── skill-frontmatter.schema.json # YAML validation schema
|
|
34
|
+
└── docs/ # Reference documentation
|
|
35
|
+
└── SPECIFICATION.md # Official spec details
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Quick Start
|
|
41
|
+
|
|
42
|
+
### 1. Use the Skill in Claude Code
|
|
43
|
+
|
|
44
|
+
Ask Claude:
|
|
45
|
+
```
|
|
46
|
+
"I want to create a new skill for generating React components"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Claude will:
|
|
50
|
+
1. Load the Skill Builder SKILL.md
|
|
51
|
+
2. Guide you through skill creation
|
|
52
|
+
3. Generate proper YAML frontmatter
|
|
53
|
+
4. Set up directory structure
|
|
54
|
+
5. Provide templates and examples
|
|
55
|
+
|
|
56
|
+
### 2. Use Generation Scripts
|
|
57
|
+
|
|
58
|
+
Generate a new skill automatically:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# Interactive mode
|
|
62
|
+
./scripts/generate-skill.sh my-new-skill personal
|
|
63
|
+
|
|
64
|
+
# Follow prompts for:
|
|
65
|
+
# - Display name
|
|
66
|
+
# - Description
|
|
67
|
+
# - Category/namespace
|
|
68
|
+
# - Optional directories (scripts, resources, docs)
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 3. Validate Existing Skills
|
|
72
|
+
|
|
73
|
+
Check if a skill meets Anthropic specification:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
./scripts/validate-skill.sh ~/.claude/skills/my-skills/my-skill
|
|
77
|
+
|
|
78
|
+
# Checks:
|
|
79
|
+
# ✓ SKILL.md exists
|
|
80
|
+
# ✓ YAML frontmatter present
|
|
81
|
+
# ✓ name field (1-64 chars)
|
|
82
|
+
# ✓ description field (10-1024 chars)
|
|
83
|
+
# ✓ Content structure
|
|
84
|
+
# ✓ File size appropriate
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## What You'll Learn
|
|
90
|
+
|
|
91
|
+
### From SKILL.md
|
|
92
|
+
|
|
93
|
+
**Level 1: Essentials**
|
|
94
|
+
- YAML frontmatter requirements (`name`, `description`)
|
|
95
|
+
- Skills directory locations (personal vs project)
|
|
96
|
+
- Progressive disclosure architecture
|
|
97
|
+
|
|
98
|
+
**Level 2: Structure**
|
|
99
|
+
- Complete directory structure
|
|
100
|
+
- Content organization (4-level structure)
|
|
101
|
+
- File reference patterns
|
|
102
|
+
|
|
103
|
+
**Level 3: Advanced**
|
|
104
|
+
- Scripts and resources integration
|
|
105
|
+
- Multi-file navigation
|
|
106
|
+
- Validation best practices
|
|
107
|
+
|
|
108
|
+
**Level 4: Reference**
|
|
109
|
+
- Full specification details
|
|
110
|
+
- Examples from real skills
|
|
111
|
+
- Common mistakes and fixes
|
|
112
|
+
|
|
113
|
+
### From SPECIFICATION.md
|
|
114
|
+
|
|
115
|
+
- Official Anthropic specification
|
|
116
|
+
- Field definitions and constraints
|
|
117
|
+
- Platform support details
|
|
118
|
+
- Version history
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Templates Included
|
|
123
|
+
|
|
124
|
+
### Minimal Skill Template
|
|
125
|
+
**File**: `resources/templates/minimal-skill.template`
|
|
126
|
+
**Use When**: Quick, simple skills without scripts
|
|
127
|
+
**Size**: ~1KB
|
|
128
|
+
**Includes**:
|
|
129
|
+
- YAML frontmatter
|
|
130
|
+
- Basic sections (What, Quick Start, Steps, Troubleshooting)
|
|
131
|
+
|
|
132
|
+
### Full Skill Template
|
|
133
|
+
**File**: `resources/templates/full-skill.template`
|
|
134
|
+
**Use When**: Complex skills with scripts, resources, advanced features
|
|
135
|
+
**Size**: ~5KB
|
|
136
|
+
**Includes**:
|
|
137
|
+
- YAML frontmatter
|
|
138
|
+
- All 4 progressive disclosure levels
|
|
139
|
+
- Scripts reference table
|
|
140
|
+
- Resources organization
|
|
141
|
+
- Advanced features section
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Schema Validation
|
|
146
|
+
|
|
147
|
+
JSON Schema for YAML frontmatter validation:
|
|
148
|
+
|
|
149
|
+
**File**: `resources/schemas/skill-frontmatter.schema.json`
|
|
150
|
+
|
|
151
|
+
**Use**:
|
|
152
|
+
```bash
|
|
153
|
+
# Validate frontmatter with JSON schema tools
|
|
154
|
+
cat skill-frontmatter.yaml | ajv validate -s skill-frontmatter.schema.json
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
**Constraints**:
|
|
158
|
+
- `name`: 1-64 characters, required
|
|
159
|
+
- `description`: 10-1024 characters, required
|
|
160
|
+
- No additional properties allowed
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Examples of Skills You Can Create
|
|
165
|
+
|
|
166
|
+
### Development Tools
|
|
167
|
+
- "TypeScript Type Generator" - Generate TS types from JSON
|
|
168
|
+
- "API Client Builder" - Create API client from OpenAPI spec
|
|
169
|
+
- "Test Suite Generator" - Generate Jest tests from code
|
|
170
|
+
|
|
171
|
+
### Documentation
|
|
172
|
+
- "README Generator" - Create comprehensive READMEs
|
|
173
|
+
- "API Docs Builder" - Generate OpenAPI documentation
|
|
174
|
+
- "Changelog Creator" - Auto-generate CHANGELOGs
|
|
175
|
+
|
|
176
|
+
### Code Quality
|
|
177
|
+
- "Refactoring Assistant" - Guide code refactoring
|
|
178
|
+
- "Performance Analyzer" - Identify performance issues
|
|
179
|
+
- "Security Auditor" - Check for security vulnerabilities
|
|
180
|
+
|
|
181
|
+
### Workflow Automation
|
|
182
|
+
- "CI/CD Pipeline Builder" - Generate GitHub Actions workflows
|
|
183
|
+
- "Docker Setup" - Create Dockerfile and docker-compose
|
|
184
|
+
- "Deployment Helper" - Deploy to various platforms
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Best Practices
|
|
189
|
+
|
|
190
|
+
### Writing Descriptions
|
|
191
|
+
1. **Front-load keywords**: Important terms first
|
|
192
|
+
2. **Include "when" clause**: Clear trigger conditions
|
|
193
|
+
3. **Be specific**: Name exact technologies
|
|
194
|
+
4. **Use action verbs**: Generate, Create, Debug, Build
|
|
195
|
+
5. **Think like users**: What will they search for?
|
|
196
|
+
|
|
197
|
+
### Organizing Content
|
|
198
|
+
1. **Progressive disclosure**: Simple → Complex
|
|
199
|
+
2. **Scannable structure**: Clear headings, lists
|
|
200
|
+
3. **Concrete examples**: Actual code, not just text
|
|
201
|
+
4. **Reference heavy content**: Separate files for long docs
|
|
202
|
+
5. **Keep SKILL.md lean**: 2-10KB optimal
|
|
203
|
+
|
|
204
|
+
### File Management
|
|
205
|
+
1. **Use namespaces**: my-skills/, dev-tools/, etc.
|
|
206
|
+
2. **Scripts in scripts/**: Executable files
|
|
207
|
+
3. **Resources in resources/**: Templates, examples
|
|
208
|
+
4. **Docs in docs/**: Long-form documentation
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## Validation Checklist
|
|
213
|
+
|
|
214
|
+
Before publishing a skill:
|
|
215
|
+
|
|
216
|
+
**YAML Frontmatter**:
|
|
217
|
+
- [ ] Starts with `---`
|
|
218
|
+
- [ ] Has `name` (1-64 chars)
|
|
219
|
+
- [ ] Has `description` (50-1024 chars recommended)
|
|
220
|
+
- [ ] Description includes "what" and "when"
|
|
221
|
+
- [ ] Ends with `---`
|
|
222
|
+
- [ ] Valid YAML syntax
|
|
223
|
+
|
|
224
|
+
**Content**:
|
|
225
|
+
- [ ] H1 title matches skill name
|
|
226
|
+
- [ ] "What This Skill Does" section
|
|
227
|
+
- [ ] Quick Start with example
|
|
228
|
+
- [ ] Step-by-step instructions
|
|
229
|
+
- [ ] Troubleshooting section
|
|
230
|
+
|
|
231
|
+
**Structure**:
|
|
232
|
+
- [ ] SKILL.md < 50KB
|
|
233
|
+
- [ ] Scripts are executable (if present)
|
|
234
|
+
- [ ] Resources are referenced correctly
|
|
235
|
+
- [ ] Links work (no broken references)
|
|
236
|
+
|
|
237
|
+
**Testing**:
|
|
238
|
+
- [ ] Appears in Claude's skills list
|
|
239
|
+
- [ ] Triggers on expected queries
|
|
240
|
+
- [ ] Instructions are clear
|
|
241
|
+
- [ ] Examples work
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## Troubleshooting
|
|
246
|
+
|
|
247
|
+
### Skill Not Appearing
|
|
248
|
+
|
|
249
|
+
**Problem**: Claude doesn't show my skill
|
|
250
|
+
**Solutions**:
|
|
251
|
+
1. Check SKILL.md location (`~/.claude/skills/` or `.claude/skills/`)
|
|
252
|
+
2. Verify YAML frontmatter format
|
|
253
|
+
3. Restart Claude Code
|
|
254
|
+
4. Run validation script
|
|
255
|
+
|
|
256
|
+
### Description Not Matching
|
|
257
|
+
|
|
258
|
+
**Problem**: Claude doesn't trigger skill when expected
|
|
259
|
+
**Solutions**:
|
|
260
|
+
1. Add more specific trigger keywords
|
|
261
|
+
2. Include clear "when to use" clause
|
|
262
|
+
3. Front-load important terms
|
|
263
|
+
4. Test with different phrasings
|
|
264
|
+
|
|
265
|
+
### Validation Errors
|
|
266
|
+
|
|
267
|
+
**Problem**: Validation script reports errors
|
|
268
|
+
**Solution**: See error messages and fix:
|
|
269
|
+
- YAML syntax errors
|
|
270
|
+
- Field length violations
|
|
271
|
+
- Missing required sections
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
## Resources
|
|
276
|
+
|
|
277
|
+
### Official Documentation
|
|
278
|
+
- [Anthropic Skills Docs](https://docs.claude.com/en/docs/agents-and-tools/agent-skills)
|
|
279
|
+
- [GitHub Skills Repo](https://github.com/anthropics/skills)
|
|
280
|
+
- [Claude Code Docs](https://docs.claude.com/en/docs/claude-code)
|
|
281
|
+
|
|
282
|
+
### Community
|
|
283
|
+
- [Anthropic Discord](https://discord.gg/anthropic)
|
|
284
|
+
- [Skills Marketplace](https://github.com/anthropics/skills)
|
|
285
|
+
|
|
286
|
+
### Local Files
|
|
287
|
+
- Specification: [`docs/SPECIFICATION.md`](docs/SPECIFICATION.md)
|
|
288
|
+
- Templates: [`resources/templates/`](resources/templates/)
|
|
289
|
+
- Schemas: [`resources/schemas/`](resources/schemas/)
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
293
|
+
## Contributing
|
|
294
|
+
|
|
295
|
+
To improve this skill:
|
|
296
|
+
|
|
297
|
+
1. Test skill creation workflows
|
|
298
|
+
2. Add more templates
|
|
299
|
+
3. Improve validation scripts
|
|
300
|
+
4. Document edge cases
|
|
301
|
+
5. Share examples
|
|
302
|
+
|
|
303
|
+
---
|
|
304
|
+
|
|
305
|
+
**Created**: 2025-10-19
|
|
306
|
+
**Version**: 1.0.0
|
|
307
|
+
**Maintained By**: agentic-flow team
|
|
308
|
+
**License**: MIT
|