opencode-swarm-plugin 0.12.25 → 0.12.26

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.
@@ -633,6 +633,13 @@
633
633
  {"id":"opencode-swarm-plugin-cert","title":"Test bead minimal","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-08T11:12:40.697512-08:00","updated_at":"2025-12-08T11:12:43.475157-08:00","closed_at":"2025-12-08T11:12:43.475157-08:00"}
634
634
  {"id":"opencode-swarm-plugin-cf7z","title":"Test bead minimal","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-07T19:41:10.601954-08:00","updated_at":"2025-12-07T19:41:13.224334-08:00","closed_at":"2025-12-07T19:41:13.224334-08:00"}
635
635
  {"id":"opencode-swarm-plugin-cjq3","title":"Thread link test bead","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-08T08:23:19.197074-08:00","updated_at":"2025-12-08T08:23:20.668185-08:00","closed_at":"2025-12-08T08:23:20.668185-08:00"}
636
+ {"id":"opencode-swarm-plugin-cliku","title":"Investigate potential skills for opencode-swarm-plugin","description":"Analyze codebase patterns, workflows, and domain knowledge to identify new skill opportunities beyond the existing 5 bundled skills","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-12-12T21:44:25.282969-08:00","updated_at":"2025-12-12T21:47:11.486359-08:00","closed_at":"2025-12-12T21:47:11.486359-08:00"}
637
+ {"id":"opencode-swarm-plugin-cliku.1","title":"Analyze src/ modules for extractable patterns","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:44:25.33437-08:00","updated_at":"2025-12-12T21:46:09.368653-08:00","closed_at":"2025-12-12T21:46:09.368662-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-cliku.1","depends_on_id":"opencode-swarm-plugin-cliku","type":"parent-child","created_at":"2025-12-12T21:44:25.335292-08:00","created_by":"daemon"}]}
638
+ {"id":"opencode-swarm-plugin-cliku.2","title":"Analyze existing skills for gaps and extensions","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:44:25.38425-08:00","updated_at":"2025-12-12T21:46:10.054798-08:00","closed_at":"2025-12-12T21:46:10.0548-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-cliku.2","depends_on_id":"opencode-swarm-plugin-cliku","type":"parent-child","created_at":"2025-12-12T21:44:25.385157-08:00","created_by":"daemon"}]}
639
+ {"id":"opencode-swarm-plugin-cliku.3","title":"Search CASS for skill-related patterns from past sessions","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:44:25.437227-08:00","updated_at":"2025-12-12T21:46:10.75249-08:00","closed_at":"2025-12-12T21:46:10.752496-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-cliku.3","depends_on_id":"opencode-swarm-plugin-cliku","type":"parent-child","created_at":"2025-12-12T21:44:25.438595-08:00","created_by":"daemon"}]}
640
+ {"id":"opencode-swarm-plugin-cliku.4","title":"Analyze CLI and plugin patterns for tooling skills","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:44:25.48734-08:00","updated_at":"2025-12-12T21:46:11.436638-08:00","closed_at":"2025-12-12T21:46:11.43664-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-cliku.4","depends_on_id":"opencode-swarm-plugin-cliku","type":"parent-child","created_at":"2025-12-12T21:44:25.488372-08:00","created_by":"daemon"}]}
641
+ {"id":"opencode-swarm-plugin-cliku.5","title":"Synthesize findings into skill recommendations","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-12-12T21:44:25.535457-08:00","updated_at":"2025-12-12T21:47:09.742548-08:00","closed_at":"2025-12-12T21:47:09.742548-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-cliku.5","depends_on_id":"opencode-swarm-plugin-cliku","type":"parent-child","created_at":"2025-12-12T21:44:25.536925-08:00","created_by":"daemon"}]}
642
+ {"id":"opencode-swarm-plugin-cliku.6","title":"Search pdf-brain for skill-worthy knowledge","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:46:12.83653-08:00","updated_at":"2025-12-12T21:46:46.011065-08:00","closed_at":"2025-12-12T21:46:46.011065-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-cliku.6","depends_on_id":"opencode-swarm-plugin-cliku","type":"parent-child","created_at":"2025-12-12T21:46:12.837492-08:00","created_by":"daemon"}]}
636
643
  {"id":"opencode-swarm-plugin-cmo6","title":"Update test bead","description":"Blocked on dependency","status":"closed","priority":1,"issue_type":"task","created_at":"2025-12-08T07:53:44.299916-08:00","updated_at":"2025-12-08T07:53:46.527966-08:00","closed_at":"2025-12-08T07:53:46.527966-08:00"}
