@sockulags/agent-os 0.9.1 → 0.11.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/README.md +65 -48
- package/cli/index.mjs +735 -735
- package/cli/index.test.mjs +300 -300
- package/package.json +32 -31
- package/policy.md +6 -6
- package/skills/deliver-work/workflow.md +7 -3
- package/skills/init-agent-os/SKILL.md +2 -2
- package/skills/init-agent-os/scripts/policy-block.ps1 +87 -87
- package/skills/list-skills/SKILL.md +42 -0
- package/skills/list-skills/agents/openai.yaml +2 -0
- package/skills/proportional-testing/SKILL.md +30 -0
- package/skills/proportional-testing/references/strategy.md +75 -0
- package/skills/simplifier/SKILL.md +34 -0
- package/skills/simplifier/agents/openai.yaml +2 -0
- package/skills/simplifier-audit/SKILL.md +28 -0
- package/skills/simplifier-audit/agents/openai.yaml +2 -0
- package/skills/simplifier-review/SKILL.md +29 -0
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Claude Code and Codex. One skill source, two platforms, ceremony proportional to
|
|
|
9
9
|
|
|
10
10
|
Reading order: the planning foundation (`shape-work`, then `chart-work`, which hands off into it),
|
|
11
11
|
the on-ramp in front of both (`guide-me`), the remaining workflows, then the component skills the
|
|
12
|
-
workflows compose (`understand-work`, `explain-work`), the disciplines, and the meta
|
|
12
|
+
workflows compose (`understand-work`, `explain-work`), the disciplines, and the meta skills.
|
|
13
13
|
|
|
14
14
|
| Skill | Bucket | Invocation | Purpose |
|
|
15
15
|
|---|---|---|---|
|
|
@@ -21,65 +21,73 @@ workflows compose (`understand-work`, `explain-work`), the disciplines, and the
|
|
|
21
21
|
| `dispatch-next` | workflow | manual | Pick or dispatch one action according to the request |
|
|
22
22
|
| `init-agent-os` | workflow | manual | Managed policy setup or repository defaults |
|
|
23
23
|
| `record-lesson` | workflow | manual | Record a durable lesson in repo or global policy |
|
|
24
|
+
| `simplifier` | workflow | manual | Remove unnecessary code and solution layers |
|
|
25
|
+
| `simplifier-audit` | workflow | manual | Audit a repository for simplification opportunities |
|
|
24
26
|
| `understand-work` | workflow | manual | Question out the need behind a stated wish |
|
|
25
27
|
| `explain-work` | workflow | manual | Explain the task in plain language for approval |
|
|
26
28
|
| `verify-before-done` | discipline | automatic | Fresh evidence before any completion claim |
|
|
27
29
|
| `diagnose-before-fix` | discipline | automatic | Reproduce and root-cause before patching |
|
|
30
|
+
| `proportional-testing` | discipline | automatic | Minimum meaningful regression coverage |
|
|
28
31
|
| `scope-guard` | discipline | automatic | Keep work inside the task; flag drift |
|
|
32
|
+
| `simplifier-review` | discipline | automatic | Review a diff for unnecessary complexity |
|
|
29
33
|
| `notice-lesson` | discipline | automatic | Treat interruptions as misunderstanding signals |
|
|
34
|
+
| `list-skills` | meta | manual | List installed skills and how to invoke them |
|
|
30
35
|
| `writing-skills` | meta | manual | Doctrine and definition of done for agent-os skills |
|
|
31
36
|
|
|
32
37
|
Manual skills carry `disable-model-invocation: true` (Claude) and `agents/openai.yaml` with
|
|
33
38
|
`policy.allow_implicit_invocation: false` (Codex). Retired skills move to root `deprecated/`
|
|
34
39
|
(outside the plugin's `skills/`, so they are never distributed).
|
|
35
40
|
|
|
36
|
-
## Install
|
|
37
|
-
|
|
38
|
-
### Guided npm installer
|
|
39
|
-
|
|
40
|
-
The recommended setup is a guided command that asks which host skill directories to configure and
|
|
41
|
-
whether to sync the shared global policy:
|
|
42
|
-
|
|
43
|
-
~~~bash
|
|
44
|
-
npx @sockulags/agent-os install
|
|
45
|
-
~~~
|
|
46
|
-
|
|
47
|
-
It supports Codex, Claude Code, or both without requiring either host CLI. By default it copies the
|
|
48
|
-
packaged skills into the selected user-level directories (`~/.codex/skills` and/or
|
|
49
|
-
`~/.claude/skills`). For a non-interactive install, make the choices explicit:
|
|
50
|
-
|
|
51
|
-
~~~bash
|
|
52
|
-
npx @sockulags/agent-os install --platform both --scope user --yes
|
|
53
|
-
~~~
|
|
54
|
-
|
|
55
|
-
To refresh an existing installation:
|
|
56
|
-
|
|
57
|
-
~~~bash
|
|
58
|
-
npx @sockulags/agent-os update
|
|
59
|
-
npx @sockulags/agent-os update --platform codex --no-policy
|
|
60
|
-
~~~
|
|
61
|
-
|
|
62
|
-
Updates replace only skill directories recorded in `.agent-os-install.json` and preserve unrelated
|
|
63
|
-
skills. Use `--scope project` to install into the current project's skill directories. The first
|
|
64
|
-
command always downloads the current npm CLI; use `npx @sockulags/agent-os@latest update` to force
|
|
65
|
-
the newest published installer.
|
|
66
|
-
|
|
67
|
-
Direct Claude skills appear as `/<skill>` and direct Codex skills as `$<skill>`.
|
|
68
|
-
|
|
69
|
-
Native marketplace installation remains available with `--method plugin`. It requires the selected
|
|
70
|
-
host CLI. Claude plugin skills appear as `/agent-os:<skill>`; Codex plugin skills remain
|
|
71
|
-
`$<skill>`.
|
|
72
|
-
|
|
73
|
-
For development against this clone, Claude can still use `claude --plugin-dir .`, and Codex can
|
|
74
|
-
register the local `.agents/plugins/marketplace.json` marketplace.
|
|
41
|
+
## Install
|
|
42
|
+
|
|
43
|
+
### Guided npm installer
|
|
44
|
+
|
|
45
|
+
The recommended setup is a guided command that asks which host skill directories to configure and
|
|
46
|
+
whether to sync the shared global policy:
|
|
47
|
+
|
|
48
|
+
~~~bash
|
|
49
|
+
npx @sockulags/agent-os install
|
|
50
|
+
~~~
|
|
51
|
+
|
|
52
|
+
It supports Codex, Claude Code, or both without requiring either host CLI. By default it copies the
|
|
53
|
+
packaged skills into the selected user-level directories (`~/.codex/skills` and/or
|
|
54
|
+
`~/.claude/skills`). For a non-interactive install, make the choices explicit:
|
|
55
|
+
|
|
56
|
+
~~~bash
|
|
57
|
+
npx @sockulags/agent-os install --platform both --scope user --yes
|
|
58
|
+
~~~
|
|
59
|
+
|
|
60
|
+
To refresh an existing installation:
|
|
61
|
+
|
|
62
|
+
~~~bash
|
|
63
|
+
npx @sockulags/agent-os update
|
|
64
|
+
npx @sockulags/agent-os update --platform codex --no-policy
|
|
65
|
+
~~~
|
|
66
|
+
|
|
67
|
+
Updates replace only skill directories recorded in `.agent-os-install.json` and preserve unrelated
|
|
68
|
+
skills. Use `--scope project` to install into the current project's skill directories. The first
|
|
69
|
+
command always downloads the current npm CLI; use `npx @sockulags/agent-os@latest update` to force
|
|
70
|
+
the newest published installer.
|
|
71
|
+
|
|
72
|
+
Direct Claude skills appear as `/<skill>` and direct Codex skills as `$<skill>`.
|
|
73
|
+
|
|
74
|
+
Native marketplace installation remains available with `--method plugin`. It requires the selected
|
|
75
|
+
host CLI. Claude plugin skills appear as `/agent-os:<skill>`; Codex plugin skills remain
|
|
76
|
+
`$<skill>`.
|
|
77
|
+
|
|
78
|
+
For development against this clone, Claude can still use `claude --plugin-dir .`, and Codex can
|
|
79
|
+
register the local `.agents/plugins/marketplace.json` marketplace.
|
|
75
80
|
|
|
76
81
|
## Release routine
|
|
77
82
|
|
|
78
|
-
1. Run `node scripts/validate-agent-os.mjs`, `npm test`, its red-case suite, and the live evals in `evals/`.
|
|
79
|
-
2. Bump `version` in `.claude-plugin/plugin.json`, `.codex-plugin/plugin.json`, and `package.json`.
|
|
80
|
-
3.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
1. Run `node scripts/validate-agent-os.mjs`, `npm test`, its red-case suite, and the live evals in `evals/`.
|
|
84
|
+
2. Bump `version` in `.claude-plugin/plugin.json`, `.codex-plugin/plugin.json`, and `package.json`.
|
|
85
|
+
3. Add a dedicated changelog heading, commit and push, merge the green pull request to `main`, and
|
|
86
|
+
create the matching tag before publishing. Never publish npm from a dirty worktree.
|
|
87
|
+
4. Pack the npm artifact and verify a clean direct install for both hosts, then publish it.
|
|
88
|
+
5. Create the non-draft GitHub Release, confirm the newest stable release is marked `Latest`, wait
|
|
89
|
+
for Validate and Docs/Pages on current `main`, and run `node scripts/verify-release.mjs <version>`.
|
|
90
|
+
A release is incomplete until source, npm, GitHub, changelog, and live docs all pass that gate.
|
|
83
91
|
|
|
84
92
|
## Documentation site
|
|
85
93
|
|
|
@@ -103,8 +111,17 @@ name. A skill edit and its documentation page are one change — the pages under
|
|
|
103
111
|
not approval ceremony or reasoning traces.
|
|
104
112
|
- `evals/runs/` — raw logs, gitignored.
|
|
105
113
|
|
|
114
|
+
## Experiments
|
|
115
|
+
|
|
116
|
+
Experimental work is kept outside the installable package until evidence supports promotion. The
|
|
117
|
+
first recorded Codex experiment replaces a large shared GPT-5.6 prompt with smaller
|
|
118
|
+
risk-calibrated core and Auto Review prompts, including exact text, eval evidence, local
|
|
119
|
+
installation, and rollback:
|
|
120
|
+
|
|
121
|
+
- [Codex custom instructions](https://github.com/sockulags/agent-os/blob/main/experimental/codex/custom_instructions.md)
|
|
122
|
+
|
|
106
123
|
## Global policy
|
|
107
124
|
|
|
108
|
-
`policy.md` is the source of truth. The npm installer and `init-agent-os global` install it as a
|
|
109
|
-
managed block (`<!-- BEGIN/END AGENT OS -->`) in `~/.claude/CLAUDE.md` and
|
|
110
|
-
`~/.codex/AGENTS.md`. Edit `policy.md`, never the installed blocks.
|
|
125
|
+
`policy.md` is the source of truth. The npm installer and `init-agent-os global` install it as a
|
|
126
|
+
managed block (`<!-- BEGIN/END AGENT OS -->`) in `~/.claude/CLAUDE.md` and
|
|
127
|
+
`~/.codex/AGENTS.md`. Edit `policy.md`, never the installed blocks.
|