liteagents 3.0.0 → 3.5.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.
Files changed (154) hide show
  1. package/CHANGELOG.md +122 -1
  2. package/README.md +113 -169
  3. package/installer/cli.js +4 -2
  4. package/package.json +4 -3
  5. package/packages/ampcode/AGENT.md +10 -18
  6. package/packages/ampcode/agents/code-developer.md +11 -17
  7. package/packages/ampcode/agents/orchestrator.md +1 -1
  8. package/packages/ampcode/agents/quality-assurance.md +3 -1
  9. package/packages/ampcode/{commands/brainstorming.md → skills/brainstorming/SKILL.md} +2 -3
  10. package/packages/ampcode/{commands/branch-review.md → skills/branch-review/SKILL.md} +13 -13
  11. package/packages/{claude/commands/docs-builder.md → ampcode/skills/docs-builder/SKILL.md} +1 -1
  12. package/packages/ampcode/{commands/live-canvas.md → skills/live-canvas/SKILL.md} +8 -4
  13. package/packages/ampcode/{commands/refactor.md → skills/refactor/SKILL.md} +49 -7
  14. package/packages/ampcode/{commands/release.md → skills/release/SKILL.md} +4 -4
  15. package/packages/{claude/commands → ampcode/skills}/remember/AGENT_RULES.md +44 -84
  16. package/packages/ampcode/{commands/remember.md → skills/remember/SKILL.md} +11 -6
  17. package/packages/ampcode/{commands → skills}/remember/friction.cjs +0 -0
  18. package/packages/ampcode/{commands → skills}/remember/stub-check.cjs +28 -19
  19. package/packages/ampcode/{commands → skills}/remember/sync-rules.cjs +28 -19
  20. package/packages/{claude/commands → ampcode/skills}/remember/version-check.cjs +1 -1
  21. package/packages/ampcode/skills/root-cause/SKILL.md +220 -0
  22. package/packages/ampcode/{commands/trace-back → skills/root-cause}/find-polluter.sh +0 -0
  23. package/packages/{claude/commands/security.md → ampcode/skills/security/SKILL.md} +1 -1
  24. package/packages/{claude/commands/ship.md → ampcode/skills/ship/SKILL.md} +1 -1
  25. package/packages/ampcode/skills/skill-creator/LICENSE.txt +202 -0
  26. package/packages/ampcode/{commands/skill-creator.md → skills/skill-creator/SKILL.md} +1 -2
  27. package/packages/ampcode/{commands → skills}/skill-creator/scripts/init_skill.py +0 -0
  28. package/packages/ampcode/{commands → skills}/skill-creator/scripts/package_skill.py +0 -0
  29. package/packages/ampcode/{commands → skills}/skill-creator/scripts/quick_validate.py +0 -0
  30. package/packages/ampcode/{commands/stash.md → skills/stash/SKILL.md} +2 -1
  31. package/packages/{claude/commands/test-generate.md → ampcode/skills/test-generate/SKILL.md} +2 -2
  32. package/packages/ampcode/variants.json +2 -2
  33. package/packages/claude/CLAUDE.md +10 -17
  34. package/packages/claude/agents/code-developer.md +11 -17
  35. package/packages/claude/agents/orchestrator.md +2 -3
  36. package/packages/claude/agents/quality-assurance.md +3 -1
  37. package/packages/claude/skills/brainstorming/SKILL.md +1 -2
  38. package/packages/claude/{commands/branch-review.md → skills/branch-review/SKILL.md} +1 -1
  39. package/packages/{ampcode/commands/docs-builder.md → claude/skills/docs-builder/SKILL.md} +7 -7
  40. package/packages/claude/skills/live-canvas/SKILL.md +5 -1
  41. package/packages/claude/{commands/refactor.md → skills/refactor/SKILL.md} +45 -3
  42. package/packages/claude/{commands/release.md → skills/release/SKILL.md} +1 -1
  43. package/packages/{ampcode/commands → claude/skills}/remember/AGENT_RULES.md +38 -78
  44. package/packages/claude/{commands/remember.md → skills/remember/SKILL.md} +11 -6
  45. package/packages/claude/{commands → skills}/remember/friction.cjs +0 -0
  46. package/packages/claude/{commands → skills}/remember/stub-check.cjs +28 -19
  47. package/packages/claude/{commands → skills}/remember/sync-rules.cjs +28 -19
  48. package/packages/{ampcode/commands → claude/skills}/remember/version-check.cjs +3 -3
  49. package/packages/claude/skills/root-cause/SKILL.md +220 -0
  50. package/packages/{ampcode/commands/security.md → claude/skills/security/SKILL.md} +2 -2
  51. package/packages/{ampcode/commands/ship.md → claude/skills/ship/SKILL.md} +2 -2
  52. package/packages/claude/skills/skill-creator/SKILL.md +1 -2
  53. package/packages/claude/{commands/stash.md → skills/stash/SKILL.md} +2 -1
  54. package/packages/{ampcode/commands/test-generate.md → claude/skills/test-generate/SKILL.md} +3 -3
  55. package/packages/claude/variants.json +1 -2
  56. package/packages/droid/AGENTS.md +10 -15
  57. package/packages/droid/commands/brainstorming.md +1 -4
  58. package/packages/droid/commands/branch-review.md +11 -14
  59. package/packages/droid/commands/docs-builder.md +0 -3
  60. package/packages/droid/commands/live-canvas.md +7 -5
  61. package/packages/droid/commands/refactor.md +47 -8
  62. package/packages/droid/commands/release.md +2 -5
  63. package/packages/droid/commands/remember/AGENT_RULES.md +38 -78
  64. package/packages/droid/commands/remember/stub-check.cjs +28 -19
  65. package/packages/droid/commands/remember/sync-rules.cjs +28 -19
  66. package/packages/droid/commands/remember/version-check.cjs +1 -1
  67. package/packages/droid/commands/remember.md +6 -4
  68. package/packages/droid/commands/root-cause.md +218 -0
  69. package/packages/droid/commands/security.md +0 -3
  70. package/packages/droid/commands/ship.md +0 -3
  71. package/packages/droid/commands/skill-creator/LICENSE.txt +202 -0
  72. package/packages/droid/commands/skill-creator.md +0 -4
  73. package/packages/droid/commands/stash.md +0 -2
  74. package/packages/droid/commands/test-generate.md +1 -4
  75. package/packages/droid/droids/1-create-prd.md +6 -2
  76. package/packages/droid/droids/2-generate-tasks.md +1 -2
  77. package/packages/droid/droids/3-process-task-list.md +1 -2
  78. package/packages/droid/droids/code-developer.md +12 -19
  79. package/packages/droid/droids/feature-planner.md +1 -2
  80. package/packages/droid/droids/market-researcher.md +1 -2
  81. package/packages/droid/droids/orchestrator.md +1 -2
  82. package/packages/droid/droids/quality-assurance.md +4 -3
  83. package/packages/droid/droids/system-architect.md +1 -2
  84. package/packages/droid/droids/ui-designer.md +1 -2
  85. package/packages/opencode/AGENTS.md +10 -15
  86. package/packages/opencode/agent/code-developer.md +11 -17
  87. package/packages/opencode/agent/quality-assurance.md +3 -1
  88. package/packages/opencode/command/brainstorming.md +1 -4
  89. package/packages/opencode/command/branch-review.md +11 -15
  90. package/packages/opencode/command/docs-builder.md +0 -4
  91. package/packages/opencode/command/live-canvas.md +7 -5
  92. package/packages/opencode/command/refactor.md +47 -9
  93. package/packages/opencode/command/release.md +2 -5
  94. package/packages/opencode/command/remember/AGENT_RULES.md +38 -78
  95. package/packages/opencode/command/remember/stub-check.cjs +28 -19
  96. package/packages/opencode/command/remember/sync-rules.cjs +28 -19
  97. package/packages/opencode/command/remember/version-check.cjs +1 -1
  98. package/packages/opencode/command/remember.md +6 -4
  99. package/packages/opencode/command/root-cause.md +218 -0
  100. package/packages/opencode/command/security.md +0 -4
  101. package/packages/opencode/command/ship.md +0 -3
  102. package/packages/opencode/command/skill-creator/LICENSE.txt +202 -0
  103. package/packages/opencode/command/skill-creator.md +0 -4
  104. package/packages/opencode/command/stash.md +0 -3
  105. package/packages/opencode/command/test-generate.md +1 -5
  106. package/packages/opencode/opencode.jsonc +4 -24
  107. package/packages/subagentic-manual.md +147 -314
  108. package/packages/ampcode/commands/debug-method.md +0 -297
  109. package/packages/ampcode/commands/live-canvas/README.md +0 -264
  110. package/packages/ampcode/commands/optimize.md +0 -61
  111. package/packages/ampcode/commands/tdd-flow.md +0 -390
  112. package/packages/ampcode/commands/test-traps/example.ts +0 -158
  113. package/packages/ampcode/commands/test-traps.md +0 -378
  114. package/packages/ampcode/commands/trace-back.md +0 -176
  115. package/packages/ampcode/commands/verify-done.md +0 -152
  116. package/packages/claude/commands/optimize.md +0 -61
  117. package/packages/claude/plugins/live-canvas-marketplace/plugins/live-canvas-channel/README.md +0 -89
  118. package/packages/claude/skills/debug-method/CREATION-LOG.md +0 -119
  119. package/packages/claude/skills/debug-method/SKILL.md +0 -296
  120. package/packages/claude/skills/debug-method/test-academic.md +0 -14
  121. package/packages/claude/skills/debug-method/test-pressure-1.md +0 -58
  122. package/packages/claude/skills/debug-method/test-pressure-2.md +0 -68
  123. package/packages/claude/skills/debug-method/test-pressure-3.md +0 -69
  124. package/packages/claude/skills/live-canvas/README.md +0 -269
  125. package/packages/claude/skills/tdd-flow/SKILL.md +0 -392
  126. package/packages/claude/skills/test-traps/SKILL.md +0 -378
  127. package/packages/claude/skills/test-traps/example.ts +0 -158
  128. package/packages/claude/skills/trace-back/SKILL.md +0 -176
  129. package/packages/claude/skills/verify-done/SKILL.md +0 -152
  130. package/packages/droid/commands/debug-method.md +0 -297
  131. package/packages/droid/commands/live-canvas/README.md +0 -264
  132. package/packages/droid/commands/optimize.md +0 -61
  133. package/packages/droid/commands/tdd-flow.md +0 -390
  134. package/packages/droid/commands/test-traps/example.ts +0 -158
  135. package/packages/droid/commands/test-traps.md +0 -378
  136. package/packages/droid/commands/trace-back.md +0 -176
  137. package/packages/droid/commands/verify-done.md +0 -152
  138. package/packages/opencode/command/debug-method.md +0 -297
  139. package/packages/opencode/command/live-canvas/README.md +0 -264
  140. package/packages/opencode/command/optimize.md +0 -61
  141. package/packages/opencode/command/tdd-flow.md +0 -390
  142. package/packages/opencode/command/test-traps/example.ts +0 -158
  143. package/packages/opencode/command/test-traps.md +0 -378
  144. package/packages/opencode/command/trace-back.md +0 -176
  145. package/packages/opencode/command/verify-done.md +0 -152
  146. /package/packages/ampcode/{commands → skills}/docs-builder/docs-builder.cjs +0 -0
  147. /package/packages/ampcode/{commands → skills}/live-canvas/DESIGN_PRINCIPLES.md +0 -0
  148. /package/packages/ampcode/{commands → skills}/live-canvas/dev/post-variants.html +0 -0
  149. /package/packages/ampcode/{commands → skills}/live-canvas/templates/lab-banner.html +0 -0
  150. /package/packages/ampcode/{commands → skills}/live-canvas/templates/overlay-vanilla.js +0 -0
  151. /package/packages/claude/{commands → skills}/docs-builder/docs-builder.cjs +0 -0
  152. /package/packages/claude/skills/{trace-back → root-cause}/find-polluter.sh +0 -0
  153. /package/packages/droid/commands/{trace-back → root-cause}/find-polluter.sh +0 -0
  154. /package/packages/opencode/command/{trace-back → root-cause}/find-polluter.sh +0 -0
