agentic-toolbox 0.1.0

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 (56) hide show
  1. package/AGENTS.md +242 -0
  2. package/LICENSE +21 -0
  3. package/README.md +326 -0
  4. package/agents/Agent.md.sample +384 -0
  5. package/agents/agentic-tools-creator.md +143 -0
  6. package/dist/cli.d.ts +12 -0
  7. package/dist/cli.d.ts.map +1 -0
  8. package/dist/cli.js +74 -0
  9. package/dist/cli.js.map +1 -0
  10. package/dist/config.d.ts +6 -0
  11. package/dist/config.d.ts.map +1 -0
  12. package/dist/config.js +40 -0
  13. package/dist/config.js.map +1 -0
  14. package/dist/constants.d.ts +6 -0
  15. package/dist/constants.d.ts.map +1 -0
  16. package/dist/constants.js +36 -0
  17. package/dist/constants.js.map +1 -0
  18. package/dist/index.d.ts +2 -0
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.js +5 -0
  21. package/dist/index.js.map +1 -0
  22. package/dist/sync.d.ts +13 -0
  23. package/dist/sync.d.ts.map +1 -0
  24. package/dist/sync.js +75 -0
  25. package/dist/sync.js.map +1 -0
  26. package/dist/transform.d.ts +2 -0
  27. package/dist/transform.d.ts.map +1 -0
  28. package/dist/transform.js +42 -0
  29. package/dist/transform.js.map +1 -0
  30. package/dist/types.d.ts +25 -0
  31. package/dist/types.d.ts.map +1 -0
  32. package/dist/types.js +2 -0
  33. package/dist/types.js.map +1 -0
  34. package/package.json +55 -0
  35. package/skills/SKILL.md.sample +322 -0
  36. package/skills/agent-creator/SKILL.md +110 -0
  37. package/skills/agent-creator/assets/examples/code-reviewer.md +68 -0
  38. package/skills/agent-creator/assets/examples/docs-writer.md +67 -0
  39. package/skills/agent-creator/assets/examples/read-only-researcher.md +64 -0
  40. package/skills/agent-creator/references/AGENT_TEMPLATE.md +391 -0
  41. package/skills/agent-creator/references/frontmatter.md +544 -0
  42. package/skills/agent-creator/references/prompt.md +449 -0
  43. package/skills/agent-creator/references/validation.md +309 -0
  44. package/skills/agentic-resource-gatherer/SKILL.md +249 -0
  45. package/skills/agentic-resource-gatherer/assets/examples/frontend-developer-agent.md +52 -0
  46. package/skills/agentic-resource-gatherer/assets/examples/git-formatter-skill.md +52 -0
  47. package/skills/agentic-resource-gatherer/references/agent-repos.md +190 -0
  48. package/skills/agentic-resource-gatherer/references/skill-repos.md +225 -0
  49. package/skills/skill-creator/SKILL.md +178 -0
  50. package/skills/skill-creator/assets/examples/background-knowledge-skill.md +25 -0
  51. package/skills/skill-creator/assets/examples/code-generation-skill.md +51 -0
  52. package/skills/skill-creator/assets/examples/simple-git-skill.md +36 -0
  53. package/skills/skill-creator/references/SKILL_TEMPLATE.md +322 -0
  54. package/skills/skill-creator/references/frontmatter.md +441 -0
  55. package/skills/skill-creator/references/prompt.md +384 -0
  56. package/skills/skill-creator/references/validation.md +282 -0