637
644
  {"id":"opencode-swarm-plugin-cmx0j","title":"Thread link test bead","description":"Important context here\n\n[thread:test-thread-789]","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-10T09:06:08.377019-08:00","updated_at":"2025-12-10T09:06:10.913752-08:00","closed_at":"2025-12-10T09:06:10.913752-08:00"}
638
645
  {"id":"opencode-swarm-plugin-cor","title":"Bead to close","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-07T19:34:53.00247-08:00","updated_at":"2025-12-07T19:34:53.027513-08:00","closed_at":"2025-12-07T19:34:53.027513-08:00"}
@@ -828,6 +835,15 @@
828
835
  {"id":"opencode-swarm-plugin-ga3","title":"Query test bead","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-07T19:39:18.459646-08:00","updated_at":"2025-12-07T19:39:20.527941-08:00","closed_at":"2025-12-07T19:39:20.527941-08:00"}
829
836
  {"id":"opencode-swarm-plugin-gatr","title":"Epic with file references","description":"","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-12-08T11:11:08.773318-08:00","updated_at":"2025-12-08T11:11:10.670318-08:00","closed_at":"2025-12-08T11:11:10.670318-08:00"}
830
837
  {"id":"opencode-swarm-plugin-gatr.2","title":"Edit src/b.ts","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-08T11:11:08.844156-08:00","updated_at":"2025-12-08T11:11:10.722914-08:00","closed_at":"2025-12-08T11:11:10.722914-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-gatr.2","depends_on_id":"opencode-swarm-plugin-gatr","type":"parent-child","created_at":"2025-12-08T11:11:08.844503-08:00","created_by":"daemon"}]}
838
+ {"id":"opencode-swarm-plugin-gf1n8","title":"Add skills documentation and create 7 new bundled skills","description":"Update README with skills feature documentation, publish new version, then create 7 new skills: agent-patterns, tacit-knowledge-extraction, learning-systems, zod-validation, resilience-patterns, mcp-tool-authoring, testing-strategies","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-12-12T21:49:01.067542-08:00","updated_at":"2025-12-12T21:53:55.973974-08:00","closed_at":"2025-12-12T21:53:55.973974-08:00"}
839
+ {"id":"opencode-swarm-plugin-gf1n8.1","title":"Update README with skills documentation","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-12-12T21:49:01.108379-08:00","updated_at":"2025-12-12T21:49:37.717118-08:00","closed_at":"2025-12-12T21:49:37.717118-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-gf1n8.1","depends_on_id":"opencode-swarm-plugin-gf1n8","type":"parent-child","created_at":"2025-12-12T21:49:01.109457-08:00","created_by":"daemon"}]}
840
+ {"id":"opencode-swarm-plugin-gf1n8.2","title":"Create agent-patterns skill from PDF","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:49:01.147507-08:00","updated_at":"2025-12-12T21:53:28.210831-08:00","closed_at":"2025-12-12T21:53:28.210831-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-gf1n8.2","depends_on_id":"opencode-swarm-plugin-gf1n8","type":"parent-child","created_at":"2025-12-12T21:49:01.148296-08:00","created_by":"daemon"}]}
841
+ {"id":"opencode-swarm-plugin-gf1n8.3","title":"Create tacit-knowledge-extraction skill","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:49:01.190071-08:00","updated_at":"2025-12-12T21:53:29.05083-08:00","closed_at":"2025-12-12T21:53:29.05083-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-gf1n8.3","depends_on_id":"opencode-swarm-plugin-gf1n8","type":"parent-child","created_at":"2025-12-12T21:49:01.191674-08:00","created_by":"daemon"}]}
842
+ {"id":"opencode-swarm-plugin-gf1n8.4","title":"Create learning-systems skill","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:49:01.240273-08:00","updated_at":"2025-12-12T21:53:29.822709-08:00","closed_at":"2025-12-12T21:53:29.822709-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-gf1n8.4","depends_on_id":"opencode-swarm-plugin-gf1n8","type":"parent-child","created_at":"2025-12-12T21:49:01.241765-08:00","created_by":"daemon"}]}
843
+ {"id":"opencode-swarm-plugin-gf1n8.5","title":"Create zod-validation skill","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:49:01.286597-08:00","updated_at":"2025-12-12T21:53:30.592121-08:00","closed_at":"2025-12-12T21:53:30.592121-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-gf1n8.5","depends_on_id":"opencode-swarm-plugin-gf1n8","type":"parent-child","created_at":"2025-12-12T21:49:01.287248-08:00","created_by":"daemon"}]}
844
+ {"id":"opencode-swarm-plugin-gf1n8.6","title":"Create resilience-patterns skill","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:49:01.326304-08:00","updated_at":"2025-12-12T21:53:31.396458-08:00","closed_at":"2025-12-12T21:53:31.396458-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-gf1n8.6","depends_on_id":"opencode-swarm-plugin-gf1n8","type":"parent-child","created_at":"2025-12-12T21:49:01.327839-08:00","created_by":"daemon"}]}
845
+ {"id":"opencode-swarm-plugin-gf1n8.7","title":"Create mcp-tool-authoring skill","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:49:01.3722-08:00","updated_at":"2025-12-12T21:53:32.220987-08:00","closed_at":"2025-12-12T21:53:32.220987-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-gf1n8.7","depends_on_id":"opencode-swarm-plugin-gf1n8","type":"parent-child","created_at":"2025-12-12T21:49:01.373746-08:00","created_by":"daemon"}]}
846
+ {"id":"opencode-swarm-plugin-gf1n8.8","title":"Create testing-strategies skill","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-12T21:49:01.415744-08:00","updated_at":"2025-12-12T21:53:32.979008-08:00","closed_at":"2025-12-12T21:53:32.979008-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-gf1n8.8","depends_on_id":"opencode-swarm-plugin-gf1n8","type":"parent-child","created_at":"2025-12-12T21:49:01.417461-08:00","created_by":"daemon"}]}
831
847
  {"id":"opencode-swarm-plugin-gf3y","title":"Query test bead","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-08T11:12:25.651349-08:00","updated_at":"2025-12-08T11:12:28.033348-08:00","closed_at":"2025-12-08T11:12:28.033348-08:00"}