package/CHANGELOG.md CHANGED
@@ -7,7 +7,128 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ---
9
9
 
10
- ## [Unreleased]
10
+ ## [3.5.0] - 2026-09-05
11
+
12
+ ### Breaking
13
+ - **Every capability is a skill on Claude Code and Amp.** Claude Code merged
14
+ custom commands into skills (`.claude/commands/deploy.md` and
15
+ `.claude/skills/deploy/SKILL.md` both create `/deploy`, and skills are the
16
+ recommended form), and Amp removed custom commands outright. So
17
+ `packages/claude/commands/` and `packages/ampcode/commands/` are gone, and
18
+ all 13 capabilities ship as `skills/<name>/SKILL.md` in both. The nine that
19
+ are deliberate actions — branch-review, docs-builder, refactor, release,
20
+ remember, security, ship, stash, test-generate — carry
21
+ `disable-model-invocation: true`, so Claude runs them only when you type
22
+ them; the four advisory ones stay auto-loadable. Bundled scripts move with
23
+ their skill. Droid and opencode are unchanged and still use flat commands;
24
+ the mirror converts for them. **Migration:** reinstall; the installer already
25
+ handles a `skills/` directory, and `variants.json` drops its `commands` key
26
+ for those two packages.
27
+ - **The ampcode package ships skills, not commands.** Amp removed custom slash
28
+ commands in favour of skills, so all 13 capabilities now live at
29
+ `packages/ampcode/skills/<name>/SKILL.md` — the same shape Claude Code uses.
30
+ `packages/ampcode/commands/` is gone. **Migration:** reinstall the ampcode
31
+ package; the installer already handles a `skills/` directory.
32
+ - **`/optimize` is removed; `/refactor` absorbs it — catalog goes 14 -> 13.**
33
+ It duplicated `/refactor`'s job shape (a named target, changed in place, no
34
+ behaviour change) and this repo's history shows it was never once used. A
35
+ targeted `/refactor` now runs a performance pass by default: complexity, N+1
36
+ queries, I/O in a loop, repeated recomputation. The grounding rule survives
37
+ the move — findings are always reported, but only *fixed* with real evidence
38
+ (a profile, a log line, or an obviously hot path); everything else is
39
+ reported as "uncertain, needs profiling data" and the code is left alone.
40
+ `/optimize`'s HITL gates move across too: multiple fix shapes, correctness
41
+ traded for speed, concurrency primitives, schema or response-shape changes.
42
+ **Migration:** use `/refactor <target>`; no flag needed.
43
+ - **`trace-back` is merged into `debug-method`, renamed `/root-cause` —
44
+ 15 -> 14.** The backward walk is now Phase 1 step 5 of one skill rather than
45
+ a second skill you had to know to reach for. 468 lines across two files
46
+ became 220 in one. `find-polluter.sh` still ships.
47
+ - **`tdd-flow`, `test-traps` and `verify-done` are removed — 18 -> 15.** The
48
+ repo's own history showed the rules they carried were already being followed
49
+ without them; they cost context on every session to restate it.
50
+
51
+ ### Added
52
+ - **`scripts/mirror.cjs` — the kit packages are generated, not hand-copied.**
53
+ `packages/claude` owns every body; each target file keeps its own
54
+ frontmatter byte-for-byte (that is where the per-kit shape lives — `tools`
55
+ arrays vs permission maps, `Bash(x:*)` vs `Bash(x *)`); the script owns the
56
+ path substitutions between them. `check` runs first in `npm test`, so a
57
+ partial sync can no longer ship. Modes: `check`, `diff`, `sync`, `shapes`.
58
+ - **`scripts/frontmatter.json` — the recorded per-kit frontmatter shape.**
59
+ Frontmatter is meant to differ per kit, so it cannot be verified by diffing.
60
+ It is checked against this file instead: required keys, allowed keys, and
61
+ the kit's `Bash()` style. Generated from the real files by `mirror.cjs
62
+ shapes`, never hand-written.
63
+ - **`docs/product/INSTALLER_GUIDE.md` gained the order of operations** for
64
+ changing a command, skill or subagent, from validating the bug through the
65
+ mirror, the three checks, the docs sweep and the release calls. Root
66
+ `CLAUDE.md` points at it.
67
+
68
+ ### Fixed
69
+
70
+ - **Amp installs delivered no capabilities.** This release moved ampcode from
71
+ `commands/` to `skills/`, but `packages/ampcode/variants.json` was left
72
+ declaring only `agents`. The installer selects content by that field, so
73
+ `selectVariantContent()` returned an empty skills list and an Amp install
74
+ carried 10 agents and zero of the 13 capabilities. Added `"skills": "*"`.
75
+ Caught by `prepublishOnly`'s package validator, which is why the first cut never
76
+ reached the registry.
77
+ - `scripts/validate-package.js` still mapped ampcode's capability directory to
78
+ `commands`; it is `skills`.
79
+ - **Test-count floors realigned.** The Multi-Tool Installation floor moved
80
+ 36 -> 41 (33 to match the capability cut, then +8 for the new
81
+ variant-selection assertions; Claude has no `commands/`
82
+ directory now, so the suite counts three categories per scenario, not four),
83
+ and four floors that had drifted below their suites' actual counts were
84
+ raised to match: docs-builder 497 -> 538, friction 254 -> 323, sync-rules
85
+ 15 -> 25, stub-check 19 -> 24. Each floor was verified to still fail when
86
+ set one above actual.
87
+ - **Command frontmatter was largely invented.** Checked against each tool's own
88
+ docs: `usage:` is not a field in any of the four. Droid commands support only
89
+ `description` and `argument-hint` (tool scoping is explicitly unavailable for
90
+ commands); opencode commands support only `description`, `agent`, `model` and
91
+ `subtask`, and take their name from the filename; Claude Code command files
92
+ ignore `name`. Every unsupported key is removed, so the `allowed-tools` those
93
+ files carried — which did nothing on droid or opencode — is gone. Droid
94
+ subagents lose `when_to_use`, which is not a Factory field; its text is
95
+ folded into `description`, which is what Factory reads for routing.
96
+ `scripts/frontmatter.json` now records the real per-kit schemas and
97
+ `mirror.cjs check` enforces them.
98
+ - **Three kits were sending users to the wrong memory directory.**
99
+ `/branch-review`, `/refactor` and `/release` told droid, ampcode and
100
+ opencode users to look in `.claude/remember/` instead of their own
101
+ `.factory/`, `.amp/` or `.opencode/`. Found by the new mirror check.
102
+ - **`1-create-prd.md` had silently lost five checklist lines in droid only**,
103
+ from an earlier partial hand-mirror. 22 drifted or missing files were
104
+ restored in total, including `skill-creator/LICENSE.txt`, which its own
105
+ frontmatter cites and which was absent from all three kits.
106
+ - **`docs-builder.md` carried claude's `Bash(node:*)` syntax in all three
107
+ other kits**, where the correct form is `Bash(node *)`.
108
+ - **Only a symlink that actually leaves the repo counts as an escape.** The
109
+ previous check flagged in-repo links too; mirrored to all four kits.
110
+
111
+ ### Changed
112
+
113
+ - `npm test` now runs `scripts/validate-package.js` as its last step, so the
114
+ publish-time validator runs locally instead of only inside `publish.yml`.
115
+ The first cut's gate went green on a package publish then rejected.
116
+ - New `testVariantSelectionDelivers` in the multi-tool suite asserts what the
117
+ installer actually *selects* per tool, not what the package tree contains.
118
+ The existing scenarios copy the whole tree and read `variants.json` only to
119
+ check the variant key exists, so they could not see a missing content field.
120
+ - Six commands and skills that had no `allowed-tools` at all — `remember`,
121
+ `stash`, `brainstorming`, `live-canvas`, `root-cause`, `skill-creator` — now
122
+ declare a `Read, Grep, Glob` floor, so those calls stop prompting. Subagents
123
+ are deliberately untouched: claude and ampcode omit `tools` and so inherit
124
+ everything, droid already lists all three, and opencode's `tools` is a
125
+ write/edit/bash permission map where they are not expressible.
126
+ - README and `packages/subagentic-manual.md` rewritten to lead with the
127
+ catalog rather than a pitch.
128
+ - Command READMEs live in `docs/product/` and no longer ship inside the
129
+ packages; the live-canvas-channel README moved out too.
130
+ - `AGENT_RULES.md` testing standards are stated as principles rather than as
131
+ pytest specifics.
11
132
 
12
133
  ## [3.0.0] - 2026-09-04
13
134
 
package/README.md CHANGED
@@ -9,217 +9,169 @@
9
9
  ╚══════╝╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚══════╝
10
10
  ```
