agent-skillboard 0.2.18 → 0.3.1
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 +85 -0
- package/README.md +161 -255
- package/bin/postinstall.mjs +2 -1
- package/docs/adapters.md +37 -113
- package/docs/ai-skill-routing-goal.md +41 -108
- package/docs/capabilities.md +17 -104
- package/docs/install.md +70 -473
- package/docs/policy-model.md +50 -280
- package/docs/positioning.md +19 -86
- package/docs/profiles.md +21 -153
- package/docs/reference.md +133 -362
- package/docs/rollout-runbook.md +23 -25
- package/docs/routing.md +23 -90
- package/docs/user-flow.md +68 -279
- package/docs/value-proof.md +23 -181
- package/docs/variant-lifecycle.md +47 -67
- package/docs/versioning.md +49 -269
- package/examples/v2-multi-source.config.yaml +35 -0
- package/examples/v2-policy-error.config.yaml +6 -0
- package/package.json +1 -1
- package/src/advisor/actions.mjs +102 -6
- package/src/advisor/application-commands.mjs +10 -9
- package/src/advisor/apply-action.mjs +74 -1
- package/src/advisor/guidance.mjs +24 -16
- package/src/advisor/schema.mjs +17 -6
- package/src/advisor/skills.mjs +18 -5
- package/src/advisor.mjs +27 -9
- package/src/agent-integration-cli.mjs +96 -13
- package/src/agent-integration-content.mjs +21 -11
- package/src/agent-integration-files.mjs +1 -1
- package/src/agent-integration-home.mjs +14 -1
- package/src/agent-inventory-platforms.mjs +21 -8
- package/src/agent-inventory.mjs +44 -16
- package/src/agent-root-registry.mjs +127 -0
- package/src/agent-skill-import.mjs +2 -2
- package/src/agent-skill-roots.mjs +70 -13
- package/src/audit-paths.mjs +42 -0
- package/src/brief-cli.mjs +3 -2
- package/src/brief-renderer.mjs +1 -0
- package/src/cli.mjs +521 -235
- package/src/compatibility.mjs +24 -0
- package/src/control/can-use-guard.mjs +21 -1
- package/src/control/config-write.mjs +32 -2
- package/src/control/skill-crud.mjs +5 -0
- package/src/control/v2-guard.mjs +175 -0
- package/src/control/v2-skill-crud.mjs +32 -0
- package/src/control/v2-skill-forget.mjs +38 -0
- package/src/control/variant-status.mjs +47 -1
- package/src/control.mjs +55 -0
- package/src/doctor.mjs +71 -5
- package/src/domain/v2-policy.mjs +111 -0
- package/src/hook-plan.mjs +33 -3
- package/src/impact.mjs +52 -29
- package/src/index.mjs +25 -1
- package/src/init.mjs +50 -34
- package/src/install-health.mjs +177 -0
- package/src/inventory-install-units.mjs +63 -0
- package/src/inventory-json.mjs +279 -0
- package/src/inventory-refresh.mjs +168 -19
- package/src/lifecycle-cli.mjs +40 -12
- package/src/lifecycle-content.mjs +52 -67
- package/src/migration/v1-to-v2.mjs +212 -0
- package/src/migration/v2-files.mjs +211 -0
- package/src/migration/v2-journal.mjs +169 -0
- package/src/migration/v2-projection.mjs +108 -0
- package/src/migration/v2-transaction.mjs +205 -0
- package/src/policy.mjs +3 -0
- package/src/reconcile.mjs +139 -111
- package/src/report.mjs +168 -148
- package/src/review.mjs +2 -0
- package/src/route-advisory.mjs +47 -2
- package/src/route-selection.mjs +38 -2
- package/src/route.mjs +62 -2
- package/src/shared-skill-reconcile.mjs +97 -0
- package/src/shared-skill.mjs +325 -0
- package/src/source-digest.mjs +42 -0
- package/src/source-profiles.mjs +171 -144
- package/src/source-verification.mjs +32 -48
- package/src/uninstall.mjs +22 -0
- package/src/user-state-paths.mjs +19 -0
- package/src/user-uninstall.mjs +161 -0
- package/src/workspace.mjs +119 -79
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,91 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.3.1 — 2026-07-14
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added read-only installation health to `doctor` and `status`, including the
|
|
10
|
+
running package, PATH-selected executable, shadowing, and duplicate npm
|
|
11
|
+
installs without executing candidate programs.
|
|
12
|
+
- Added `skillboard setup --agent <agent> --skill-root <path>` for registering a
|
|
13
|
+
nonstandard user skill root and reusing it across later setup, package update,
|
|
14
|
+
share, unshare, and user-uninstall runs.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Made setup and global package updates preserve version 1 policy bytes and
|
|
19
|
+
print only the explicit v2 migration preview command.
|
|
20
|
+
- Made `setup` the idempotent install/update/reconcile entrypoint for agents and
|
|
21
|
+
Hermes profiles added after SkillBoard installation.
|
|
22
|
+
- Made setup backfill only already-selected `shared: true` skills into newly
|
|
23
|
+
active compatible roots while preserving agent-local defaults and unmanaged
|
|
24
|
+
collisions.
|
|
25
|
+
- Kept registered roots in generated operational state rather than expanding
|
|
26
|
+
the v2 policy beyond `enabled`, `shared`, and optional preference.
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- Added actionable single-prefix recovery guidance so system npm and Node
|
|
31
|
+
version-manager installations cannot silently drift without a doctor warning.
|
|
32
|
+
- Prevented a stale default-root copy from producing false guard availability
|
|
33
|
+
after a custom root is registered.
|
|
34
|
+
- Preserved conventional roots that still contain agent-owned skills alongside
|
|
35
|
+
registered roots, and included historical managed guidance in clean user
|
|
36
|
+
removal.
|
|
37
|
+
- Restored invoking-user ownership recursively for shared skill copies created
|
|
38
|
+
or repaired by setup during sudo-driven global installs and updates.
|
|
39
|
+
|
|
40
|
+
### Security
|
|
41
|
+
|
|
42
|
+
- Restricted registered roots to non-symlinked directories inside the invoking
|
|
43
|
+
user's home and rejected assigning one root to different agents.
|
|
44
|
+
- Treated malformed or symlinked share markers as unmanaged evidence so setup
|
|
45
|
+
and removal preserve user-owned or externally linked content.
|
|
46
|
+
|
|
47
|
+
## 0.3.0 — 2026-07-13
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
|
|
51
|
+
- Replaced the v1 policy matrix with schema v2's user-level decisions:
|
|
52
|
+
enable/disable and explicit per-skill cross-agent sharing.
|
|
53
|
+
- Made valid installed skills enabled and agent-local by default; `shared: true`
|
|
54
|
+
preserves originals while creating managed compatible copies.
|
|
55
|
+
- Added generated `installed_on` inventory so route and guard evaluate the
|
|
56
|
+
selected agent without a user-managed agent matrix.
|
|
57
|
+
- Made normal setup, brief, route, guard, and policy mutations use home state
|
|
58
|
+
from any working directory; project init is no longer part of the v2 flow.
|
|
59
|
+
- Limited optional preference to candidate ranking; preference never changes
|
|
60
|
+
availability or sharing.
|
|
61
|
+
- Moved source, provenance, install-unit, digest, alias, and risk observations to
|
|
62
|
+
optional generated audit metadata that cannot block a skill.
|
|
63
|
+
- Added explicit preview, apply, and byte-restoring rollback documentation for
|
|
64
|
+
`skillboard migrate v2`.
|
|
65
|
+
- Scheduled removal of the one-release v1 read-only compatibility window for
|
|
66
|
+
v0.4.0.
|
|
67
|
+
- Added `skill forget` for explicit policy-only cleanup after an owning
|
|
68
|
+
installer removes a local skill.
|
|
69
|
+
- Added `uninstall --user` dry-run and confirmed apply flows that remove all
|
|
70
|
+
marker-owned shared copies, managed guidance, and home state while preserving
|
|
71
|
+
agent-owned and unmanaged skills.
|
|
72
|
+
- Restored the declared Node.js 14.21 runtime floor and added release gates for
|
|
73
|
+
Node.js 14.21, 20, and 22 on Ubuntu, macOS, and Windows.
|
|
74
|
+
|
|
75
|
+
### Fixed
|
|
76
|
+
|
|
77
|
+
- Prevented removed skills from leaving unrecoverable stale policy that keeps
|
|
78
|
+
doctor unhealthy.
|
|
79
|
+
- Prevented package removal from orphaning SkillBoard-managed shared copies in
|
|
80
|
+
supported agent skill roots.
|
|
81
|
+
- Replaced Node 15/16-only clone, string replacement, recursive copy, and npm
|
|
82
|
+
smoke-test APIs with Node.js 14.21-compatible paths.
|
|
83
|
+
|
|
84
|
+
### Security
|
|
85
|
+
|
|
86
|
+
- Clarified that SkillBoard does not authorize hooks, MCP servers, commands,
|
|
87
|
+
external writes, destructive actions, or secrets; those remain runtime and
|
|
88
|
+
harness permission decisions.
|
|
89
|
+
|
|
5
90
|
## 0.2.18 — 2026-07-07
|
|
6
91
|
|
|
7
92
|
### Changed
|
package/README.md
CHANGED
|
@@ -1,298 +1,204 @@
|
|
|
1
1
|
# SkillBoard
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
flow", or explicit control requests like "use the Codex test-first skill in
|
|
14
|
-
OpenCode too." SkillBoard runs behind the scenes only when skill choices
|
|
15
|
-
overlap, workflow priority matters, or you explicitly ask for a skill/control
|
|
16
|
-
decision, so you get the benefit: broadly available skills, one routed skill
|
|
17
|
-
when similar skills overlap, and a short disclosure of what was used.
|
|
18
|
-
|
|
19
|
-
The burden stays low:
|
|
20
|
-
|
|
21
|
-
- No global install is required for a trial; use
|
|
22
|
-
`npm exec --yes --package agent-skillboard@latest -- skillboard`.
|
|
23
|
-
- Most use is read-only: `brief`, `route`, and `guard use` answer what can run
|
|
24
|
-
now and which route fits the request; `doctor` checks local policy and source
|
|
25
|
-
health without writing changes.
|
|
26
|
-
- Nothing changes until you approve a policy action.
|
|
27
|
-
- Agent-layer cleanup is previewable with
|
|
28
|
-
`skillboard uninstall --agent-layer --dry-run`; it removes only managed
|
|
29
|
-
SkillBoard guidance while preserving other agent skills.
|
|
30
|
-
|
|
31
|
-
Status: public alpha. The current config schema is config schema v1; breaking
|
|
32
|
-
changes may still happen before `1.0.0` and are documented in release notes.
|
|
33
|
-
|
|
34
|
-
Under the hood, SkillBoard is workflow-scoped skill priority and overlap routing
|
|
35
|
-
for AI agents. Installed user skills are usable by default unless runtime, user,
|
|
36
|
-
or local instructions disable them; SkillBoard helps Codex, OpenCode, Claude,
|
|
37
|
-
and Hermes resolve overlapping skills and workflow priority instead of guessing
|
|
38
|
-
from raw skill files.
|
|
39
|
-
|
|
40
|
-
Start with normal requests:
|
|
41
|
-
|
|
42
|
-
- "What skills can you use in this project?"
|
|
43
|
-
- "Write tests before implementation."
|
|
44
|
-
- "Review this plan and point out weak assumptions."
|
|
45
|
-
- "Help me refine this UX flow."
|
|
46
|
-
- "Use the Codex test-first skill in OpenCode too."
|
|
47
|
-
- "Can you make `anthropic.docx` available for this workflow?"
|
|
48
|
-
- "Why is this skill blocked?"
|
|
49
|
-
|
|
50
|
-
Your AI runs SkillBoard behind the scenes, reads the current brief, checks the
|
|
51
|
-
guard automatically before invoking an allowed skill, and asks only before
|
|
52
|
-
policy-changing actions. For already-allowed skills, it should say which skill
|
|
53
|
-
it is about to use and which skill it used, not interrupt you for another
|
|
54
|
-
approval. That disclosure is an audit trace, not a permission prompt. You do
|
|
55
|
-
not need to memorize the SkillBoard command loop.
|
|
56
|
-
|
|
57
|
-
A normal allowed-skill turn can look like this:
|
|
58
|
-
|
|
59
|
-
- You: "Write tests before implementation."
|
|
60
|
-
- AI: "I will use matt.tdd for this request."
|
|
61
|
-
- AI: "I used matt.tdd for this request."
|
|
62
|
-
|
|
63
|
-
Names you may see in setup and logs:
|
|
64
|
-
|
|
65
|
-
- `SkillBoard`: the product and policy model.
|
|
66
|
-
- `agent-skillboard`: the npm package.
|
|
67
|
-
- `skillboard`: the CLI binary.
|
|
68
|
-
|
|
69
|
-
## Who This Is For
|
|
70
|
-
|
|
71
|
-
Use SkillBoard if you use more than one coding agent, skill pack, plugin, MCP
|
|
72
|
-
tool, or marketplace and want one answer to:
|
|
73
|
-
|
|
74
|
-
- Which skills can this agent use right now?
|
|
75
|
-
- Which skill should win when several match the same task?
|
|
76
|
-
- Which external or plugin skills are reviewed, blocked, or waiting for approval?
|
|
77
|
-
- How can Codex, Claude, OpenCode, and Hermes follow the same skill policy?
|
|
78
|
-
|
|
79
|
-
If you use one agent with a few hand-written local skills, you probably do not
|
|
80
|
-
need SkillBoard yet. SkillBoard is for setups that have grown beyond one trusted
|
|
81
|
-
skill folder and need workflow-scoped control without turning skill governance
|
|
82
|
-
into a manual checklist.
|
|
83
|
-
|
|
84
|
-
If you are changing routing, brief, bridge, policy, or workflow UX, read
|
|
85
|
-
[AI Skill Routing Goal](docs/ai-skill-routing-goal.md) first; it defines the
|
|
86
|
-
non-blocking `observe → route → work → explain briefly → ask after → remember
|
|
87
|
-
policy` loop that development should preserve.
|
|
3
|
+
SkillBoard gives AI agents one small user-level policy for installed skills:
|
|
4
|
+
|
|
5
|
+
1. Enable or disable a skill.
|
|
6
|
+
2. Keep an enabled skill agent-local or shared across agents.
|
|
7
|
+
|
|
8
|
+
Valid installed skills default to enabled and agent-local. Sharing is opt-in per
|
|
9
|
+
skill. Optional preference ranks enabled skills installed for the current agent
|
|
10
|
+
and never changes availability or copies files.
|
|
11
|
+
|
|
12
|
+
Status: public alpha. Package 0.3.1 writes policy schema v2.
|
|
88
13
|
|
|
89
14
|
<p align="center">
|
|
90
|
-
<img src="https://raw.githubusercontent.com/NyXXiR/skillboard/main/skillboard.png" alt="SkillBoard architecture diagram
|
|
15
|
+
<img src="https://raw.githubusercontent.com/NyXXiR/skillboard/main/skillboard.png" alt="SkillBoard architecture diagram" width="100%">
|
|
91
16
|
</p>
|
|
92
17
|
|
|
93
|
-
##
|
|
18
|
+
## 5-Minute Quick Start
|
|
94
19
|
|
|
95
|
-
|
|
96
|
-
and how overlapping matches should route.
|
|
20
|
+
Try the read-only CLI:
|
|
97
21
|
|
|
98
|
-
|
|
22
|
+
```bash
|
|
23
|
+
npm exec --yes --package agent-skillboard@latest -- skillboard --version
|
|
24
|
+
npm exec --yes --package agent-skillboard@latest -- skillboard help
|
|
25
|
+
```
|
|
99
26
|
|
|
100
|
-
|
|
101
|
-
| --- | --- |
|
|
102
|
-
| `matt.tdd active workflow-auto` | `AI can use now: 0` |
|
|
103
|
-
| no policy health | `Blocked for safety: 8`, `Policy errors: 2` |
|
|
104
|
-
| several review skills look relevant | `Overlap: Multiple allowed skills match... routes ...` |
|
|
27
|
+
Install globally:
|
|
105
28
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
fallback, and gives the AI exact start and finish disclosure text. Targeted
|
|
111
|
-
tests also cover `grill-me`-style review overlap across Codex and OpenCode
|
|
112
|
-
workflows.
|
|
29
|
+
```bash
|
|
30
|
+
npm install -g agent-skillboard
|
|
31
|
+
skillboard doctor --summary
|
|
32
|
+
```
|
|
113
33
|
|
|
114
|
-
|
|
34
|
+
The package postinstall sets up detected agent guidance and creates the
|
|
35
|
+
user-level state at `~/skillboard.config.yaml` and
|
|
36
|
+
`~/.skillboard/inventory.json`. No separate setup command is required after a
|
|
37
|
+
normal install. If lifecycle scripts were skipped or another agent was added:
|
|
115
38
|
|
|
116
|
-
|
|
39
|
+
```bash
|
|
40
|
+
skillboard setup --agent codex,claude,opencode,hermes --yes
|
|
41
|
+
```
|
|
117
42
|
|
|
118
|
-
|
|
119
|
-
package for one run and do not create project files:
|
|
43
|
+
Use the same Node/npm environment for later updates:
|
|
120
44
|
|
|
121
45
|
```bash
|
|
122
|
-
npm
|
|
123
|
-
npm
|
|
46
|
+
npm config get prefix
|
|
47
|
+
npm install -g agent-skillboard@latest
|
|
48
|
+
skillboard doctor --summary
|
|
124
49
|
```
|
|
125
50
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
51
|
+
Doctor compares the running package with the `skillboard` executable selected
|
|
52
|
+
by `PATH` and reports duplicate global installs without executing those
|
|
53
|
+
candidates. If multiple SkillBoard installations are reported, choose one npm
|
|
54
|
+
prefix, activate the Node environment that owns each stale copy, and run
|
|
55
|
+
`npm uninstall -g agent-skillboard` there. SkillBoard does not automatically
|
|
56
|
+
uninstall another prefix. Restart or refresh agents after an update because
|
|
57
|
+
some agents cache user skills.
|
|
58
|
+
|
|
59
|
+
`setup` is safe to rerun. It refreshes managed guidance and inventory, discovers
|
|
60
|
+
late standard agent homes and Hermes profiles, and fills already-selected
|
|
61
|
+
`shared: true` skills into newly active roots. It does not make every skill
|
|
62
|
+
global and never overwrites an unmanaged skill.
|
|
129
63
|
|
|
130
|
-
|
|
64
|
+
For an agent that uses a nonstandard skill directory, register that root once:
|
|
131
65
|
|
|
132
66
|
```bash
|
|
133
|
-
|
|
67
|
+
skillboard setup --agent hermes --skill-root ~/.hermes/profiles/work/skills --yes
|
|
134
68
|
```
|
|
135
69
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
`
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
70
|
+
The root must be inside the invoking user's home. SkillBoard records it as
|
|
71
|
+
operational discovery state in `~/.skillboard/agent-roots.json`, then reuses it
|
|
72
|
+
on later setup and global package updates. This does not add another policy
|
|
73
|
+
scope; per-skill `shared` remains the only cross-agent sharing decision.
|
|
74
|
+
|
|
75
|
+
`sudo npm install -g agent-skillboard` is supported when system npm requires
|
|
76
|
+
it. Setup resolves `SUDO_USER` and restores managed home files to that user.
|
|
77
|
+
Setup and ordinary use write no project policy and require no project init.
|
|
78
|
+
|
|
79
|
+
Ask the agent for the work you want. SkillBoard is consulted when skills overlap
|
|
80
|
+
or when you ask which skill should be used.
|
|
81
|
+
|
|
82
|
+
## The v2 policy
|
|
83
|
+
|
|
84
|
+
```yaml
|
|
85
|
+
version: 2
|
|
86
|
+
skills:
|
|
87
|
+
test-first:
|
|
88
|
+
enabled: true
|
|
89
|
+
shared: false
|
|
90
|
+
preference:
|
|
91
|
+
intents: [testing]
|
|
92
|
+
priority: 100
|
|
93
|
+
docs-helper:
|
|
94
|
+
enabled: true
|
|
95
|
+
shared: true
|
|
96
|
+
unused:
|
|
97
|
+
enabled: false
|
|
98
|
+
shared: false
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
`enabled` controls use. `shared` controls whether SkillBoard maintains compatible
|
|
102
|
+
copies for other supported agents. `shared: false` leaves the skill where its
|
|
103
|
+
owner installed it; it does not quarantine, isolate, move, or delete anything.
|
|
104
|
+
`shared: true` preserves the owner copy and adds only managed shared copies.
|
|
105
|
+
|
|
106
|
+
New valid skills receive `enabled: true` and `shared: false`. See
|
|
107
|
+
`examples/v2-multi-source.config.yaml` for a valid policy and
|
|
108
|
+
`examples/v2-policy-error.config.yaml` for a validation fixture. Unprefixed
|
|
109
|
+
examples are retained only as v1 migration fixtures.
|
|
110
|
+
|
|
111
|
+
Generated inventory records where a skill is installed through `installed_on`.
|
|
112
|
+
Source, provenance, path, digest, aliases, install-unit details, and risk are
|
|
113
|
+
optional audit metadata and never determine availability. Runtime and action
|
|
114
|
+
authorization are outside SkillBoard's scope; the active agent or harness still
|
|
115
|
+
authorizes commands, hooks, MCP servers, network access, external writes,
|
|
116
|
+
destructive actions, and secrets.
|
|
117
|
+
|
|
118
|
+
## Agent flow
|
|
119
|
+
|
|
120
|
+
From any working directory, an agent can:
|
|
121
|
+
|
|
122
|
+
1. Read `skillboard brief --intent <request> --agent <agent> --json`.
|
|
123
|
+
2. Select an enabled skill installed for that agent, using preference only to
|
|
124
|
+
rank matches.
|
|
125
|
+
3. Run `skillboard guard use <skill-id> --agent <agent> --json` before use.
|
|
126
|
+
4. Work without another approval when the guard allows use.
|
|
127
|
+
5. Ask after completion only if remembering a preference would help.
|
|
128
|
+
|
|
129
|
+
Direct policy changes are:
|
|
175
130
|
|
|
176
131
|
```bash
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
132
|
+
skillboard skill enable <skill-id>
|
|
133
|
+
skillboard skill disable <skill-id>
|
|
134
|
+
skillboard skill share <skill-id>
|
|
135
|
+
skillboard skill unshare <skill-id>
|
|
136
|
+
skillboard skill preference <skill-id> --intent <term>[,<term>] --priority <integer>
|
|
137
|
+
skillboard skill forget <skill-id>
|
|
180
138
|
```
|
|
181
139
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
- Workflow conflict checks and overlap summaries so similar skills stay
|
|
196
|
-
available without quietly degrading an answer.
|
|
197
|
-
- Action cards that apply one approved policy change, then re-resolve state.
|
|
198
|
-
- Source and install-unit review for plugins, hooks, MCP servers, harnesses,
|
|
199
|
-
commands, LSPs, and package-manager dependencies.
|
|
200
|
-
- Impact, reconcile, rollout, and dashboard output before cleanup or migration.
|
|
201
|
-
- Manual skill variant lifecycle for relationships such as `a -> claude.a`,
|
|
202
|
-
with draft, approval, drift, and reset checkpoints.
|
|
203
|
-
|
|
204
|
-
SkillBoard is priority-first at the agent layer: installed user skills are
|
|
205
|
-
usable unless runtime, user, or local instructions disable them. Local workspace
|
|
206
|
-
policy files can still model stricter workflow, source, and invocation
|
|
207
|
-
decisions when a team needs that control.
|
|
208
|
-
For action cards, use `skillboard apply-action <action-id> --yes --json`; raw
|
|
209
|
-
`skillboard hook install ... --dry-run --json` previews are underlying manual
|
|
210
|
-
operator detail, not the primary action-card flow.
|
|
211
|
-
|
|
212
|
-
## Legacy Project Policy Mode
|
|
213
|
-
|
|
214
|
-
Legacy project policy mode is for existing workspaces that still carry local
|
|
215
|
-
SkillBoard policy files.
|
|
216
|
-
|
|
217
|
-
`skillboard init` is deprecated project-local policy bootstrap and is not
|
|
218
|
-
needed for normal use. Global install/postinstall and `skillboard setup`
|
|
219
|
-
connect SkillBoard at the agent layer without creating `skillboard.config.yaml`,
|
|
220
|
-
`.skillboard/`, `AGENTS.md`, or `CLAUDE.md` in projects. Agent-layer setup does
|
|
221
|
-
not run `skillboard init`.
|
|
222
|
-
|
|
223
|
-
The command remains for existing workspaces that intentionally maintain local
|
|
224
|
-
policy files, bridge guidance, and reports. Use `skillboard help init` before
|
|
225
|
-
using it in an existing workspace.
|
|
226
|
-
|
|
227
|
-
Default legacy project uninstall removes SkillBoard config, bridge guidance,
|
|
228
|
-
and `.skillboard/` project state while preserving local `skills/*/SKILL.md`
|
|
229
|
-
files:
|
|
140
|
+
Add `--dry-run` to preview or `--json` for machine-readable output. For mediated
|
|
141
|
+
changes, the agent reads `brief --include-actions --json`, asks once about one
|
|
142
|
+
current action, runs `skillboard apply-action <action-id> --agent <agent> --yes --json`, and
|
|
143
|
+
rereads the returned post-apply brief.
|
|
144
|
+
|
|
145
|
+
This is the distinction from a pure distribution tool: skills stay local by
|
|
146
|
+
default, users promote only selected skills to shared use, and routing preference
|
|
147
|
+
can be remembered without changing installation or availability.
|
|
148
|
+
|
|
149
|
+
## Migrate version 1
|
|
150
|
+
|
|
151
|
+
Version 1 has a one-release read-only window beginning in v0.3.0. Preview makes
|
|
152
|
+
no writes; apply creates an adjacent byte-for-byte backup; rollback restores it.
|
|
230
153
|
|
|
231
154
|
```bash
|
|
232
|
-
skillboard
|
|
233
|
-
skillboard
|
|
155
|
+
skillboard migrate v2 --config <path> --json
|
|
156
|
+
skillboard migrate v2 --config <path> --yes --json
|
|
157
|
+
skillboard migrate v2 --config <path> --rollback <backup> --json
|
|
234
158
|
```
|
|
235
159
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
project removal.
|
|
160
|
+
Setup and package updates keep v1 bytes unchanged and print the preview command.
|
|
161
|
+
SkillBoard does not automatically migrate version 1. All v1 mutations refuse
|
|
162
|
+
and point to migration. v0.4.0 removes the v1 reader.
|
|
240
163
|
|
|
241
|
-
##
|
|
164
|
+
## Cleanup
|
|
242
165
|
|
|
243
|
-
|
|
166
|
+
After removing a local skill with its owning agent or package manager, refresh
|
|
167
|
+
inventory and explicitly forget the stale policy entry:
|
|
244
168
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
- Disable-impact analysis and reconcile plans.
|
|
251
|
-
- Workflow-scoped activation, blocking, preference, and guard checks.
|
|
252
|
-
- Action-card approval and post-apply brief refresh.
|
|
253
|
-
- Agent-layer skill import with compatible copy or user-approved AI-mediated adaptation.
|
|
254
|
-
- Manual variant registration, fork, status, approval, and reset.
|
|
169
|
+
```bash
|
|
170
|
+
skillboard inventory refresh
|
|
171
|
+
skillboard skill forget <skill-id> --dry-run
|
|
172
|
+
skillboard skill forget <skill-id>
|
|
173
|
+
```
|
|
255
174
|
|
|
256
|
-
|
|
257
|
-
|
|
175
|
+
`forget` never deletes skill files. It refuses skills that are still observed or
|
|
176
|
+
shared, so shared skills must be unshared first.
|
|
258
177
|
|
|
259
|
-
|
|
178
|
+
Before removing the SkillBoard package, preview and apply the complete
|
|
179
|
+
user-level cleanup:
|
|
260
180
|
|
|
261
|
-
|
|
262
|
-
|
|
181
|
+
```bash
|
|
182
|
+
skillboard uninstall --user --dry-run
|
|
183
|
+
skillboard uninstall --user --yes
|
|
184
|
+
npm uninstall -g agent-skillboard
|
|
185
|
+
```
|
|
263
186
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
| Can the agent safely use anything now? | not answered | 0 usable skills, 8 blocked skills |
|
|
268
|
-
| Why? | not answered | `Policy errors: 2`, `Policy warnings: 1` |
|
|
187
|
+
User cleanup removes marker-owned shared copies, managed guidance, the home
|
|
188
|
+
policy, and generated user state. It preserves agent-owned and unmanaged skills.
|
|
189
|
+
Legacy project and guidance-only cleanup remain available through command help.
|
|
269
190
|
|
|
270
|
-
|
|
271
|
-
`activate-skill:anthropic.docx` in a temporary project changes the next brief
|
|
272
|
-
from 2 usable skills to 3 and moves `anthropic.docx` into the manual-allowed
|
|
273
|
-
set. SkillBoard applies one approved change, then re-resolves the next state.
|
|
191
|
+
## Development
|
|
274
192
|
|
|
275
|
-
|
|
193
|
+
From a clone, replace `skillboard ` with `node bin/skillboard.mjs `.
|
|
276
194
|
|
|
277
195
|
```bash
|
|
278
|
-
|
|
196
|
+
npm install
|
|
197
|
+
npm run check
|
|
198
|
+
node bin/skillboard.mjs help
|
|
279
199
|
```
|
|
280
200
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
- [AI skill routing goal](docs/ai-skill-routing-goal.md)
|
|
287
|
-
- [Install and agent-layer setup](docs/install.md)
|
|
288
|
-
- [First-time control flow](docs/user-flow.md)
|
|
289
|
-
- [Capability routing](docs/routing.md)
|
|
290
|
-
- [Command and config reference](docs/reference.md)
|
|
291
|
-
- [Policy model](docs/policy-model.md)
|
|
292
|
-
- [Capabilities](docs/capabilities.md)
|
|
293
|
-
- [Skill variant lifecycle](docs/variant-lifecycle.md)
|
|
294
|
-
- [Value proof](docs/value-proof.md)
|
|
295
|
-
- [Source-profile adapters](docs/adapters.md)
|
|
296
|
-
- [Rollout runbook](docs/rollout-runbook.md)
|
|
297
|
-
- [Versioning and release rules](docs/versioning.md)
|
|
298
|
-
- [Contributing](CONTRIBUTING.md)
|
|
201
|
+
Read [installation](docs/install.md), [user flow](docs/user-flow.md),
|
|
202
|
+
[policy model](docs/policy-model.md), [routing](docs/routing.md),
|
|
203
|
+
[reference](docs/reference.md), [versioning](docs/versioning.md), and the
|
|
204
|
+
[Rollout runbook](docs/rollout-runbook.md).
|
package/bin/postinstall.mjs
CHANGED
|
@@ -19,7 +19,7 @@ if (!shouldAutoSetup(process.env)) {
|
|
|
19
19
|
"Run skillboard setup later after adding another supported agent:",
|
|
20
20
|
" skillboard setup",
|
|
21
21
|
"",
|
|
22
|
-
"Setup
|
|
22
|
+
"Setup writes user-agent guidance, reconciles shared skills, and refreshes the user-level policy and inventory.",
|
|
23
23
|
"skillboard init is deprecated project-local policy bootstrap and is not needed for normal use.",
|
|
24
24
|
""
|
|
25
25
|
].join("\n")}`);
|
|
@@ -43,6 +43,7 @@ try {
|
|
|
43
43
|
});
|
|
44
44
|
if (exitCode === 0) {
|
|
45
45
|
process.stderr.write("Agent setup complete. Package updates rerun this setup automatically; run skillboard setup later after adding another supported agent. No project init was run.\n");
|
|
46
|
+
process.stderr.write("Run skillboard doctor --summary to check policy and executable paths after the update.\n");
|
|
46
47
|
} else {
|
|
47
48
|
process.stderr.write("Agent setup did not find supported agent homes. Run skillboard setup after installing or enabling a supported agent.\n");
|
|
48
49
|
}
|