@softspark/ai-toolkit 2.0.1 → 2.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.
- package/CHANGELOG.md +37 -0
- package/README.md +49 -20
- package/app/ARCHITECTURE.md +1 -1
- package/app/plugins/README.md +6 -2
- package/app/skills/plugin-creator/SKILL.md +3 -4
- package/bin/ai-toolkit.js +20 -7
- package/kb/procedures/maintenance-sop.md +64 -16
- package/kb/procedures/release-preparation-sop.md +4 -2
- package/kb/procedures/release-verification-sop.md +15 -13
- package/kb/reference/architecture-overview.md +44 -5
- package/kb/reference/claude-ecosystem-expansion-foundations.md +4 -4
- package/kb/reference/codex-cli-compatibility.md +136 -0
- package/kb/reference/extension-api.md +23 -6
- package/kb/reference/global-install-model.md +62 -5
- package/kb/reference/mcp-editor-compatibility.md +62 -0
- package/kb/reference/mcp-templates.md +32 -6
- package/kb/reference/plugin-pack-conventions.md +22 -21
- package/kb/reference/skills-catalog.md +27 -5
- package/llms-full.txt +508 -84
- package/llms.txt +2 -0
- package/package.json +5 -4
- package/scripts/codex_skill_adapter.py +295 -0
- package/scripts/dir_rules_shared.py +46 -7
- package/scripts/generate_cline_rules.py +11 -2
- package/scripts/generate_codex.py +92 -0
- package/scripts/generate_codex_hooks.py +78 -0
- package/scripts/generate_codex_rules.py +51 -0
- package/scripts/install_steps/ai_tools.py +83 -4
- package/scripts/mcp_editors.py +340 -0
- package/scripts/mcp_manager.py +125 -13
- package/scripts/migrate.py +11 -27
- package/scripts/plugin.py +745 -301
- package/scripts/plugin_schema.py +16 -1
|
@@ -5,15 +5,15 @@ service: ai-toolkit
|
|
|
5
5
|
tags: [plugins, plugin-packs, conventions, manifests, hooks, policy-packs]
|
|
6
6
|
version: "1.0.0"
|
|
7
7
|
created: "2026-03-28"
|
|
8
|
-
last_updated: "2026-04-
|
|
9
|
-
description: "Conventions for experimental ai-toolkit plugin packs, policy packs, hook packs, and plugin-creator scaffolding."
|
|
8
|
+
last_updated: "2026-04-13"
|
|
9
|
+
description: "Conventions for experimental ai-toolkit plugin packs, policy packs, hook packs, and plugin-creator scaffolding across Claude and Codex runtimes."
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# Plugin Pack Conventions
|
|
13
13
|
|
|
14
14
|
## Purpose
|
|
15
15
|
|
|
16
|
-
`ai-toolkit` now includes experimental plugin packs under `app/plugins/` to formalize a
|
|
16
|
+
`ai-toolkit` now includes experimental plugin packs under `app/plugins/` to formalize a runtime-aware plugin direction for Claude and optional global Codex layering without changing the default core install surface.
|
|
17
17
|
|
|
18
18
|
## Pack Types
|
|
19
19
|
|
|
@@ -73,32 +73,34 @@ Required keys:
|
|
|
73
73
|
|
|
74
74
|
```bash
|
|
75
75
|
ai-toolkit plugin list # show all 11 packs with install status
|
|
76
|
-
ai-toolkit plugin install <name>
|
|
77
|
-
ai-toolkit plugin install --
|
|
78
|
-
ai-toolkit plugin
|
|
79
|
-
ai-toolkit plugin update --all
|
|
76
|
+
ai-toolkit plugin install --editor claude <name> # Claude global target
|
|
77
|
+
ai-toolkit plugin install --editor codex <name> # Codex global target
|
|
78
|
+
ai-toolkit plugin install --editor all --all # install all 11 packs for both runtimes
|
|
79
|
+
ai-toolkit plugin update --editor all --all # update all installed packs
|
|
80
80
|
ai-toolkit plugin clean <name> # prune data older than 90 days (default)
|
|
81
81
|
ai-toolkit plugin clean <name> --days 30 # prune data older than 30 days
|
|
82
|
-
ai-toolkit plugin remove <name>
|
|
83
|
-
ai-toolkit plugin remove --all
|
|
84
|
-
ai-toolkit plugin status
|
|
82
|
+
ai-toolkit plugin remove --editor codex <name> # remove from one runtime only
|
|
83
|
+
ai-toolkit plugin remove --editor all --all # remove all installed packs everywhere
|
|
84
|
+
ai-toolkit plugin status --editor all # show installed packs with runtime details
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
### What `plugin install` Does
|
|
88
88
|
|
|
89
|
-
1. **
|
|
89
|
+
1. **Parses** `--editor claude|codex|all` (default: `claude`)
|
|
90
90
|
2. **Copies** plugin-specific hooks to `~/.softspark/ai-toolkit/hooks/plugin-<pack>-<hook>.sh`
|
|
91
91
|
3. **Copies** plugin-specific scripts to `~/.softspark/ai-toolkit/plugin-scripts/<pack>/`
|
|
92
92
|
4. **Runs** init scripts if present (e.g. `init_db.py` for memory-pack — safe to re-run, preserves data)
|
|
93
|
-
5. **
|
|
94
|
-
6. **
|
|
93
|
+
5. **Claude target**: links missing agents/skills into `~/.claude/`, injects plugin-local rules into `~/.claude/CLAUDE.md`, and merges plugin hook entries into `~/.claude/settings.json`
|
|
94
|
+
6. **Codex target**: bootstraps global Codex assets in `HOME` (`~/AGENTS.md`, `~/.agents/skills`, `~/.agents/rules`, `~/.codex/hooks.json`) and then layers plugin-specific rules/hooks on top
|
|
95
|
+
7. **Records** installed state per runtime in `~/.softspark/ai-toolkit/plugins.json`
|
|
95
96
|
|
|
96
97
|
### What `plugin update` Does
|
|
97
98
|
|
|
98
|
-
1. **Removes** existing plugin
|
|
99
|
+
1. **Removes** existing plugin runtime entries for the selected editor(s) (same as `remove`)
|
|
99
100
|
2. **Reinstalls** from the current source (same as `install`)
|
|
100
101
|
3. **Preserves plugin data** (e.g. memory-pack SQLite database is never deleted)
|
|
101
|
-
4.
|
|
102
|
+
4. Shared plugin scripts/hooks are kept if another runtime still has the same pack installed
|
|
103
|
+
5. `--all` updates only currently installed packs for the selected runtime(s)
|
|
102
104
|
|
|
103
105
|
### What `plugin clean` Does
|
|
104
106
|
|
|
@@ -108,10 +110,10 @@ ai-toolkit plugin status # show installed packs with data stats
|
|
|
108
110
|
|
|
109
111
|
### What `plugin remove` Does
|
|
110
112
|
|
|
111
|
-
1. **
|
|
112
|
-
2. **
|
|
113
|
-
3. **
|
|
114
|
-
4. **Updates** `plugins.json` state
|
|
113
|
+
1. **Claude target**: strips plugin hook entries from `~/.claude/settings.json` and removes plugin-local rule sections from `~/.claude/CLAUDE.md`
|
|
114
|
+
2. **Codex target**: strips plugin hook entries from `~/.codex/hooks.json` and removes `~/.agents/rules/plugin-<pack>-*.md`
|
|
115
|
+
3. **Shared assets** (`~/.softspark/ai-toolkit/hooks/plugin-*`, `plugin-scripts/<pack>/`) are removed only when no remaining runtime still uses that pack
|
|
116
|
+
4. **Updates** `plugins.json` state per runtime
|
|
115
117
|
5. **Leaves** core agents/skills untouched (they belong to the base install)
|
|
116
118
|
6. **Leaves** plugin data intact (e.g. `memory.db` — use `clean` to prune)
|
|
117
119
|
|
|
@@ -119,7 +121,7 @@ ai-toolkit plugin status # show installed packs with data stats
|
|
|
119
121
|
|
|
120
122
|
- **Auto-retention**: `session-summary.sh` hook auto-prunes observations older than 90 days on every session end (configurable via `MEMORY_RETENTION_DAYS` env var)
|
|
121
123
|
- **Manual clean**: `ai-toolkit plugin clean memory-pack --days 30`
|
|
122
|
-
- **Status**: `ai-toolkit plugin status` shows DB size, observation count, date range
|
|
124
|
+
- **Status**: `ai-toolkit plugin status --editor claude|codex|all` shows runtime-specific install details plus DB size, observation count, and date range where relevant
|
|
123
125
|
|
|
124
126
|
## Current Experimental Packs
|
|
125
127
|
|
|
@@ -148,4 +150,3 @@ ai-toolkit plugin status # show installed packs with data stats
|
|
|
148
150
|
- `hooks/session-summary.sh` — summarizes session on Stop
|
|
149
151
|
|
|
150
152
|
These are intentionally excluded from the default install until explicitly enabled via `ai-toolkit plugin install`.
|
|
151
|
-
|
|
@@ -3,10 +3,10 @@ title: "AI Toolkit - Skills Catalog"
|
|
|
3
3
|
category: reference
|
|
4
4
|
service: ai-toolkit
|
|
5
5
|
tags: [skills, domain-knowledge, catalog, task-skills, hybrid-skills]
|
|
6
|
-
version: "1.4.
|
|
6
|
+
version: "1.4.3"
|
|
7
7
|
created: "2026-03-23"
|
|
8
|
-
last_updated: "2026-04-
|
|
9
|
-
description: "Complete skills catalog with task, hybrid, and knowledge skills. Includes effort levels, skill-scoped hooks, executable scripts, security auditor, and persona presets."
|
|
8
|
+
last_updated: "2026-04-12"
|
|
9
|
+
description: "Complete skills catalog with task, hybrid, and knowledge skills. Includes Codex adaptation notes, effort levels, skill-scoped hooks, executable scripts, security auditor, and persona presets."
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# Skills Catalog
|
|
@@ -73,9 +73,9 @@ Hybrid skills combine slash-command invocation with domain knowledge that agents
|
|
|
73
73
|
| **docs** | `/docs` | high | Generate/update docs: README, API docs, architecture notes, changelogs (Tier 1 — single agent) |
|
|
74
74
|
| **search** | `/search` | medium | Search knowledge base (MCP tools with local fallback) |
|
|
75
75
|
| **explain** | `/explain` | medium | Explain architecture of a file/module using Mermaid diagrams |
|
|
76
|
-
| **orchestrate** | `/orchestrate` | max | Custom multi-agent parallelism — Tier 3,
|
|
76
|
+
| **orchestrate** | `/orchestrate` | max | Custom multi-agent parallelism — Tier 3, native in Claude, Codex-adapted to `spawn_agent` workflows |
|
|
77
77
|
| **swarm** | `/swarm` | max | Massive parallelism: map-reduce, consensus, relay — Tier 3 |
|
|
78
|
-
| **workflow** | `/workflow` | max | 15 predefined multi-agent workflow types — Tier 2 |
|
|
78
|
+
| **workflow** | `/workflow` | max | 15 predefined multi-agent workflow types — Tier 2, Codex-adapted to native subagent orchestration |
|
|
79
79
|
| **instinct-review** | `/instinct-review` | low | Review, curate, and manage learned instincts from past sessions |
|
|
80
80
|
| **teams** | `/teams` | max | Launch pre-configured Agent Teams compositions for common workflows |
|
|
81
81
|
| **write-a-prd** | `/write-a-prd` | high | Create PRD through interactive interview, codebase exploration, and module design |
|
|
@@ -250,6 +250,28 @@ Step 0 interview before setup — 5 targeted questions to capture undocumented p
|
|
|
250
250
|
- `allowed-tools: ...` — tools available to the agent when processing this skill
|
|
251
251
|
- `depends-on: skill-a, skill-b` — declares dependencies on other skills (validated by `validate.py`)
|
|
252
252
|
|
|
253
|
+
### Codex CLI Adaptation
|
|
254
|
+
|
|
255
|
+
Codex CLI receives the full skill catalog during `ai-toolkit install --local --editors codex`.
|
|
256
|
+
|
|
257
|
+
- Native Codex-compatible skills are symlinked directly into `.agents/skills/`
|
|
258
|
+
- Claude-oriented orchestration skills are generated as Codex wrappers
|
|
259
|
+
- Adapted wrappers translate `Agent`, `Team*`, and `Task*` guidance to `spawn_agent`, `send_input`, `wait_agent`, `close_agent`, and `update_plan`
|
|
260
|
+
|
|
261
|
+
Common adapted skills:
|
|
262
|
+
|
|
263
|
+
- `/orchestrate`
|
|
264
|
+
- `/workflow`
|
|
265
|
+
- `/swarm`
|
|
266
|
+
- `/teams`
|
|
267
|
+
- `/subagent-development`
|
|
268
|
+
- `/tdd`
|
|
269
|
+
|
|
270
|
+
The translated skill content keeps the original support assets (`reference/`,
|
|
271
|
+
`scripts/`, `assets/`) while replacing Claude-specific runtime instructions.
|
|
272
|
+
|
|
273
|
+
See `kb/reference/codex-cli-compatibility.md` for the detailed mapping and hook limits.
|
|
274
|
+
|
|
253
275
|
### Skill Dependencies (`depends-on`)
|
|
254
276
|
Skills can declare dependencies on other skills (primarily knowledge skills) for documentation and validation:
|
|
255
277
|
```yaml
|