skillfit 0.15.3 → 0.16.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 +31 -0
- package/README.md +33 -25
- package/README.zh-CN.md +33 -25
- package/benches/code-review/ground-truth/r1.md +3 -3
- package/benches/code-review/verifiers/seeded-bugs.mjs +25 -10
- package/dist/agents/mcp-probe.js +138 -13
- package/dist/bench/authoring.js +10 -2
- package/dist/cli/definition.js +28 -10
- package/dist/cli/doctor.js +33 -14
- package/dist/cli/eval-report.js +1 -1
- package/dist/cli/main.js +53 -6
- package/dist/cli/mcp.js +23 -7
- package/dist/cli/report.js +4 -1
- package/dist/composition.js +16 -0
- package/dist/configuration/bundle.js +150 -47
- package/dist/configuration/install.js +109 -23
- package/dist/configuration/lock.js +28 -0
- package/dist/configuration/mcp-write.js +311 -0
- package/dist/configuration/uninstall.js +241 -0
- package/dist/configuration/upstream.js +3 -0
- package/dist/evaluation/records/session.js +16 -8
- package/docs/README.md +7 -7
- package/docs/guides/experiment-workflow.md +25 -0
- package/docs/guides/selectable-codex.md +35 -4
- package/docs/maintainers/architecture.md +1 -1
- package/docs/reference/eval-component.md +2 -2
- package/docs/schemas/doctor-report.schema.json +92 -0
- package/package.json +1 -1
- package/skills/skillfit/SKILL.md +18 -15
|
@@ -307,10 +307,35 @@ different negotiated protocol version, a missing tools capability, malformed res
|
|
|
307
307
|
pagination cursors. It never calls a tool. This separates protocol or catalog defects from model
|
|
308
308
|
behavior.
|
|
309
309
|
|
|
310
|
+
Current source can also select an existing JSON `mcpServers` entry in memory, without creating a secret-bearing probe file:
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
node dist/cli.js mcp check --agent kimi-code --server my-server --dry-run
|
|
314
|
+
node dist/cli.js mcp check --agent kimi-code --server my-server --project --dry-run
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
Selection uses the matrix-declared user configuration by default; `--project` selects the current project. Do not combine a probe-spec path with `--server`. Stdio `command`/`args`/`env`/`cwd` and HTTP `url`/`headers` are validated without writing the selected values to another file. Unknown fields, disabled entries, missing selections, incompatible transports and multiple matching source definitions fail before process or network effects. Native Codex TOML is not converted by a partial parser; use the explicit probe-spec route above. Doctor's existing TOML text scan still does not prove loading or connectivity.
|
|
318
|
+
|
|
319
|
+
Dry-run plans withhold argument values and HTTP query values. Live checks redact exact configured env/header values and URL credential/query values from retained stderr and thrown errors. This is not general secret recognition, and arbitrary server-generated or inherited secret text remains a residual risk. No selection, dry-run or live check edits the Agent configuration.
|
|
320
|
+
|
|
310
321
|
The probe supports newline-delimited stdio and Streamable HTTP. Inspect the
|
|
311
322
|
transport-specific plan before execution; discovery performs network I/O for an
|
|
312
323
|
HTTP server. It never establishes tool effectiveness.
|
|
313
324
|
|
|
325
|
+
### Apply a scoped JSON MCP entry
|
|
326
|
+
|
|
327
|
+
Current source supports transactional writes for JSON `mcpServers`, separately from connectivity checks. Use a validated probe spec to create/update one named entry, or remove a managed entry without a spec:
|
|
328
|
+
|
|
329
|
+
```bash
|
|
330
|
+
node dist/cli.js mcp apply --agent kimi-code --server my-server --from ./my-server.probe.json --dry-run
|
|
331
|
+
node dist/cli.js mcp apply --agent kimi-code --server my-server --from ./my-server.probe.json --yes
|
|
332
|
+
node dist/cli.js mcp apply --agent kimi-code --server my-server --remove --dry-run
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
`--from` and `--remove` are mutually exclusive; `--project` selects the current project instead of user scope. Plans show the action, target and scope without printing argument, env/header or URL query values. Application requires confirmation or `--yes`, preserves existing backups, verifies target bytes and updates the version-1 lock after content changes. Existing unmanaged or locally changed entries conflict; updates/removals require the current entry to match the managed fingerprint. Other configuration keys and unrelated servers remain intact.
|
|
336
|
+
|
|
337
|
+
JSON writes preserve unrelated semantic content, not necessarily original JSON whitespace. Native Codex TOML is refused rather than edited with a partial parser; no runtime dependency or general TOML editor is introduced. Applying a change performs no server startup, network connection, tool invocation or model call. Use the separate `mcp check` operation when connectivity is actually intended.
|
|
338
|
+
|
|
314
339
|
### Prepare the overlay
|
|
315
340
|
|
|
316
341
|
Create a directory with this shape:
|
|
@@ -24,6 +24,24 @@ The 27 Lark Skills come from the official `larksuite/cli` repository. Selecting
|
|
|
24
24
|
|
|
25
25
|
Each file is fetched by commit URL and checked against its SHA-256. A missing file, unexpected content, or invocation-policy mismatch aborts before any Codex configuration is written. The setup command does not call a model. Unmanaged or locally modified same-name Skills produce conflicts rather than silent replacement; previously managed, unchanged Skills can update with a backup. Review the listed paths and decide whether to keep your local edits; the installer never deletes those directories for you. Re-running with the same selection is idempotent.
|
|
26
26
|
|
|
27
|
+
## Uninstall managed Skills and rules
|
|
28
|
+
|
|
29
|
+
Current source adds an explicit managed-uninstall operation for Skills and AGENTS.md rules. It uses the existing lockfile and matrix targets rather than arbitrary paths:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
node dist/cli.js uninstall --agent kimi-code --skill commit-message --dry-run
|
|
33
|
+
node dist/cli.js uninstall --agent codex --skill commit-message --yes
|
|
34
|
+
node dist/cli.js uninstall --agent kimi-code --rules --project --dry-run
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Select at least one `--skill` or `--rules`; user scope remains the default and `--project` selects the current project. Dry-run writes nothing. Application requires confirmation or `--yes`, verifies the result and updates the lockfile after the content changes.
|
|
38
|
+
|
|
39
|
+
A selected Skill must have a matching managed lock entry and unchanged content. Local edits, unexpected files, symlinks, missing records or a changed matrix target produce a conflict rather than deletion. Rules removal checks the managed block fingerprint and preserves all content outside the markers. A missing target only reconciles its lock entry and is not reported as a new deletion.
|
|
40
|
+
|
|
41
|
+
Managed Skills move to fresh hidden sibling recovery directories instead of being recursively deleted. Managed-only rules files have an equivalent recovery file. Recovery paths are reported and retained after success; they are never overwritten by a later operation. Restoring one is a separate manual decision and must not overwrite a new active target. Hidden recovery directories are not active Skill registrations.
|
|
42
|
+
|
|
43
|
+
No observed usage, a missing local history or an old last-seen date does not authorize automatic uninstall. This command does not remove MCP entries, plugins, credentials or arbitrary unmanaged files, and it makes no model call. Crash-atomic removal is not claimed; failure tests cover restoration after lock-write failure.
|
|
44
|
+
|
|
27
45
|
## What the evidence supports
|
|
28
46
|
|
|
29
47
|
The 67 entries are a **source and installation catalog**, not a usefulness ranking. Pinning commits, checking hashes, and successfully installing a Skill establish provenance and integrity; they do not establish that the Skill improves an agent's work. Neither the legacy 13-Skill set nor the two skillfit-authored Skills has a paired efficacy result as a set or on the current Codex model.
|
|
@@ -43,7 +61,7 @@ The older [`bundle export`](selectable-codex.md) command remains available for s
|
|
|
43
61
|
|
|
44
62
|
## Portable bundles
|
|
45
63
|
|
|
46
|
-
`skillfit bundle export`
|
|
64
|
+
`skillfit bundle export` defaults to user-level Skills that Codex has used in at least two distinct local sessions and the active global guidance. Pass `--agent kimi-code` to use Kimi Code's user configuration instead. It writes a self-contained profile directory with a Node.js installer for that same Agent; it does not convert between Agent formats. The exported files stay fixed when upstream repositories change.
|
|
47
65
|
|
|
48
66
|
```bash
|
|
49
67
|
skillfit bundle export ./personal-codex --dry-run
|
|
@@ -51,13 +69,26 @@ skillfit bundle export ./personal-codex --yes
|
|
|
51
69
|
# transfer the personal-codex directory to the new machine
|
|
52
70
|
node ./personal-codex/setup.mjs --dry-run
|
|
53
71
|
node ./personal-codex/setup.mjs --yes
|
|
72
|
+
skillfit bundle export ./personal-kimi --agent kimi-code --skill example --mcp docs --dry-run
|
|
54
73
|
```
|
|
55
74
|
|
|
56
75
|
The export includes `profile.json`, `rules/global.md`, each selected Skill directory with its scripts, references, licenses, and other regular files, plus `setup.mjs` and the dependency-free installer runtime. Installer backup and recovery files are omitted. The destination needs Node.js 22 or newer; skillfit does not need to be installed there. Running `node setup.mjs` without flags prints a plan and asks before writing. To choose a specific set instead of usage-based selection, repeat `--skill <name>`. To change the usage threshold, pass `--min-sessions <n>`. A dry run writes nothing. Export refuses an existing destination directory; choose a new name to keep previous snapshots intact. Skills with `agents/openai.yaml` policy `allow_implicit_invocation: false` stay in the bundle and are identified as user-invoked-only in the generated guidance.
|
|
57
76
|
|
|
77
|
+
Repeat `--mcp <name>` to include selected user-level JSON `mcpServers` declarations. Portable stdio entries cannot have arguments, environment values, an explicit working directory or timeout; HTTP entries cannot have headers, URL userinfo, query, fragment or explicit timeout. Unsupported fields and native Codex TOML are refused before the output is created. These structural limits avoid transferring declared credential fields; they are not general secret detection. Review commands, URLs, rules and Skill bodies before sharing. Installation plans all selected MCP entries together, preserves unrelated configuration, writes one merged JSON document and records each managed entry. Export and installation never start or contact the server.
|
|
78
|
+
|
|
79
|
+
### Export shared symlinked Skills
|
|
80
|
+
|
|
81
|
+
Skill symlinks and nested links remain refused by default. If you deliberately share one canonical Skill library between Agents, repeat `--allow-symlink-root <dir>` for each precise source root you approve:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
skillfit bundle export ./personal-kimi-linked --agent kimi-code --skill example --allow-symlink-root "$HOME/.local/share/my-skills" --dry-run
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
The approved root must be an existing directory, not your home or a filesystem root. A root Skill link must resolve inside an approved root. Every nested file or directory link must resolve inside both the selected canonical Skill and an approved root. Escapes, cycles, broken links and non-regular files fail before output creation. Planning records canonical regular-file paths; the exported bundle contains ordinary files, not symlinks or absolute links back to the source. Existing license, provenance and hash checks still apply. Omitting the flag preserves the original refusal behavior.
|
|
88
|
+
|
|
58
89
|
### Fetch reviewed upstream Skills on the new machine
|
|
59
90
|
|
|
60
|
-
Pass `--upstream-lock` to select all GitHub Skills in that lock as commit-pinned source references, plus the lock's `localSkills`. The GitHub Skills need not already be installed on the exporting machine; local Skills are copied from it. Repeated `--skill <name>` flags add further local Skills. The lock lists every upstream file and its SHA-256; setup downloads directly from `raw.githubusercontent.com`, verifies each file and its invocation policy, prepares an isolated local profile, then runs the normal install planner. A missing file, policy conflict, or hash mismatch stops setup before any target file is changed. Setup supports `--dry-run`, `--strict`, and `--yes`. The dry run fetches and verifies upstream files but does not write to the
|
|
91
|
+
Pass `--upstream-lock` to select all GitHub Skills in that lock as commit-pinned source references, plus the lock's `localSkills`. The GitHub Skills need not already be installed on the exporting machine; local Skills are copied from it. Repeated `--skill <name>` flags add further local Skills. The lock lists every upstream file and its SHA-256; setup downloads directly from `raw.githubusercontent.com`, verifies each file and its invocation policy, prepares an isolated local profile, then runs the normal install planner. A missing file, policy conflict, or hash mismatch stops setup before any target file is changed. Setup supports `--dry-run`, `--strict`, and `--yes`. The dry run fetches and verifies upstream files but does not write to the selected Agent configuration. Portable MCP files are retained during upstream preparation.
|
|
61
92
|
|
|
62
93
|
```bash
|
|
63
94
|
skillfit bundle export ./personal-codex --upstream-lock ./profiles/codex-upstream-sources.json --dry-run
|
|
@@ -69,6 +100,6 @@ node ./personal-codex/setup.mjs --yes
|
|
|
69
100
|
|
|
70
101
|
The included [Codex source lock](../../profiles/codex-upstream-sources.json) identifies 65 public Skills from their authors' GitHub repositories and two locally authored Skills. `edit-article` is pinned to its last available revision because it is absent from the current `mattpocock/skills` tree. The source lock is a reviewed version selection, not a request to follow a moving branch. Refreshing it requires checking the new files and hashes and evaluating affected Skills against suitable benches. For a smaller selection, use [selectable setup](selectable-codex.md). The portable profile still contains personal global guidance and locally authored Skills; review it before sharing.
|
|
71
102
|
|
|
72
|
-
On installation, skillfit copies Skills to the
|
|
103
|
+
On installation, skillfit copies Skills and writes a managed block to the global `AGENTS.md` at the selected Agent's [capability-matrix](https://github.com/remote-controlled-man/skillfit/blob/ed5eaff7d222de1c73874ce022785fbe89291017/src/matrix/agents.json) targets. Codex honors `CODEX_HOME` for global guidance and session history. An active Codex `AGENTS.override.md` would shadow the result, so installation reports a conflict before writing. Existing content outside the managed block is preserved, and modified or extra Skill files cause a conflict instead of being overwritten or silently retained. Unmanaged or changed MCP entries also block every profile write. Re-running the same install skips unchanged content.
|
|
73
104
|
|
|
74
|
-
The bundle contains a copy of personal global instructions. Review `rules/global.md` and the Skill files before sharing or storing it in a public repository. The command exports
|
|
105
|
+
The bundle contains a copy of personal global instructions. Review `rules/global.md` and the Skill files before sharing or storing it in a public repository. The command exports user-level Skill directories declared by the matrix; unapproved links cannot make the bundle read outside the selected Skill, while approved links are copied as ordinary files. It does not transfer plugin installations, authentication, session history, recovery copies, system-bundled Skills or live MCP connections. Install other requirements through their own supported setup paths on the destination machine. Start a new session to check that the installed configuration is loaded.
|
|
@@ -5,7 +5,7 @@ This page explains the current system, the boundaries between its modules and th
|
|
|
5
5
|
contracts a change must preserve. It is not a runbook: commands and contributor
|
|
6
6
|
setup live in [AGENTS.md](https://github.com/remote-controlled-man/skillfit/blob/main/AGENTS.md)
|
|
7
7
|
and [CONTRIBUTING.md](https://github.com/remote-controlled-man/skillfit/blob/main/CONTRIBUTING.md),
|
|
8
|
-
|
|
8
|
+
public work lives in [GitHub Issues](https://github.com/remote-controlled-man/skillfit/issues),
|
|
9
9
|
statistical meaning lives in [metrics](../reference/metrics.md), and publication
|
|
10
10
|
gates live in [the release procedure](releases.md).
|
|
11
11
|
[Build/version availability](../README.md#choose-your-build) is separate.
|
|
@@ -262,12 +262,12 @@ After editing CLI definitions, build and regenerate with
|
|
|
262
262
|
<!-- cli-reference:start -->
|
|
263
263
|
| CLI option | Help description |
|
|
264
264
|
| --- | --- |
|
|
265
|
-
| `--agent <id>` | Target agent: claude-code \| codex \| kimi-code (default:
|
|
265
|
+
| `--agent <id>` | Target/source agent: claude-code \| codex \| kimi-code (default: detected; bundle: codex) |
|
|
266
266
|
| `--mode <mode>` | Eval mode: inject (default) \| installed (paired complete Skill) \| trigger (single arm) |
|
|
267
267
|
| `--baseline-skill <path>` | With --mode installed, compare a previous Skill version against the target |
|
|
268
268
|
| `--request <path>` | Version 1 Skill revision request (JSON output; excludes positional eval options) |
|
|
269
269
|
| `--plan-sha <hash>` | Confirm an eval/calibration/self-test dry-run plan (also needs --run-group) |
|
|
270
|
-
| `--json` | Machine output for bench check/self-test/list/show/edit/remove, report, eval and calibration |
|
|
270
|
+
| `--json` | Machine output for doctor, bench check/self-test/list/show/edit/remove, report, eval and calibration |
|
|
271
271
|
| `--bench <path>` | Bench directory for eval (default: bundled benches) |
|
|
272
272
|
| `--task <id>` | With eval/calibration, select cases (repeatable, manifest order); requests use taskIds |
|
|
273
273
|
| `--trials <n>` | Repetitions per condition for eval (integer 1–20; default: 5) |
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/remote-controlled-man/skillfit/blob/main/docs/schemas/doctor-report.schema.json",
|
|
4
|
+
"title": "skillfit read-only doctor report v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "kind", "homeDir", "cwd", "detection", "health", "summary"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "const": 1 },
|
|
10
|
+
"kind": { "const": "skillfit.doctor-report" },
|
|
11
|
+
"homeDir": { "type": "string" },
|
|
12
|
+
"cwd": { "type": "string" },
|
|
13
|
+
"detection": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"additionalProperties": false,
|
|
18
|
+
"required": ["id", "displayName", "detected", "evidence"],
|
|
19
|
+
"properties": {
|
|
20
|
+
"id": { "type": "string" },
|
|
21
|
+
"displayName": { "type": "string" },
|
|
22
|
+
"detected": { "type": "boolean" },
|
|
23
|
+
"evidence": { "type": "array", "items": { "type": "string" } }
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"health": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"required": ["id", "displayName", "detected", "sections"],
|
|
33
|
+
"properties": {
|
|
34
|
+
"id": { "type": "string" },
|
|
35
|
+
"displayName": { "type": "string" },
|
|
36
|
+
"detected": { "type": "boolean" },
|
|
37
|
+
"sections": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"required": ["title", "checks"],
|
|
43
|
+
"properties": {
|
|
44
|
+
"title": { "enum": ["Rules", "Skills", "MCP"] },
|
|
45
|
+
"checks": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"required": ["status", "message"],
|
|
51
|
+
"properties": {
|
|
52
|
+
"status": { "enum": ["PASS", "WARN", "FAIL", "INFO"] },
|
|
53
|
+
"message": { "type": "string" }
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"summary": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"required": ["agents", "checks"],
|
|
67
|
+
"properties": {
|
|
68
|
+
"agents": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"additionalProperties": false,
|
|
71
|
+
"required": ["detected", "total"],
|
|
72
|
+
"properties": {
|
|
73
|
+
"detected": { "type": "integer", "minimum": 0 },
|
|
74
|
+
"total": { "type": "integer", "minimum": 1 }
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"checks": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"required": ["total", "PASS", "WARN", "FAIL", "INFO"],
|
|
81
|
+
"properties": {
|
|
82
|
+
"total": { "type": "integer", "minimum": 0 },
|
|
83
|
+
"PASS": { "type": "integer", "minimum": 0 },
|
|
84
|
+
"WARN": { "type": "integer", "minimum": 0 },
|
|
85
|
+
"FAIL": { "type": "integer", "minimum": 0 },
|
|
86
|
+
"INFO": { "type": "integer", "minimum": 0 }
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
package/package.json
CHANGED
package/skills/skillfit/SKILL.md
CHANGED
|
@@ -10,7 +10,7 @@ truth for all numbers; your job is to pick the right command, run it, and interp
|
|
|
10
10
|
|
|
11
11
|
## Prerequisites
|
|
12
12
|
|
|
13
|
-
Check availability with `npx skillfit@0.
|
|
13
|
+
Check availability with `npx skillfit@0.16.0 --version`, or `node dist/cli.js --version` inside a clone.
|
|
14
14
|
If neither works, tell the user to install from https://github.com/remote-controlled-man/skillfit and stop.
|
|
15
15
|
For source-only commands below, set `skillfit_source` to the absolute path of a
|
|
16
16
|
built checkout, then run from the project/study workspace that owns the outputs.
|
|
@@ -24,13 +24,13 @@ and earlier lack them. Registry availability is
|
|
|
24
24
|
separate from source preparation, so inspect the installed version and fall back
|
|
25
25
|
to the reviewed implementing source snapshot when a 0.15.0 package is
|
|
26
26
|
unavailable. Read the
|
|
27
|
-
[capability table](https://github.com/remote-controlled-man/skillfit/blob/
|
|
27
|
+
[capability table](https://github.com/remote-controlled-man/skillfit/blob/3656a8975fa29af822a7359d18d0578b415c755b/docs/guides/experiment-workflow.md#executor-capabilities)
|
|
28
28
|
before promising a mode, strict budget or model provenance, and check the
|
|
29
29
|
installed version before relying on a flag a later release added.
|
|
30
30
|
|
|
31
31
|
Source links in this standalone driver use the
|
|
32
|
-
[reviewed source snapshot](https://github.com/remote-controlled-man/skillfit/tree/
|
|
33
|
-
That
|
|
32
|
+
[reviewed source snapshot](https://github.com/remote-controlled-man/skillfit/tree/3656a8975fa29af822a7359d18d0578b415c755b). They do not follow main.
|
|
33
|
+
That snapshot contains personal configuration maintenance before the version bump, so its built CLI reports source package version 0.15.4.
|
|
34
34
|
For a superseded release such as 0.13.1, use its
|
|
35
35
|
[original documentation](https://github.com/remote-controlled-man/skillfit/tree/4eaefde80f7e8a6b1e01939d3bd8a8b6418b75d6/docs);
|
|
36
36
|
do not substitute that older package for an example requiring 0.15.0 features.
|
|
@@ -40,20 +40,23 @@ do not substitute that older package for an example requiring 0.15.0 features.
|
|
|
40
40
|
| User asks… | Run |
|
|
41
41
|
|---|---|
|
|
42
42
|
| "我的 skill 有没有被用到 / are my skills used at all" | `skillfit report` — read-only, free, instant; start here |
|
|
43
|
-
| "这个配置健不健康" | `skillfit doctor` — read-only |
|
|
43
|
+
| "这个配置健不健康" | `skillfit doctor` — read-only; current source supports versioned `--json` output and explicit `--strict` exit 1 on FAIL |
|
|
44
44
|
| "这个 skill 值不值得装 / does this skill help" | Preview `skillfit eval <skill-path> --mode installed --bench <bench> --agent <id> --trials 3 --dry-run`, then run within authorized spending |
|
|
45
|
-
| "新版 Skill 是否值得采用 / evaluate a candidate for a Skill evolution workflow" | With npm 0.9.0 or a current checkout, use `eval --request <request.json> --dry-run`; read the [component contract](https://github.com/remote-controlled-man/skillfit/blob/
|
|
45
|
+
| "新版 Skill 是否值得采用 / evaluate a candidate for a Skill evolution workflow" | With npm 0.9.0 or a current checkout, use `eval --request <request.json> --dry-run`; read the [component contract](https://github.com/remote-controlled-man/skillfit/blob/3656a8975fa29af822a7359d18d0578b415c755b/docs/reference/eval-component.md) for inputs and acceptance policy |
|
|
46
46
|
| "agent 自己想不想得起用它 / does it trigger" | same + `--mode trigger`. Add `--compete-installed` to copy other user Skills; otherwise recall is an upper bound. Codex counts a `SKILL.md` read |
|
|
47
|
-
| "这个 MCP 能不能连上 / is this MCP catalog valid" | `skillfit mcp check <probe.json
|
|
48
|
-
| "
|
|
49
|
-
| "
|
|
50
|
-
| "
|
|
47
|
+
| "这个 MCP 能不能连上 / is this MCP catalog valid" | Preview `skillfit mcp check <probe.json> --dry-run`, then check explicitly; current source also selects real JSON config with `--agent <id> --server <name> [--project]`. Never calls tools; may start/connect the server. Native Codex TOML selection is unsupported |
|
|
48
|
+
| "添加 / 修改 / 移除一个 MCP 配置" | Preview current-source `skillfit mcp apply --agent <id> --server <name> (--from <probe.json> | --remove) [--project] --dry-run`, then use `--yes`; JSON only, native Codex TOML refuses. No server/model call |
|
|
49
|
+
| "卸载一个托管 Skill / 移除托管规则" | Preview current-source `skillfit uninstall --agent <id> --skill <name> [--project] --dry-run`, then use `--yes`; `--rules` removes only the managed block. Local drift refuses; no usage-based automatic removal |
|
|
50
|
+
| "迁移个人 rules / Skills / MCP" | Preview current-source `skillfit bundle export <new-dir> --agent <codex|kimi-code> [--skill <name> ...] [--allow-symlink-root <dir> ...] [--mcp <name> ...] --dry-run`, then export with `--yes`; run the generated `setup.mjs --dry-run` before `--yes`. Same-Agent migration only; MCP accepts only structurally credential-free JSON declarations, never native Codex TOML. Skill links require explicit containing roots and stay inside the selected Skill; default refuses. No server/model call |
|
|
51
|
+
| "这个 MCP / AGENTS.md 真的有帮助吗" | Preview `skillfit eval <experiment-dir> --bench <bench> --agent <id> --trials 3 --dry-run`; follow the [configuration experiment guide](https://github.com/remote-controlled-man/skillfit/blob/3656a8975fa29af822a7359d18d0578b415c755b/docs/guides/experiment-workflow.md#rules-and-mcp-overlays) |
|
|
52
|
+
| "建一个 bench" | `skillfit bench init [dir]` then `skillfit bench check [dir]`; default schema 1 stays unrecorded; source supports explicit `--schema-version 2` with [claims](https://github.com/remote-controlled-man/skillfit/blob/3656a8975fa29af822a7359d18d0578b415c755b/benches/README.md#claims-and-measurement-scope) |
|
|
53
|
+
| "花钱前确认流水线能测到预期对照" | 0.15.0 / reviewed source: preview `node "$skillfit_source/dist/cli.js" bench self-test "$skillfit_source/benches/_self-test/example" --runs-root ./runs --run-group controls-001 --json --dry-run` from the owning workspace, then confirm with `--plan-sha <plan.sha256>`; read [self-test](https://github.com/remote-controlled-man/skillfit/blob/3656a8975fa29af822a7359d18d0578b415c755b/docs/guides/bench-authoring.md#test-known-controls) for controls, limits and fresh output rules |
|
|
51
54
|
| "做代码修改 case" | `bench init <dir> --kind command --dry-run`, then apply within the authorized scope; replace the teaching case with the real fixture, prompt, verifier and oracle |
|
|
52
55
|
| "给 Agent 看 case 校验失败原因" | `bench check <dir> --json` — offline gate IDs, evidence and remediation; this is the integrity result, not calibration |
|
|
53
56
|
| "先测 case 难度" | Version 0.11.0: `bench check <dir> --calibrate --agent <id> --task <id> --trials 1 --max-calls 1 --run-group <fresh-name> --json --dry-run`; calibrate only within authorized spending |
|
|
54
57
|
| "查看或管理 case" | `bench list <dir> --json`, `bench show <dir> <id> --json`; preview `bench edit <dir> <id> --set field=value --json` or `bench remove <dir> <id> --json` |
|
|
55
58
|
| "只测几个 case" | Repeat `eval --task <id>` or set request `taskIds`; source also supports task selection for calibration/trigger; preview the selected budget and keep validation independent |
|
|
56
|
-
| "把结果交给另一台机器复现" | Preview `report eval <run-dir> --export <new-dir> --json`, then apply within the authorized scope; read the [portable package contract](https://github.com/remote-controlled-man/skillfit/blob/
|
|
59
|
+
| "把结果交给另一台机器复现" | Preview `report eval <run-dir> --export <new-dir> --json`, then apply within the authorized scope; read the [portable package contract](https://github.com/remote-controlled-man/skillfit/blob/3656a8975fa29af822a7359d18d0578b415c755b/docs/reference/evaluation-reports.md) for matching inputs, stopped costs and sharing review |
|
|
57
60
|
| "把这次翻车存成任务" | `skillfit bench add <bench> --freeze --task <id> --prompt "..." --verifier-cmd "<cmd>"` |
|
|
58
61
|
| "帮我起草 verifier" | same but `--decompose --agent <id>` — an agent drafts verifier + oracle; admitted only if the NOP + oracle gates pass |
|
|
59
62
|
|
|
@@ -71,13 +74,13 @@ commands and eval; local paths win. Editing still needs an owned local directory
|
|
|
71
74
|
Git-root benches are supported since 0.12.0, with metadata excluded consistently.
|
|
72
75
|
Keep `--runs-root` outside the bench/Skill/runtime and Git metadata; bad layouts
|
|
73
76
|
are rejected at preview, including aliases. See the
|
|
74
|
-
[first-run guide](https://github.com/remote-controlled-man/skillfit/blob/
|
|
77
|
+
[first-run guide](https://github.com/remote-controlled-man/skillfit/blob/3656a8975fa29af822a7359d18d0578b415c755b/docs/guides/first-real-eval.md).
|
|
75
78
|
|
|
76
79
|
Since 0.12.0, `--freeze` selects tracked ordinary files inside Git; outside Git,
|
|
77
80
|
explicit `--include <file-or-dir>` selections are required. Narrow large fixtures
|
|
78
81
|
before importing. For `--decompose`, preview and authorize its single call within
|
|
79
82
|
existing spending permission. Failed/interrupted drafts retain costs and inputs;
|
|
80
|
-
never retry implicitly. See [drafting records](https://github.com/remote-controlled-man/skillfit/blob/
|
|
83
|
+
never retry implicitly. See [drafting records](https://github.com/remote-controlled-man/skillfit/blob/3656a8975fa29af822a7359d18d0578b415c755b/docs/guides/bench-authoring.md).
|
|
81
84
|
|
|
82
85
|
Current-source schema 2 requires explicit `--claim` values for add/freeze/from-commit;
|
|
83
86
|
claims edits use a JSON array and never upgrade schema 1 implicitly. Preview and
|
|
@@ -109,7 +112,7 @@ Dry previews execute no verifier/oracle/agent. Inspect the environment's nested
|
|
|
109
112
|
`status`: a generated `planned` result can still be blocked by a missing CLI.
|
|
110
113
|
Login always remains offline unknown. Live calibration/eval block hard case or
|
|
111
114
|
environment failures; warnings and unknown evidence are not interchangeable.
|
|
112
|
-
See [shared planning](https://github.com/remote-controlled-man/skillfit/blob/
|
|
115
|
+
See [shared planning](https://github.com/remote-controlled-man/skillfit/blob/3656a8975fa29af822a7359d18d0578b415c755b/docs/guides/experiment-workflow.md).
|
|
113
116
|
|
|
114
117
|
Calibration has one no-Skill baseline arm and defaults to two trials; trigger
|
|
115
118
|
has one installed arm, defaults to five and skips unlabeled selected tasks.
|
|
@@ -216,7 +219,7 @@ historical adoption requirement; a declaration mismatch is an integrity error.
|
|
|
216
219
|
source checkout; source-development validation uses OS temporary directories.
|
|
217
220
|
Exclude outputs from that project's Git history; the CLI does not edit its ignore rules.
|
|
218
221
|
Keep derived analysis/scratch outside sealed batches; never edit/prune indexed
|
|
219
|
-
receipts. Follow the [workflow](https://github.com/remote-controlled-man/skillfit/blob/
|
|
222
|
+
receipts. Follow the [workflow](https://github.com/remote-controlled-man/skillfit/blob/3656a8975fa29af822a7359d18d0578b415c755b/docs/guides/experiment-workflow.md#retain-and-clean-up)
|
|
220
223
|
for explicit manual retention/cleanup. This CLI has no automatic GC or generic
|
|
221
224
|
custom process-metric collector.
|
|
222
225
|
- `bench init` / `bench add` show a plan before writing; `bench edit/remove` default
|