@codeharbor/agent-playbook 0.1.2 → 0.2.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 +17 -3
- package/package.json +4 -3
- package/src/cli.js +1323 -31
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @codeharbor/agent-playbook
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Local skill manager and installer for agent-playbook across Claude Code, Codex, and Gemini.
|
|
4
4
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
@@ -17,10 +17,11 @@ pnpm dlx @codeharbor/agent-playbook init --project
|
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## What It Does
|
|
20
|
-
- Links skills to `~/.claude/skills
|
|
20
|
+
- Links skills to `~/.claude/skills`, `~/.codex/skills`, and `~/.gemini/skills` (or project `.claude/.codex/.gemini`).
|
|
21
21
|
- Installs a stable CLI copy under `~/.claude/agent-playbook/` for hook execution.
|
|
22
22
|
- Adds Claude hooks for SessionEnd (session logs) and PostToolUse (self-improve MVP).
|
|
23
23
|
- Records a metadata block in `~/.codex/config.toml`.
|
|
24
|
+
- Provides a local-only skills manager via `apb skills ...`.
|
|
24
25
|
|
|
25
26
|
## Commands
|
|
26
27
|
- `agent-playbook init [--project] [--copy] [--overwrite] [--hooks] [--no-hooks] [--session-dir <path>] [--dry-run] [--repo <path>]`
|
|
@@ -30,6 +31,18 @@ pnpm dlx @codeharbor/agent-playbook init --project
|
|
|
30
31
|
- `agent-playbook uninstall`
|
|
31
32
|
- `agent-playbook session-log [--session-dir <path>]`
|
|
32
33
|
- `agent-playbook self-improve`
|
|
34
|
+
- `agent-playbook skills [list|info|add|remove|enable|disable|doctor|sync|upgrade|export|import]`
|
|
35
|
+
|
|
36
|
+
`apb` is a short alias for `agent-playbook`.
|
|
37
|
+
|
|
38
|
+
## Skills Manager Examples
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
apb skills list --scope both --target all
|
|
42
|
+
apb skills add ./skills/my-skill --scope project --target claude
|
|
43
|
+
apb skills disable my-skill --scope project --target claude
|
|
44
|
+
apb skills enable my-skill --scope project --target claude
|
|
45
|
+
```
|
|
33
46
|
|
|
34
47
|
## Notes
|
|
35
48
|
- Default session logs go to repo `sessions/` if a Git root is found; otherwise `~/.claude/sessions/`.
|
|
@@ -39,6 +52,7 @@ pnpm dlx @codeharbor/agent-playbook init --project
|
|
|
39
52
|
- Requires Node.js 18+.
|
|
40
53
|
|
|
41
54
|
## Advanced
|
|
42
|
-
- Override Claude/Codex config paths for testing:
|
|
55
|
+
- Override Claude/Codex/Gemini config paths for testing:
|
|
43
56
|
- `AGENT_PLAYBOOK_CLAUDE_DIR=/tmp/claude`
|
|
44
57
|
- `AGENT_PLAYBOOK_CODEX_DIR=/tmp/codex`
|
|
58
|
+
- `AGENT_PLAYBOOK_GEMINI_DIR=/tmp/gemini`
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codeharbor/agent-playbook",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Local skill manager and installer for agent-playbook across Claude Code, Codex, and Gemini.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"bin": {
|
|
8
|
-
"agent-playbook": "bin/agent-playbook.js"
|
|
8
|
+
"agent-playbook": "bin/agent-playbook.js",
|
|
9
|
+
"apb": "bin/agent-playbook.js"
|
|
9
10
|
},
|
|
10
11
|
"scripts": {
|
|
11
12
|
"test": "node --test test/*.test.js",
|