11
11
 
12
- **AI development toolkit with 10 specialized agents and 18 commands per tool**
12
+ **10 specialized agents · 13 commands & skills · Claude · Opencode · Ampcode · Droid**
13
13
 
14
14
  <p align="center">
15
- <img src="https://img.shields.io/github/package-json/v/hamr0/liteagents?label=version&color=2a4f8c" alt="version (auto from package.json)">
15
+ <img src="https://img.shields.io/github/package-json/v/hamr0/liteagents?label=version&color=2a4f8c" alt="version">
16
16
  <img src="https://img.shields.io/badge/license-Apache%202.0-2a4f8c" alt="license: Apache 2.0">
17
17
  </p>
18
18
 
19
- **Supported Tools:**
20
- [![Claude](https://img.shields.io/badge/Claude-Supported-blue?logo=anthropic)](https://claude.ai)
21
- [![Opencode](https://img.shields.io/badge/Opencode-Supported-green)](https://github.com/hamr0/opencode)
22
- [![Ampcode](https://img.shields.io/badge/Ampcode-Supported-orange)](https://github.com/hamr0/ampcode)
23
- [![Droid](https://img.shields.io/badge/Droid-Supported-red)](https://github.com/hamr0/droid)
24
-
25
19
  </div>
26
20
 
27
- Specialized AI agents and workflow commands for product management, agile development, and software engineering. Simple installer supports Claude, Opencode, Ampcode, and Droid.
28
-
29
- ---
21
+ Liteagents started as scaffolding for early LLMs that needed to be told everything.
22
+ It isn't that anymore. Models got smarter, so the toolkit got thinner: specialists you
23
+ call by name or that trigger themselves on domain, wide lanes instead of tight rails,
24
+ constraints on *what* rather than scripts for *how*.
30
25
 
31
- ## Quick Start
26
+ It is actively challenged, pruned and rewritten — things get renamed, added, and
27
+ deleted as models improve. That churn is the point.
32
28
 
33
29
  ```bash
34
- # Option 1: NPX (recommended)
35
- npx liteagents
36
-
37
- # Option 2: Global install (never use sudo)
38
- npm install -g liteagents
39
- liteagents
40
-
41
- # If permission errors:
42
- # mkdir -p ~/.npm-global && npm config set prefix '~/.npm-global'
43
- # echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc && source ~/.bashrc
30
+ npx liteagents # recommended
31
+ # or: npm install -g liteagents && liteagents (never sudo)
44
32
  ```
45
33
 
46
- ### Supported Tools
34
+ <sub>Permission errors? `mkdir -p ~/.npm-global && npm config set prefix '~/.npm-global'`, then add `~/.npm-global/bin` to your `PATH`.</sub>
47
35
 
48
- - **Claude Code** - 10 subagents + 8 skills + 10 commands (+ optional live-canvas channel plugin)
49
- - **Opencode** - 10 agent references + 18 commands
50
- - **Ampcode** - 10 subagents + 18 commands
51
- - **Droid** - 10 agent references + 18 commands
36
+ ---
52
37
 
53
- **Key Difference:**
54
- - **Claude Code**: Full subagent system with orchestrator + skills (auto-triggering)
55
- - **Opencode / Droid / Ampcode**: Commands only + agent reference documentation
38
+ ## The catalog
56
39
 
57
- ### Start Using
40
+ **Agents** invoke with `@name` (Claude Code) or `/name`.
58
41
 
59
- ```bash
60
- # Claude Code examples
61
- @orchestrator help
62
- @1-create-prd Create a PRD for a task management app
63
- /brainstorming Explore authentication approaches
64
- /tdd-flow Implement user login
65
-
66
- # Opencode/Ampcode/Droid examples
67
- /1-create-prd Create a PRD for a task management app
68
- /brainstorming Explore authentication approaches
69
- /tdd-flow Implement user login
70
- ```
42
+ | Agent | What it's for |
43
+ |---|---|
44
+ | `1-create-prd` | Define scope as a PRD — a portal into the work, not a spec to obey |
45
+ | `2-generate-tasks` | Break a PRD into granular, actionable tasks |
46
+ | `3-process-task-list` | Execute tasks one at a time with review checkpoints |
47
+ | `orchestrator` | Read intent, route to the right agent sequence |
48
+ | `code-developer` | Implementation, debugging, refactoring |
49
+ | `quality-assurance` | Test architecture, quality gates, risk assessment |
50
+ | `feature-planner` | Epics, user stories, prioritization, backlog |
51
+ | `market-researcher` | Market and competitive analysis, project discovery |
52
+ | `system-architect` | System design, tech selection, API design, scale |
53
+ | `ui-designer` | UI/UX, wireframes, prototypes, design systems |
54
+
55
+ **Commands & skills** — `/name`.
56
+
57
+ | Command | What it's for |
58
+ |---|---|
59
+ | `/stash` | Snapshot this session's context before compaction or handoff |
60
+ | `/remember` | Fold stashes + friction into hot project memory |
61
+ | `/docs-builder` | Reorg, index, and split a docs corpus so search actually finds things |
62
+ | `/branch-review` | Full pre-merge review — blockers reported, nits to the fix ledger |
63
+ | `/refactor` | Clear the fix ledger; with args, refactor and optimize a named area |
64
+ | `/release` | Docs sweep, version bump, local commit, then hand back the merge sequence |
65
+ | `/security` | Standalone vulnerability audit (also stage 2 of `/branch-review`) |
66
+ | `/ship` | Mechanical pre-deploy gate — tests, build, tree state, pass/fail only |
67
+ | `/test-generate` | Generate a test suite and verify each test exercises real code |
68
+ | `/brainstorming` | Turn a rough idea into a formed design by questioning |
69
+ | `/root-cause` | Find the cause before changing code — evidence, backward trace, one hypothesis, fix at the source |
70
+ | `/live-canvas` | UI variations with click-to-annotate feedback in the browser |
71
+ | `/skill-creator` | Build a new skill |
72
+
73
+ <sub>Claude Code and Amp ship all 13 as skills; Opencode and Droid expose all 13 as commands. All four also ship agent reference docs.</sub>
71
74
 
72
75
  ---
73
76
 
74
- ## Hot Memory project-local learning from your own sessions
77
+ ## The ones that carry the load
75
78
 
76
- Liteagents ships a two-command pipeline that turns Claude Code's session logs into project-local memory. No databases, no external services, just markdown files the assistant reads via an `@.claude/remember/MEMORY.md` include.
79
+ ### `AGENT_RULES.md` the architect behind every project
77
80
 
78
- ```
79
- /stash → /remember
80
- capture analyze + consolidate
81
- ```
82
-
83
- - **`/stash`** — snapshot the current session's context before compaction or handoff; nudges you to consolidate once a few stashes pile up. The write-up runs on a mid-tier model, dispatched as a background subagent where your tool supports it, so the session isn't blocked on formatting/file I/O
84
- - **`/remember`** — runs friction analysis automatically (mining JSONL session logs across *all* your projects for frustration signals, failed flows, and abandonment patterns, clustered into antigen candidates), then consolidates stashes + friction antigens into `.claude/remember/MEMORY.md`; auto-injected into `CLAUDE.md` via an explicit `@.claude/remember/MEMORY.md` include so every future session benefits. Per-stash extraction runs as concurrent subagent calls on a mid-tier model — no model name hardcoded, so it works with whatever your tool has configured
85
-
86
- ### `AGENT_RULES.md` — the standards doc that primes every session
81
+ One lightweight, generic, model-agnostic rules doc. It sets **what** matters and leaves
82
+ wide room on **how**: simple over clever, every line has a purpose, surgical changes,
83
+ exhaust the stdlib before reaching for a dependency, POC before you design.
87
84
 
88
- `/remember` installs an `AGENT_RULES.md` coding-standards template into `.claude/remember/` (`.factory/`, `.amp/`, `.opencode/` for the other tools) and references it from `CLAUDE.md` (`AGENT.md` / `AGENTS.md`) as a plain pointer, so the assistant consults it when building something new. It is a static guide not something the pipeline learns or extracts.
85
+ With smarter models a PRD is a **portal, not a deliverable** — the start of a
86
+ conversation. You discover it module by module, reviewing, changing and deleting as
87
+ experience arrives, instead of pinning everything down up front.
89
88
 
90
- **It is kept current on every `/remember` run**, because a shipped standards doc that never updates is a stale one: 35 local repos were measured drifting many releases behind before this existed. Each run compares your copy against the template that came with your installed liteagents:
89
+ It is loaded every session, linked from `CLAUDE.md`, and `/remember` keeps it fresh
90
+ each run byte-compares your copy against the template that shipped with your install.
91
91
 
92
92
  | your copy | what happens |
93
93
  |---|---|
94
- | identical to the template | nothing at all — no write, no output |
94
+ | identical | nothing — no write, no output |
95
95
  | missing | copied in |
96
- | **different** | moved to `AGENT_RULES.md.bak`, new template copied in, both reported |
96
+ | different | moved to `AGENT_RULES.md.bak`, template copied in, both reported |
97
97
 
98
- So **edits are never destroyed, but they are not preserved in place either.** If you have customised your rules, fold your changes into the new `AGENT_RULES.md` after an update — `AGENT_RULES.md.bak` is a *single* file that the next update overwrites, so a customised body survives one release, not two.
98
+ Edits are never destroyed, but they aren't preserved in place either. `.bak` is a
99
+ *single* file the next update overwrites — a customised body survives one release, not two.
99
100
 
100
- To get a newer template in the first place, update the package: `/remember` tells you when your install is behind, and `npm i -g liteagents@latest && liteagents` refreshes it (your previous install is backed up automatically).
101
-
102
- What you get is a memory that *learns from your own mistakes and interventions*, grows quietly in your repo, and works anywhere Claude Code runs. The friction pass inside `/remember` scans all your projects and gives you a per-repo reliability verdict:
101
+ ### `/stash` `/remember` the daily driver
103
102
 
104
103
  ```
105
- Per-Project:
106
- my-app 56% BAD (40/72) median: 16.0 🔴
107
- api-service 40% BAD (2/5) median: 0.5 🟡
108
- web-client 0% BAD (0/1) median: 0.0 ✅
109
-
110
- WORST: my-app/0203-1630-11eb903a peak=225 turns=127
111
- BEST: web-client/0202-2121-8d8608e1 peak=0 turns=4
112
-
113
- Verdict: USEFUL Intervention predictability: 93%
104
+ /stash ──► /remember
105
+ capture consolidate
114
106
  ```
115
107
 
116
- Results land in `.claude/remember/friction/antigen_review.md` with projects, error patterns, and offending tool sequences called out per cluster — which `/remember` then encodes as rules the next session sees.
108
+ **`/stash`** is project-local: one session, one feature or scope or goal. Start fresh
109
+ on delivery, or when context hits ~30% (never past 40%). The stash is the clean handoff
110
+ to the next session.
117
111
 
118
- > This is the thing in liteagents that nothing else ships. Normal skill bundles give you instructions. The hot-memory pipeline gives you instructions the assistant wrote for itself, from your own logs.
112
+ **`/remember`** fires on the nudge every 5 stashes. It folds those 5 in and it also
113
+ reads across *all* your projects, mining session logs for where you and the model
114
+ actually collided: corrections, dead ends, abandoned flows. Those become rules, so the
115
+ next session is less wrong than this one.
119
116
 
120
- ---
117
+ Markdown files, no database, no RAG, always hot in context, and it keeps the nuances of
118
+ each project separate. Runs on a mid-tier model.
121
119
 
122
- ## What's Included
120
+ ### `/docs-builder` — the other daily driver
123
121
 
124
- ### 10 Agents
122
+ Markdown gets out of hand. A token-hungry agent then can't find the knowledge that
123
+ matters. (Its own PRD grew from 500 lines to 3k+ as findings piled in — exactly the
124
+ problem it exists to solve.)
125
125
 
126
- **Workflow Agents (3):**
127
- - **1-create-prd** - Define scope with structured Product Requirement Documents
128
- - **2-generate-tasks** - Break PRDs into granular, actionable task lists
129
- - **3-process-task-list** - Execute tasks iteratively with progress tracking and review checkpoints
126
+ It indexes everything under `/docs` in four buckets — `product/`, `logs/`, `wiki/`,
127
+ `archive/` reorganizes, indexes, and splits oversized docs so you don't have to.
128
+ Mid-tier model.
130
129
 
131
- **Specialist Agents (8):**
132
- - **orchestrator** - Analyze intent, coordinate workflows, route to optimal agent sequences
133
- - **code-developer** - Implementation, debugging, refactoring, code best practices
134
- - **quality-assurance** - Test architecture, quality gates, requirements traceability, risk assessment
135
- - **feature-planner** - Epics, user stories, prioritization, backlog management, retrospectives
136
- - **market-researcher** - Market analysis, competitive research, project discovery, brainstorming
137
- - **system-architect** - System design, technology selection, API design, scalability planning
138
- - **ui-designer** - UI/UX design, wireframes, prototypes, accessibility, design systems
130
+ ### `/live-canvas` — the UI every agent CLI was missing
139
131
 
140
- ### 18 Commands/Skills
132
+ A terminal agent can't see your screen, and you can't describe "that padding, on that
133
+ card, but only on mobile" in words without burning ten minutes.
141
134
 
142
- **Auto-Triggering Skills (3)** - Claude Code only:
143
- - **tdd-flow** - Write test first, watch fail, minimal passing code
144
- - **test-traps** - Prevent mocking anti-patterns
145
- - **verify-done** - Verify before claiming done
135
+ `/live-canvas` spins up one lightweight localhost page with your UI on it. You **click
136
+ the thing that needs changing**, type what you want, and submit. Comment on as many
137
+ elements as you like, all in one pass, then send the batch to the agent.
146
138
 
147
- **Manual Skills/Commands (15):**
139
+ Two ways it comes back:
148
140
 
149
- *Hot Memory Pipeline (2)* see the [Hot Memory](#hot-memory--project-local-learning-from-your-own-sessions) section above for the full walkthrough:
150
- - **stash** - Snapshot session context to `.claude/stash/` before compaction, handoff, or ending complex work
151
- - **remember** - Consolidate stashes + friction antigens into `.claude/remember/MEMORY.md`; auto-injected via `@.claude/remember/MEMORY.md`
141
+ - **JSON mode**feedback lands in a file, you tell the agent to read it. Works in any tool.
142
+ - **Live mode** an MCP channel streams each comment straight into the session, so edits
143
+ land while you're still in the browser. Claude Code only.
152
144
 
153
- *Design*:
154
- - **live-canvas** - Design UI variations with click-to-annotate feedback in the browser; ships a companion MCP channel plugin for Claude Code so Saves stream into the session in real time. Other tools use batch mode.
145
+ It also ships with real UI direction baked in, so it can generate variations of a screen
146
+ for you to pick from no more hours spent nudging divs to find out what you actually wanted.
155
147
 
156
- *Workflow & analysis*:
157
- - **brainstorming** - Structured brainstorming sessions
158
- - **docs-builder** - Reorg a docs corpus, split an oversized doc, search it, keep pages current, index them
159
- - **trace-back** - Trace bugs backward through call stack
160
- - **skill-creator** - Guide for creating new skills
161
- - **debug-method** - Four-phase debugging framework
162
- - **optimize** - Performance analysis
163
- - **refactor** - Safe refactoring with behavior preservation; with no arguments, works through the fix ledger `/branch-review` accumulated
164
- - **branch-review** - Pre-merge gate that reports and never fixes: general review at a chosen effort level, a full security audit that runs at full depth regardless of level, then an adversarial verify pass. Needs a clean tree. Only reproduced Critical/High failures block; everything else lands in the fix ledger for `/refactor`
165
- - **security** - Standalone vulnerability scan; also runs as stage 2 of `/branch-review`
166
- - **ship** - Mechanical pre-deploy gate: every item is answerable by running a command and reading its exit code, recorded as pass/fail/N/A. A check not run is a fail, and N/A needs a stated reason
167
- - **release** - Prepare a release on the current branch: verify → docs sweep → version bump → local commit, then hand back the merge/tag/publish sequence (never pushes). Refuses without a review recorded at the current HEAD SHA
168
- - **test-generate** - Generate test suites
148
+ ### `/branch-review` → `/release` → `/refactor`
169
149
 
170
- > **Claude-only plugin:** `live-canvas-channel` is a bundled Claude Code MCP channel plugin that ships under `~/.claude/plugins/live-canvas-marketplace/`. One-time `/plugin install` + a session started with `--dangerously-load-development-channels` unlocks live mode. Skill probes for the channel on each invocation and handholds setup when missing. See [`packages/claude/skills/live-canvas/README.md`](packages/claude/skills/live-canvas/README.md) for the full walkthrough.
150
+ - **`/branch-review`** the powerhouse. Reviews every change on a branch, medium depth
151
+ by default. Surfaces confirmed blockers only: real bugs, dead and unused code,
152
+ state-ownership breaks, plus a full OWASP-shaped security pass (no leaked keys, no
153
+ injection, trust boundaries checked) that runs at full depth regardless of level.
154
+ Everything non-blocking goes to the fix ledger.
155
+ - **`/release`** — does the pre-release chores you'd otherwise do by hand: README,
156
+ CHANGELOG, PRD, findings, version bump, local commit. Then it tells you you're ready
157
+ to merge, and hands the sequence back. It never pushes.
158
+ - **`/refactor`** — with no arguments, works the fix ledger. Cumulative by design: nits
159
+ pile up until you choose to clear them, so review and release never drown in them.
171
160
 
172
161
  ---
173
162
 
174
- ## Documentation
175
-
176
- | Document | Description |
177
- |----------|-------------|
178
- | **[INSTALLER_GUIDE.md](docs/product/INSTALLER_GUIDE.md)** | Complete installation guide, troubleshooting, and FAQ |
179
- | **[subagentic-manual.md](packages/subagentic-manual.md)** | Detailed agent/command reference |
180
- | **[remember-README.md](docs/product/remember-README.md)** | How hot memory works — the `/stash` → `/remember` pipeline, the friction sensor, and the antigen ledger |
181
- | **[docs-builder-README.md](docs/product/docs-builder-README.md)** | How `/docs-builder` works — the reorg/cleanup modes, what it measurably costs, and the ledger that tracks doc drift |
182
- | **[branch-review-README.md](docs/product/branch-review-README.md)** | How the pre-merge gate works — the three stages, what blocks a merge, and the `/branch-review` → fix ledger → `/refactor` loop |
183
- | **[live-canvas/README.md](packages/claude/skills/live-canvas/README.md)** | How `/live-canvas` works — the two modes, the click-to-annotate channel, and the Claude Code plugin setup |
184
- | **[docs/README.md](docs/README.md)** | Entry point for this repo’s own docs — what lives in `product/`, `archive/` and the operation log |
185
- | **[docs/index.md](docs/index.md)** | The generated index of every doc, with heading ranges. Rebuilt by `/docs-builder` on every reorg or split |
186
-
187
- ---
163
+ ## Deeper docs
188
164
 
189
- ## Example Workflows
190
-
191
- **Feature Development:**
192
- ```
193
- @orchestrator I need to add user authentication
194
- # Orchestrator routes to:
195
- # → market-researcher (research approaches)
196
- # 1-create-prd (requirements)
197
- # 2-generate-tasks (implementation tasks)
198
- # 3-process-task-list (execution)
199
- ```
200
-
201
- **Code Quality:**
202
- ```
203
- @quality-assurance Review this PR before merge
204
- /branch-review main medium # review + security audit; blockers reported, the rest to the fix ledger
205
- /refactor # no args: work through the fix ledger branch-review accumulated, between features
206
- /debug-method Investigate this race condition
207
- ```
208
-
209
- **Architecture & Design:**
210
- ```
211
- @system-architect Design microservices architecture
212
- @ui-designer Create wireframes for mobile checkout
213
- ```
214
-
215
- ---
216
-
217
- ## Stats
218
-
219
- - **10** Specialized Agents
220
- - **18** Workflow Commands & Skills
221
- - **4** Supported Tools (Claude, Opencode, Ampcode, Droid)
222
- - **Apache-2.0** License
165
+ | Document | What's in it |
166
+ |---|---|
167
+ | [`/remember`](docs/product/remember-README.md) | The `/stash` → `/remember` pipeline, friction sensor, antigen ledger |
168
+ | [`/docs-builder`](docs/product/docs-builder-README.md) | Reorg and cleanup modes, measured cost, the drift ledger |
169
+ | [`/branch-review`](docs/product/branch-review-README.md) | The three stages, what blocks, the fix-ledger loop |
170
+ | [`/live-canvas`](docs/product/live-canvas-README.md) | Both modes, the click-to-annotate overlay, and setup |
171
+ | [live-canvas-channel](docs/product/live-canvas-channel-README.md) | The Claude Code MCP channel plugin — install, protocol, debugging |
172
+ | [Installer guide](docs/product/INSTALLER_GUIDE.md) | Install, custom paths, uninstall, troubleshooting, FAQ — and how to change a command, skill or subagent |
173
+ | [All agents & commands](packages/subagentic-manual.md) | Full agent and command reference |
174
+ | [Doc index](docs/index.md) | Generated index of every doc, rebuilt on each reorg |
223
175
 
224
176
  ---
225
177
 
@@ -229,12 +181,4 @@ Results land in `.claude/remember/friction/antigen_review.md` with projects, err
229
181
  - **GitHub:** https://github.com/hamr0/liteagents
230
182
  - **Issues:** https://github.com/hamr0/liteagents/issues
231
183
 
232
- ---
233
-
234
- ## License
235
-
236
184
  Apache-2.0 © 2026 hamr0 — see [LICENSE](LICENSE).
237
-
238
- ---
239
-
240
- **Need help?** See the [Installer Guide](docs/product/INSTALLER_GUIDE.md) or [open an issue](https://github.com/hamr0/liteagents/issues)
package/installer/cli.js CHANGED
@@ -20,7 +20,9 @@ const PACKAGE_JSON = require('../package.json');
20
20
  const PACKAGE_VERSION = PACKAGE_JSON.version;
21
21
  // Banner counts derived from the description field — same source as README.
22
22
  const AGENT_COUNT = (PACKAGE_JSON.description.match(/(\d+)\s+specialized agents/) || [, '10'])[1];
23
- const COMMAND_COUNT = (PACKAGE_JSON.description.match(/(\d+)\s+commands/) || [, '18'])[1];
23
+ // Claude Code and Amp ship these as skills, Droid and opencode as commands,
24
+ // so the banner counts capabilities rather than naming one shape.
25
+ const CAPABILITY_COUNT = (PACKAGE_JSON.description.match(/(\d+)\s+capabilities/) || [, '13'])[1];
24
26
 
25
27
  // ANSI color codes
26
28
  const colors = {
@@ -490,7 +492,7 @@ ${colors.bright}${colors.cyan}██╔══██║██║ ██║█
490
492
  ${colors.bright}${colors.cyan}██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║ ██║╚██████╗ ██║ ██╗██║ ██║${colors.reset}
491
493
  ${colors.bright}${colors.cyan}╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝${colors.reset}
492
494
 
493
- ${colors.bright}v${PACKAGE_VERSION} | ${AGENT_COUNT} agents + ${COMMAND_COUNT} commands per tool${colors.reset}
495
+ ${colors.bright}v${PACKAGE_VERSION} | ${AGENT_COUNT} agents + ${CAPABILITY_COUNT} capabilities per tool${colors.reset}
494
496
  `);
495
497
  }
496
498
 
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "liteagents",
3
- "version": "3.0.0",
4
- "description": "AI development toolkit with 10 specialized agents and 18 commands including live-canvas UI design with click-to-annotate feedback. Simple one-question installer for Claude, Opencode, Ampcode, and Droid.",
3
+ "version": "3.5.0",
4
+ "description": "AI development toolkit with 10 specialized agents and 13 capabilities including live-canvas UI design with click-to-annotate feedback. Simple one-question installer for Claude, Opencode, Ampcode, and Droid.",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "liteagents": "./installer/cli.js",
8
8
  "liteag": "./cli.js"
9
9
  },
10
10
  "scripts": {
11
- "test": "node tests/run-all-tests.js",
11
+ "test": "node scripts/mirror.cjs check && node tests/run-all-tests.js && node ./scripts/validate-package.js",
12
+ "mirror": "node scripts/mirror.cjs",
12
13
  "test-installer": "node tests/installer/integration.test.js",
13
14
  "install-interactive": "node installer/cli.js",
14
15
  "uninstall-tool": "node installer/cli.js --uninstall",
@@ -21,26 +21,16 @@ These subagents are available when using Ampcode CLI.
21
21
  | system-architect | Architect | Use for system design, architecture documents, technology selection, API design, and infrastructure planning |
22
22
  | ui-designer | UX Expert | Use for UI/UX design, wireframes, prototypes, front-end specifications, and user experience optimization |
23
23
 
24
- ### Skills (9 total)
25
-
26
- | ID | Description | Usage | Auto |
27
- |---|---|---|---|
28
- | brainstorming | Refines rough ideas into fully-formed designs through collaborative questioning | /brainstorming <session-type> <topic> | false |
29
- | docs-builder | Reorg a docs corpus, split an oversized doc, search it, keep pages current, index them | /docs-builder [reorg \| cleanup <file.md>] | false |
30
- | live-canvas | Design UI variations and collect click-to-annotate feedback from the browser (batch mode only on Amp) | /live-canvas | false |
31
- | trace-back | Systematically traces bugs backward through call stack to identify source | /trace-back <issue-description> | false |
32
- | skill-creator | Guide for creating effective skills and extending Claude capabilities | /skill-creator <skill-type> <skill-description> | false |
33
- | debug-method | Four-phase debugging framework - investigate root cause before any fixes | /debug-method <bug-or-error-description> | false |
34
- | tdd-flow | Write test first, watch it fail, write minimal code to pass | /tdd-flow <feature-or-behavior-to-test> | true |
35
- | test-traps | Prevents testing mock behavior and production pollution with test-only methods | /test-traps <testing-scenario> | true |
36
- | verify-done | Requires running verification commands before making any success claims | /verify-done <work-to-verify> | true |
37
-
38
- ### Commands (9 total)
24
+ ### Skills (13 total)
39
25
 
40
26
  | ID | Description | Usage |
41
27
  |---|---|---|
42
- | optimize | Analyze and optimize performance issues | /optimize <target-area> |
43
- | refactor | Refactor code while maintaining behavior and tests | /refactor <code-section> |
28
+ | brainstorming | Refines rough ideas into fully-formed designs through collaborative questioning | /brainstorming <session-type> <topic> |
29
+ | live-canvas | Design UI variations and collect click-to-annotate feedback from the browser (batch mode only on Amp) | /live-canvas |
30
+ | root-cause | Find the cause before changing code - evidence, backward trace, one hypothesis, fix at the source | /root-cause <bug-or-error-description> |
31
+ | skill-creator | Guide for creating effective skills and extending Claude capabilities | /skill-creator <skill-type> <skill-description> |
32
+ | docs-builder | Reorg a docs corpus, split an oversized doc, search it, keep pages current, index them | /docs-builder [reorg \| cleanup <file.md>] |
33
+ | refactor | Refactor and optimize code while maintaining behavior and tests | /refactor <code-section> |
44
34
  | remember | Consolidate stashes + friction into project memory | /remember |
45
35
  | branch-review | Pre-merge review: general review + full security audit, verify pass, no fixes | /branch-review [target] [level] |
46
36
  | security | Security audit — recurring six, injection, auth, trust boundaries; reports, never fixes | /security [target] |
@@ -52,4 +42,6 @@ These subagents are available when using Ampcode CLI.
52
42
  All resources are auto-discovered from frontmatter in their respective directories:
53
43
  - **Agents**: `./agents/*.md`
54
44
  - **Skills**: `./skills/*/SKILL.md`
55
- - **Commands**: `./commands/*.md`
45
+
46
+ Amp removed custom commands in favour of skills, so every capability ships as
47
+ `skills/<name>/SKILL.md` here — the same shape Claude Code uses.