832
848
  {"id":"opencode-swarm-plugin-ggq","title":"Limit test bead 4","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-07T19:36:06.582584-08:00","updated_at":"2025-12-07T19:36:08.680139-08:00","closed_at":"2025-12-07T19:36:08.680139-08:00"}
833
849
  {"id":"opencode-swarm-plugin-gh1h","title":"Bead to close","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-08T11:11:38.973012-08:00","updated_at":"2025-12-08T11:11:38.996815-08:00","closed_at":"2025-12-08T11:11:38.996815-08:00"}
@@ -925,6 +941,7 @@
925
941
  {"id":"opencode-swarm-plugin-if3v","title":"Limit test bead 4","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-08T11:10:53.346318-08:00","updated_at":"2025-12-08T11:10:55.820026-08:00","closed_at":"2025-12-08T11:10:55.820026-08:00"}
926
942
  {"id":"opencode-swarm-plugin-ijyv","title":"Epic with file references","description":"","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-12-08T08:56:56.579396-08:00","updated_at":"2025-12-08T08:56:58.480064-08:00","closed_at":"2025-12-08T08:56:58.480064-08:00"}
927
943
  {"id":"opencode-swarm-plugin-ijyv.2","title":"Edit src/b.ts","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-08T08:56:56.641855-08:00","updated_at":"2025-12-08T08:56:58.530793-08:00","closed_at":"2025-12-08T08:56:58.530793-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-ijyv.2","depends_on_id":"opencode-swarm-plugin-ijyv","type":"parent-child","created_at":"2025-12-08T08:56:56.642441-08:00","created_by":"daemon"}]}
944
+ {"id":"opencode-swarm-plugin-ijzjd","title":"Update README to document skills feature","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-12-12T21:46:13.821586-08:00","updated_at":"2025-12-12T21:49:38.634771-08:00","closed_at":"2025-12-12T21:49:38.634771-08:00"}
928
945
  {"id":"opencode-swarm-plugin-ikff","title":"Integration test epic","description":"Testing epic creation","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-12-08T08:56:56.45202-08:00","updated_at":"2025-12-08T08:56:58.380335-08:00","closed_at":"2025-12-08T08:56:58.380335-08:00"}
929
946
  {"id":"opencode-swarm-plugin-ikff.1","title":"Subtask 1","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-08T08:56:56.484256-08:00","updated_at":"2025-12-08T08:56:58.407318-08:00","closed_at":"2025-12-08T08:56:58.407318-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-ikff.1","depends_on_id":"opencode-swarm-plugin-ikff","type":"parent-child","created_at":"2025-12-08T08:56:56.485079-08:00","created_by":"daemon"}]}
930
947
  {"id":"opencode-swarm-plugin-ikff.2","title":"Subtask 2","description":"","status":"closed","priority":3,"issue_type":"task","created_at":"2025-12-08T08:56:56.516509-08:00","updated_at":"2025-12-08T08:56:58.432353-08:00","closed_at":"2025-12-08T08:56:58.432353-08:00","dependencies":[{"issue_id":"opencode-swarm-plugin-ikff.2","depends_on_id":"opencode-swarm-plugin-ikff","type":"parent-child","created_at":"2025-12-08T08:56:56.517327-08:00","created_by":"daemon"}]}