@@ -0,0 +1,441 @@
1
+ # SKILL.md Frontmatter Reference
2
+
3
+ Complete reference for all frontmatter fields available in SKILL.md files.
4
+
5
+ ---
6
+
7
+ ## Specification Fields
8
+
9
+ These fields are part of the [Agent Skills specification](https://agentskills.io/specification) and are supported across multiple platforms.
10
+
11
+ ### `name` (Required)
12
+
13
+ Skill identifier.
14
+
15
+ | Platform | Constraints |
16
+ |----------|-------------|
17
+ | **Specification** | Max 64 characters. Lowercase letters, numbers, and hyphens only. Must not start or end with a hyphen. Must not contain consecutive hyphens. Must match parent directory name. |
18
+ | **Claude** | Optional, defaults to directory name. |
19
+ | **OpenCode** | Required. Must match directory name. |
20
+
21
+ **Valid examples:**
22
+ ```yaml
23
+ name: pdf-processing
24
+ name: data-analysis
25
+ name: code-review
26
+ ```
27
+
28
+ **Invalid examples:**
29
+ ```yaml
30
+ name: PDF-Processing # uppercase not allowed
31
+ name: -pdf # cannot start with hyphen
32
+ name: pdf--processing # consecutive hyphens not allowed
33
+ ```
34
+
35
+ ### `description` (Required)
36
+
37
+ What the skill does and when to use it.
38
+
39
+ | Platform | Constraints |
40
+ |----------|-------------|
41
+ | **Specification** | Max 1024 characters. Non-empty. Describes what the skill does and when to use it. |
42
+ | **Claude** | Used to decide when to load automatically. Combined with `when_to_use` truncated at 1,536 characters. |
43
+ | **OpenCode** | Required. 1-1024 characters. |
44
+
45
+ **Description must include:**
46
+ 1. What it does (core capability)
47
+ 2. When to invoke (trigger conditions)
48
+ 3. What NOT to use it for (exclusions)
49
+ 4. What it returns (output structure)
50
+
51
+ **Good example:**
52
+ ```yaml
53
+ description: >
54
+ Create consistent releases and changelogs from merged PRs. Use when
55
+ preparing a tagged release or generating release notes. Do not use for
56
+ feature branch merges, hotfix deployments, or version bumps without
57
+ release notes. Returns a structured release with version bump
58
+ recommendation, changelog entries, and a ready-to-run gh release command.
59
+ ```
60
+
61
+ **Poor example:**
62
+ ```yaml
63
+ description: Helps with releases
64
+ ```
65
+
66
+ ### `license` (Optional)
67
+
68
+ License covering the skill.
69
+
70
+ | Platform | Constraints |
71
+ |----------|-------------|
72
+ | **Specification** | License name or reference to a bundled license file. |
73
+ | **Claude** | Accepted but not acted on. |
74
+ | **OpenCode** | Accepted but not acted on. |
75
+
76
+ **Example:**
77
+ ```yaml
78
+ license: MIT
79
+ license: Apache-2.0
80
+ license: Proprietary. LICENSE.txt has complete terms
81
+ ```
82
+
83
+ ### `compatibility` (Optional)
84
+
85
+ Environment requirements for the skill.
86
+
87
+ | Platform | Constraints |
88
+ |----------|-------------|
89
+ | **Specification** | Max 500 characters. Indicates environment requirements (intended product, system packages, network access, etc.). |
90
+ | **Claude** | Accepted but not acted on. |
91
+ | **OpenCode** | Accepted but not acted on. |
92
+
93
+ **Examples:**
94
+ ```yaml
95
+ compatibility: Designed for Claude Code (or similar products)
96
+ compatibility: Requires git, docker, jq, and access to the internet
97
+ compatibility: Requires Python 3.14+ and uv
98
+ ```
99
+
100
+ Most skills do not need this field.
101
+
102
+ ### `metadata` (Optional)
103
+
104
+ Free-form key-value data for additional metadata.
105
+
106
+ | Platform | Constraints |
107
+ |----------|-------------|
108
+ | **Specification** | Map from string keys to string values. |
109
+ | **Claude** | Must be a YAML map. |
110
+ | **OpenCode** | Must be string-to-string map. |
111
+
112
+ **Example:**
113
+ ```yaml
114
+ metadata:
115
+ author: example-org
116
+ version: "1.0"
117
+ audience: developers
118
+ workflow: github
119
+ ```
120
+
121
+ ### `allowed-tools` (Optional)
122
+
123
+ Space-separated string of pre-approved tools the skill may use.
124
+
125
+ | Platform | Constraints |
126
+ |----------|-------------|
127
+ | **Specification** | Experimental. Support may vary between agent implementations. |
128
+ | **Claude** | Space or comma-separated, or YAML list. Grant clears on next message. |
129
+ | **OpenCode** | Not recognized (ignored). |
130
+
131
+ **Example:**
132
+ ```yaml
133
+ allowed-tools: Read Grep Glob Bash
134
+ allowed-tools: Bash(git:*) Bash(jq:*) Read
135
+ ```
136
+
137
+ ---
138
+
139
+ ## Claude-Specific Fields
140
+
141
+ These fields are only supported by Claude and will be ignored by other platforms.
142
+
143
+ ### `when_to_use`
144
+
145
+ Additional context for when Claude should invoke the skill.
146
+
147
+ | Constraints |
148
+ |-------------|
149
+ | Optional. Appended to description in skill listing. Truncated at 1,536 characters combined with description. |
150
+
151
+ **Example:**
152
+ ```yaml
153
+ when_to_use: >
154
+ Use this when you are preparing a tagged release. Ask clarifying
155
+ questions if the target versioning scheme is unclear.
156
+ ```
157
+
158
+ ### `argument-hint`
159
+
160
+ Hint shown during autocomplete to indicate expected arguments.
161
+
162
+ | Constraints |
163
+ |-------------|
164
+ | Optional. String. |
165
+
166
+ **Example:**
167
+ ```yaml
168
+ argument-hint: "[issue-number]"
169
+ argument-hint: "[filename] [format]"
170
+ ```
171
+
172
+ ### `arguments`
173
+
174
+ Named positional arguments for `$name` substitution in skill content.
175
+
176
+ | Constraints |
177
+ |-------------|
178
+ | Optional. Space-separated string or YAML list. Names map to argument positions in order. |
179
+
180
+ **Example:**
181
+ ```yaml
182
+ arguments:
183
+ - issue
184
+ - branch
185
+ ```
186
+
187
+ This allows `$issue` and `$branch` placeholders in the skill content.
188
+
189
+ ### `disable-model-invocation`
190
+
191
+ Prevent Claude from automatically loading this skill.
192
+
193
+ | Constraints |
194
+ |-------------|
195
+ | Optional. Boolean. Default: `false`. |
196
+
197
+ **Values:**
198
+ - `true` = Only user can invoke with `/skill-name`
199
+ - `false` = Both user and Claude can invoke
200
+
201
+ **Example:**
202
+ ```yaml
203
+ disable-model-invocation: true
204
+ ```
205
+
206
+ Use for workflows with side effects like `/deploy` or `/commit`.
207
+
208
+ ### `user-invocable`
209
+
210
+ Hide from the `/` menu.
211
+
212
+ | Constraints |
213
+ |-------------|
214
+ | Optional. Boolean. Default: `true`. |
215
+
216
+ **Values:**
217
+ - `true` = User can invoke
218
+ - `false` = Only Claude can invoke (background knowledge)
219
+
220
+ **Example:**
221
+ ```yaml
222
+ user-invocable: false
223
+ ```
224
+
225
+ Use for background knowledge that isn't actionable as a command.
226
+
227
+ ### `disallowed-tools`
228
+
229
+ Tools removed from Claude's available pool while this skill is active.
230
+
231
+ | Constraints |
232
+ |-------------|
233
+ | Optional. Space or comma-separated, or YAML list. Restriction clears on next message. |
234
+
235
+ **Example:**
236
+ ```yaml
237
+ disallowed-tools: Write, Edit
238
+ ```
239
+
240
+ ### `model`
241
+
242
+ Model override for this skill.
243
+
244
+ | Constraints |
245
+ |-------------|
246
+ | Optional. Override applies for rest of current turn. |
247
+
248
+ **Values:**
249
+ - `sonnet` - Claude Sonnet
250
+ - `opus` - Claude Opus
251
+ - `haiku` - Claude Haiku
252
+ - `inherit` - Keep active model
253
+ - Full model ID (e.g., `claude-opus-5`)
254
+
255
+ **Example:**
256
+ ```yaml
257
+ model: haiku
258
+ ```
259
+
260
+ ### `effort`
261
+
262
+ Effort level override.
263
+
264
+ | Constraints |
265
+ |-------------|
266
+ | Optional. Default: inherits from session. |
267
+
268
+ **Values:**
269
+ - `low`
270
+ - `medium`
271
+ - `high`
272
+ - `xhigh`
273
+ - `max`
274
+
275
+ Available levels depend on the model.
276
+
277
+ **Example:**
278
+ ```yaml
279
+ effort: high
280
+ ```
281
+
282
+ ### `context`
283
+
284
+ Run in forked subagent context.
285
+
286
+ | Constraints |
287
+ |-------------|
288
+ | Optional. |
289
+
290
+ **Values:**
291
+ - `fork` = Run in separate subagent
292
+
293
+ **Example:**
294
+ ```yaml
295
+ context: fork
296
+ ```
297
+
298
+ ### `agent`
299
+
300
+ Which subagent type to use when `context: fork` is set.
301
+
302
+ | Constraints |
303
+ |-------------|
304
+ | Optional. Only applies with `context: fork`. |
305
+
306
+ **Example:**
307
+ ```yaml
308
+ agent: general
309
+ ```
310
+
311
+ ### `background`
312
+
313
+ Only applies with `context: fork`. Whether to run in background.
314
+
315
+ | Constraints |
316
+ |-------------|
317
+ | Optional. Only with `context: fork`. Default: `true`. |
318
+
319
+ **Values:**
320
+ - `true` = Run in background
321
+ - `false` = Wait for result
322
+
323
+ **Example:**
324
+ ```yaml
325
+ background: true
326
+ ```
327
+
328
+ ### `hooks`
329
+
330
+ Lifecycle hooks scoped to this skill.
331
+
332
+ | Constraints |
333
+ |-------------|
334
+ | Optional. YAML object. |
335
+
336
+ **Example:**
337
+ ```yaml
338
+ hooks:
339
+ PreToolUse:
340
+ - matcher: "Bash"
341
+ hooks:
342
+ - type: command
343
+ command: "echo 'Running skill'"
344
+ ```
345
+
346
+ ### `paths`
347
+
348
+ Glob patterns that limit when this skill is activated.
349
+
350
+ | Constraints |
351
+ |-------------|
352
+ | Optional. Comma-separated string or YAML list. |
353
+
354
+ When set, Claude loads the skill automatically only when working with files matching the patterns.
355
+
356
+ **Example:**
357
+ ```yaml
358
+ paths: "src/**/*.ts, lib/**/*.js"
359
+ ```
360
+
361
+ ### `shell`
362
+
363
+ Shell to use for inline commands (`` !`command` `` and ```` ```! ```` blocks).
364
+
365
+ | Constraints |
366
+ |-------------|
367
+ | Optional. |
368
+
369
+ **Values:**
370
+ - `bash` (default)
371
+ - `powershell`
372
+
373
+ **Example:**
374
+ ```yaml
375
+ shell: bash
376
+ ```
377
+
378
+ ---
379
+
380
+ ## Dynamic Context (Claude Only)
381
+
382
+ ### Inline Shell Commands
383
+
384
+ Use `` !`command` `` to inject shell output into skill content. Claude runs the command and replaces the line with its output.
385
+
386
+ **Examples:**
387
+ ```yaml
388
+ ## Current State
389
+ !`git status --short`
390
+
391
+ ## Files
392
+ !`ls -la src/`
393
+ ```
394
+
395
+ ### String Substitutions
396
+
397
+ | Variable | Description |
398
+ |----------|-------------|
399
+ | `$ARGUMENTS` | All arguments passed when invoking the skill |
400
+ | `$0`, `$1`, `$2` | Specific arguments by index |
401
+ | `$name` | Named argument from `arguments` field |
402
+ | `${CLAUDE_SESSION_ID}` | Current session ID |
403
+ | `${CLAUDE_EFFORT}` | Current effort level |
404
+ | `${CLAUDE_SKILL_DIR}` | Directory containing this SKILL.md |
405
+ | `${CLAUDE_PROJECT_DIR}` | Project root directory |
406
+
407
+ **Examples:**
408
+ ```yaml
409
+ ## Session Log
410
+ Log to logs/${CLAUDE_SESSION_ID}.log:
411
+
412
+ $ARGUMENTS
413
+ ```
414
+
415
+ ```yaml
416
+ ## Script Execution
417
+ Run `${CLAUDE_SKILL_DIR}/scripts/helper.sh` to process data.
418
+ ```
419
+
420
+ ---
421
+
422
+ ## Invocation Control Matrix
423
+
424
+ | Frontmatter | You can invoke | Claude can invoke | When loaded into context |
425
+ |-------------|----------------|-------------------|--------------------------|
426
+ | (default) | Yes | Yes | Description always in context, full skill loads when invoked |
427
+ | `disable-model-invocation: true` | Yes | No | Description not in context, full skill loads when you invoke |
428
+ | `user-invocable: false` | No | Yes | Description always in context, full skill loads when invoked |
429
+
430
+ ---
431
+
432
+ ## OpenCode Notes
433
+
434
+ OpenCode only recognizes the specification fields:
435
+ - `name` (required)
436
+ - `description` (required)
437
+ - `license` (optional)
438
+ - `compatibility` (optional)
439
+ - `metadata` (optional)
440
+
441
+ All other fields (Claude-specific) are ignored by OpenCode.