package/README.md CHANGED
@@ -170,6 +170,111 @@ model: anthropic/claude-haiku-4-5 # Your chosen worker model
170
170
 
171
171
  Edit these files to customize behavior. Run `swarm setup` to regenerate defaults.
172
172
 
173
+ ## Skills
174
+
175
+ Skills are reusable knowledge packages that agents can load on-demand. They contain domain expertise, workflows, and patterns that help agents perform specialized tasks.
176
+
177
+ ### Using Skills
178
+
179
+ ```bash
180
+ # List available skills
181
+ swarm tool skills_list
182
+
183
+ # Read a skill's content
184
+ swarm tool skills_read --json '{"name": "debugging"}'
185
+
186
+ # Use a skill (get formatted for context injection)
187
+ swarm tool skills_use --json '{"name": "code-review", "context": "reviewing a PR"}'
188
+ ```
189
+
190
+ In OpenCode, agents can use skills directly:
191
+
192
+ ```
193
+ skills_list() # See what's available
194
+ skills_use(name="debugging") # Load debugging patterns
195
+ skills_use(name="swarm-coordination") # Load swarm workflow
196
+ ```
197
+
198
+ ### Bundled Skills
199
+
200
+ | Skill | Tags | Description |
201
+ | ---------------------------- | -------------------- | ------------------------------------------------------------------------------------ |
202
+ | `agent-patterns` | ai, agents, patterns | AI agent design patterns - capability whiteboards, architecture evolution, evals |
203
+ | `cli-builder` | cli, typescript, bun | Building TypeScript CLIs with Bun - argument parsing, subcommands, output formatting |
204
+ | `code-review` | review, quality | Code review patterns - systematic checklists, feedback patterns |
205
+ | `debugging` | debugging, errors | Systematic debugging - root cause analysis, error resolution |
206
+ | `learning-systems` | learning, feedback | Implicit feedback scoring, confidence decay, anti-pattern detection |
207
+ | `mcp-tool-authoring` | mcp, tools | Building MCP tools - schema definition, context passing, error handling |
208
+ | `resilience-patterns` | errors, recovery | Error recovery, retry strategies, graceful degradation |
209
+ | `skill-creator` | meta, skills | Guide for creating effective skills |
210
+ | `swarm-coordination` | swarm, multi-agent | Multi-agent coordination patterns for swarm workflows |
211
+ | `tacit-knowledge-extraction` | knowledge, patterns | Extracting tacit knowledge into pattern languages |
212
+ | `testing-strategies` | testing, vitest | Testing async/swarm operations, mocking patterns |
213
+ | `zod-validation` | zod, typescript | Schema validation patterns with Zod |
214
+
215
+ ### Skill Locations
216
+
217
+ Skills are loaded from three locations (in order):
218
+
219
+ 1. **Project skills**: `.opencode/skills/`, `.claude/skills/`, or `skills/`
220
+ 2. **Global skills**: `~/.config/opencode/skills/`
221
+ 3. **Bundled skills**: Included with the plugin
222
+
223
+ ### Creating Skills
224
+
225
+ ```bash
226
+ # Initialize project skills directory
227
+ swarm tool skills_init
228
+
229
+ # Create a new skill
230
+ swarm tool skills_create --json '{"name": "my-skill", "description": "What it does", "tags": ["tag1", "tag2"]}'
231
+ ```
232
+
233
+ Or use the `skill-creator` skill for guidance:
234
+
235
+ ```
236
+ skills_use(name="skill-creator")
237
+ ```
238
+
239
+ Each skill is a directory containing:
240
+
241
+ ```
242
+ my-skill/
243
+ SKILL.md # Main content (required)
244
+ references/ # Optional supporting files
245
+ patterns.md
246
+ examples.md
247
+ ```
248
+
249
+ ### SKILL.md Format
250
+
251
+ ```markdown
252
+ ---
253
+ name: my-skill
254
+ description: Brief description for discovery
255
+ tags:
256
+ - tag1
257
+ - tag2
258
+ ---
259
+
260
+ # My Skill
261
+
262
+ ## When to Use
263
+
264
+ - Trigger condition 1
265
+ - Trigger condition 2
266
+
267
+ ## Patterns
268
+
269
+ ### Pattern Name
270
+
271
+ Description and examples...
272
+
273
+ ## Anti-Patterns
274
+
275
+ What NOT to do...
276
+ ```
277
+
173
278
  ## Dependencies
174
279
 
175
280
  | Dependency | Purpose | Required |