noskills 5.0.0 → 5.1.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 (117) hide show
  1. package/README.md +25 -1123
  2. package/dist/launcher.js +162 -0
  3. package/dist/noskills.js +38 -0
  4. package/package.json +31 -16
  5. package/noskills.js +0 -146
  6. package/ts/chunks/ajan-bridge-6UUIUFAV.js +0 -1
  7. package/ts/chunks/anthropic-ICVQ5GK6.js +0 -1
  8. package/ts/chunks/approve-R7MCYHCS.js +0 -1
  9. package/ts/chunks/ask-GBLFPNFX.js +0 -2
  10. package/ts/chunks/block-YEKLMXHR.js +0 -1
  11. package/ts/chunks/cancel-7NS4WM2N.js +0 -1
  12. package/ts/chunks/chunk-2CLD527I.js +0 -1
  13. package/ts/chunks/chunk-34AWV7DB.js +0 -1
  14. package/ts/chunks/chunk-3M26Y3NG.js +0 -27
  15. package/ts/chunks/chunk-3QVRJO3V.js +0 -1
  16. package/ts/chunks/chunk-5ALJRBMW.js +0 -22
  17. package/ts/chunks/chunk-5NMDE2VZ.js +0 -4
  18. package/ts/chunks/chunk-6BKTY7SA.js +0 -4
  19. package/ts/chunks/chunk-6M7PCVUR.js +0 -1
  20. package/ts/chunks/chunk-6O2RXYTM.js +0 -3
  21. package/ts/chunks/chunk-7DIQYKPL.js +0 -3
  22. package/ts/chunks/chunk-7J6R2D2K.js +0 -2
  23. package/ts/chunks/chunk-ATNTR7M5.js +0 -1
  24. package/ts/chunks/chunk-AW3XJGEP.js +0 -1
  25. package/ts/chunks/chunk-BRC46A3N.js +0 -39
  26. package/ts/chunks/chunk-C5LYQDQH.js +0 -368
  27. package/ts/chunks/chunk-CCYWFSXR.js +0 -3
  28. package/ts/chunks/chunk-CL55MNGD.js +0 -1
  29. package/ts/chunks/chunk-CSP2GUD4.js +0 -29
  30. package/ts/chunks/chunk-D2UKX2VW.js +0 -2
  31. package/ts/chunks/chunk-DGYDUGTM.js +0 -1
  32. package/ts/chunks/chunk-FB3Z7XYQ.js +0 -1
  33. package/ts/chunks/chunk-FLLYK5FU.js +0 -1
  34. package/ts/chunks/chunk-GCPGG4YB.js +0 -1
  35. package/ts/chunks/chunk-HISXAZ4Y.js +0 -1
  36. package/ts/chunks/chunk-HLDPASM6.js +0 -3
  37. package/ts/chunks/chunk-HNQA5O2S.js +0 -2
  38. package/ts/chunks/chunk-HUP7XWW6.js +0 -1
  39. package/ts/chunks/chunk-I4Z2RF7L.js +0 -31
  40. package/ts/chunks/chunk-J3XNDEMU.js +0 -4
  41. package/ts/chunks/chunk-K6FVY52W.js +0 -5
  42. package/ts/chunks/chunk-KQJGXVWX.js +0 -91
  43. package/ts/chunks/chunk-M4U4Y3XQ.js +0 -7
  44. package/ts/chunks/chunk-M6CAJL36.js +0 -1
  45. package/ts/chunks/chunk-MPHTBN7E.js +0 -1
  46. package/ts/chunks/chunk-NYIFCLEG.js +0 -1
  47. package/ts/chunks/chunk-RRDWQKZY.js +0 -1
  48. package/ts/chunks/chunk-RVNSKPFL.js +0 -1
  49. package/ts/chunks/chunk-S5F2DAAG.js +0 -5
  50. package/ts/chunks/chunk-SCYP2G2T.js +0 -3
  51. package/ts/chunks/chunk-SWP6BJR6.js +0 -147
  52. package/ts/chunks/chunk-SWRVSRYY.js +0 -5
  53. package/ts/chunks/chunk-T2X4E35X.js +0 -1
  54. package/ts/chunks/chunk-TDLTCTV4.js +0 -1
  55. package/ts/chunks/chunk-TKBGNLNV.js +0 -1
  56. package/ts/chunks/chunk-UY4YFVSW.js +0 -3
  57. package/ts/chunks/chunk-V5ZXCJPI.js +0 -2
  58. package/ts/chunks/chunk-W46BJM2F.js +0 -1
  59. package/ts/chunks/chunk-W7KQFMHV.js +0 -1
  60. package/ts/chunks/chunk-XGRZPTAD.js +0 -24
  61. package/ts/chunks/chunk-XTQFSF6C.js +0 -1
  62. package/ts/chunks/chunk-YN3SHWBR.js +0 -1
  63. package/ts/chunks/chunk-ZAY6LSJD.js +0 -2
  64. package/ts/chunks/chunk-ZGVXR3EC.js +0 -8
  65. package/ts/chunks/chunk-ZW5C5IGT.js +0 -32
  66. package/ts/chunks/claude-code-J2V5WSGZ.js +0 -1
  67. package/ts/chunks/concern-EDWQHU4H.js +0 -1
  68. package/ts/chunks/config-E7BDBHPK.js +0 -1
  69. package/ts/chunks/decision-ledger-5QXKZSV2.js +0 -1
  70. package/ts/chunks/delegate-LVQQ3GCV.js +0 -1
  71. package/ts/chunks/diagrams-2F5ZYXA7.js +0 -1
  72. package/ts/chunks/diagrams-H62JGTIS.js +0 -1
  73. package/ts/chunks/dist-3MH5UCQU.js +0 -12
  74. package/ts/chunks/done-U3TOSZIX.js +0 -1
  75. package/ts/chunks/followup-J2HJU3ZT.js +0 -1
  76. package/ts/chunks/free-73WMLMCT.js +0 -1
  77. package/ts/chunks/gemini-GA6P4M7D.js +0 -1
  78. package/ts/chunks/init-6CVDGRY2.js +0 -1
  79. package/ts/chunks/invoke-hook-2TMKWL7I.js +0 -15
  80. package/ts/chunks/kiro-BJSKSAUC.js +0 -1
  81. package/ts/chunks/learn-7Q2VWZMI.js +0 -7
  82. package/ts/chunks/ledger-XR4AHZRX.js +0 -2
  83. package/ts/chunks/list-CUQCPXZH.js +0 -1
  84. package/ts/chunks/manager-WTLJ5C2I.js +0 -3
  85. package/ts/chunks/mod-BZA5TFW7.js +0 -1
  86. package/ts/chunks/mod-RWA5ZPYH.js +0 -1
  87. package/ts/chunks/mod-X372UNSQ.js +0 -1
  88. package/ts/chunks/mod-XVE4ZWPY.js +0 -1
  89. package/ts/chunks/multipart-parser-DKDFOZKD.js +0 -2
  90. package/ts/chunks/next-CEYZSYGB.js +0 -20
  91. package/ts/chunks/node-33JV5VS3.js +0 -15
  92. package/ts/chunks/node-XYP2DQHR.js +0 -74
  93. package/ts/chunks/node-ZSGIX7K3.js +0 -1
  94. package/ts/chunks/ollama-X6OGN5BW.js +0 -1
  95. package/ts/chunks/openai-TV7KLQ2C.js +0 -1
  96. package/ts/chunks/openai-YPM2E7QS.js +0 -30
  97. package/ts/chunks/opencode-AK6WWZRF.js +0 -1
  98. package/ts/chunks/pack-EOUSZGJT.js +0 -5
  99. package/ts/chunks/plan-export-ZBINRAAS.js +0 -3
  100. package/ts/chunks/purge-GPMC5A6Y.js +0 -5
  101. package/ts/chunks/reopen-LPVNZN5I.js +0 -1
  102. package/ts/chunks/reset-RNLPXGWQ.js +0 -1
  103. package/ts/chunks/review-ZGAY5XCN.js +0 -1
  104. package/ts/chunks/rule-SNBQ4VZD.js +0 -6
  105. package/ts/chunks/run-4TDP4C7Z.js +0 -3
  106. package/ts/chunks/sdk-MEVPL5WT.js +0 -1
  107. package/ts/chunks/session-J7TSLNEH.js +0 -1
  108. package/ts/chunks/spec-3NSPFDIC.js +0 -1
  109. package/ts/chunks/src-HXQVVTGQ.js +0 -3
  110. package/ts/chunks/status-DIEA2OGR.js +0 -1
  111. package/ts/chunks/sync-HZNKILSP.js +0 -1
  112. package/ts/chunks/validate-MWHDOF2F.js +0 -1
  113. package/ts/chunks/vertexai-ARXI4AMJ.js +0 -1
  114. package/ts/chunks/watch-P6HABMAS.js +0 -7
  115. package/ts/chunks/web-BMIC3VJQ.js +0 -1
  116. package/ts/chunks/wontfix-6UKEYTVB.js +0 -1
  117. package/ts/noskills.js +0 -2
package/README.md CHANGED
@@ -1,1134 +1,36 @@
1
- # 🚦 [@eserstack/noskills](./)
1
+ # 🚦 [noskills](./)
2
2
 
3
- > **Note:** JSR is frozen at 4.5.x. From 5.0.0, `@eserstack/noskills` is
4
- > published on npm under the same name, and the `noskills` command as the npm
5
- > package `noskills` (`npm install -g noskills`); the JSR versions stay
6
- > available but get no updates.
7
-
8
- > **eserstack Product** — AI development orchestrator ·
9
- > [eser/stack](https://github.com/eser/stack) **Install:**
10
- > `curl -fsSL https://raw.githubusercontent.com/eser/stack/main/etc/scripts/install.sh | sh -s noskills`
11
-
12
- `noskills` is a command, so install it as a binary — the line above, or
13
- `brew install eser/tap/noskills`,
14
- `nix profile install github:eser/stack#noskills` or `npm i -g noskills`. On
15
- Windows use `install.ps1 -Product noskills`. Every one of them installs the Go
16
- build of the CLI ([cmd/noskills](../../../cmd/noskills)): the npm package is a
17
- launcher that runs the binary of its `@eserstack/noskills-<platform>`
18
- dependency, and carries this TypeScript CLI for the commands the binary hands
19
- over to it.
20
-
21
- Adding this package as a dependency (`pnpm add @eserstack/noskills`) gets
22
- you the modules, not the command: the source package declares no `bin`, which is
23
- generated at publish time by `scripts/npm-build.ts`. Depend on it when embedding
24
- the orchestrator in your own program; install the binary when you want to run
25
- it.
26
-
27
- AI agents are powerful. But left alone, they take shortcuts — they skip
28
- requirements, rush past edge cases, declare "done" when it isn't, and forget
29
- your spec/PRD details halfway through. You end up babysitting the thing that was
30
- supposed to save you time.
31
-
32
- Noskills is here to fix this. It's designed as a state-machine orchestrator for
33
- AI coding agents. An agent can't skip discovery, can't ignore tests, can't
34
- declare victory without proof. Not because a prompt says "please don't" —
35
- because the system mechanically blocks it.
36
-
37
- Think of it as a Scrum Master for your agents.
38
-
39
- Noskills provides you to a better workflow and context health with replacing
40
- skill-packs. Loading skills into context and hoping agents pick the right one is
41
- a pull model — and it doesn't work. noskills is a push model: it delivers
42
- exactly the right instruction at the right time. The agent never decides what to
43
- do next. The state machine does.
44
-
45
- Not every task needs a full discovery cycle. Bug fix? ship-fast mode — 2
46
- questions, spec in 2 minutes. Major feature? full mode with adaptive follow-ups.
47
- You pick the depth. See [Discovery Modes](#discovery-modes) below.
48
-
49
- If you want to test noskills with a platform other than Claude Code, reach out —
50
- we'd love early feedback. Find me at [github.com/eser](https://github.com/eser)
51
- or [@eserozvataf](https://x.com/eserozvataf).
52
-
53
- ## The Problem
54
-
55
- Agents have a context rot problem. The more skills, rules, and conventions you
56
- load upfront, the worse the agent performs — its context window fills with
57
- instructions it doesn't need yet, and it forgets the ones it does.
58
-
59
- You say "add photo upload with validation." The agent says "on it!" and starts
60
- coding immediately. Twenty minutes later you discover it skipped validation,
61
- forgot error handling, deleted your existing code, and declared the task
62
- complete. You correct it. It fixes one thing, breaks another. Context fills up.
63
- The agent forgets or gets distracted even you told it ten minutes ago. You start
64
- over.
65
-
66
- ### Why skills don't work
67
-
68
- Skills are a "pull" model: the agent decides which skill to load. This creates
69
- two failure modes — picking the wrong skill (wasted context) and needing
70
- meta-knowledge to pick the right one (more context to waste).
71
-
72
- noskills is a "push" model:
73
-
74
- ```
75
- Agent <- stdout (JSON) <- noskills CLI <- filesystem (state + concerns + rules)
76
- ```
77
-
78
- The agent calls `noskills next`, gets exactly what it needs for the current
79
- phase, acts on it, and calls `noskills next` again. No skill selection, no
80
- context pollution, no forgetting.
81
-
82
- ## Noskills Solution
83
-
84
- **Before you code, it makes you think.** noskills asks 6 discovery questions
85
- that probe product, engineering, and QA at the same time. Not a checklist — the
86
- questions adapt to your answers. If you say "WebSocket," it asks about
87
- reconnection. If you're vague, it pushes back. You end up with a spec that
88
- reflects what you actually need, not what the agent guessed.
89
-
90
- **It generates a real spec with real tasks.** Discovery answers become a spec
91
- with concrete tasks and acceptance criteria. You review it, adjust it, approve
92
- it. The agent doesn't touch code until you say go.
93
-
94
- **Each task runs in isolation.** The main agent orchestrates, sub-agents
95
- execute. Fresh context per task. No context rot, no forgotten requirements, no
96
- "the agent got confused after 30 minutes."
97
-
98
- **The agent can't lie about being done.** Tests run before a task is accepted.
99
- The agent reports against specific acceptance criteria, not vibes. Unfinished
100
- items carry forward as debt — they don't disappear.
101
-
102
- **Your concerns shape everything — without bloating context.** "We're
103
- open-source" isn't a label — it's a lens. It adds a documentation check to the
104
- current spec, a contributor question to the current discovery, a license
105
- reminder to the current task. Only what's relevant to the current phase is
106
- delivered. Stack multiple concerns to define your project's character.
107
-
108
- **One source of truth for all tools.** Write rules once. noskills generates
109
- CLAUDE.md, AGENTS.md, .cursorrules, Kiro steering files, and more. Your teammate
110
- on Cursor and your teammate on Claude Code get the same conventions,
111
- automatically.
112
-
113
- **A human who's always in charge.** noskills never makes decisions silently.
114
- Discovery questions -> you answer. Spec approval -> you decide. Architectural
115
- choices -> you pick. Concern tensions -> you resolve. The agent executes, you
116
- decide. Explicit > Clever.
117
-
118
- ### Before & After
119
-
120
- **Without noskills:**
121
-
122
- ```
123
- You: "Add photo upload with validation"
124
- Agent: *starts coding immediately*
125
- Agent: "Done! Photo upload is working."
126
- You: "There's no validation. And you deleted my error handler."
127
- Agent: "I apologize, let me fix that..."
128
- *context fills up, agent forgets everything, starts from scratch*
129
- ```
130
-
131
- **With noskills:**
132
-
133
- ```
134
- You: "Add photo upload with validation"
135
- noskills: "What do users do today without this?"
136
- You: "They fill forms manually"
137
- noskills: "1-star and 10-star versions?"
138
- You: "1-star: basic upload. 10-star: auto-detect from photo"
139
- ... 4 more questions, each adapting to your answers ...
140
- noskills: "Here's your spec. 5 tasks. Approve?"
141
- You: "Approved"
142
- Agent: *implements task 1 in fresh context, tests pass, reports progress*
143
- Agent: *implements task 2 in fresh context, tests pass, reports progress*
144
- *Each task: clear scope, verified, nothing forgotten*
145
- ```
146
-
147
- ### How it works (briefly)
148
-
149
- Every spec moves through phases:
150
-
151
- ```
152
- IDLE → DISCOVERY → REFINEMENT → PROPOSAL → APPROVED → EXECUTING ↔ BLOCKED
153
- ^ ^ |
154
- | +-------------- revisit -----------------+
155
- | |
156
- +------------------ COMPLETED ←------------------+
157
- (done | cancelled | wontfix)
158
- ```
159
-
160
- Any phase can exit via `cancel` or `wontfix`. Mid-execution, `revisit` returns
161
- to DISCOVERY with progress preserved. At each phase, the agent gets exactly the
162
- instructions it needs — nothing more. In DISCOVERY, it can't edit files
163
- (mechanically blocked, not just asked nicely). In EXECUTING, it delegates to
164
- sub-agents with fresh context per task. At every gate, you decide.
165
-
166
- The agent calls `noskills next`, gets a JSON payload with its current task,
167
- behavioral rules, and concern reminders. It does the work, calls `noskills next`
168
- again.
169
-
170
- **Hooks enforce the rules at the system level.** The agent doesn't know hooks
171
- exist. It just can't do things it shouldn't — like editing files during
172
- discovery or running git commands. This is the difference between "please don't"
173
- and "you can't."
174
-
175
- ### Key concepts
176
-
177
- **Discovery** — Adaptive questions that challenge your assumptions, surface edge
178
- cases, and catch things you'd miss. Discovery modes shape the depth.
179
-
180
- **Concerns** — your project's DNA. "open-source" adds a documentation check.
181
- "beautiful-product" demands every UI state is designed. "move-fast" accepts
182
- good-enough. Concerns stack, but only the current phase's slice is delivered —
183
- no upfront context dump.
184
-
185
- **Specs** — living documents with tasks, acceptance criteria, and status
186
- tracking. Not a plan the agent ignores — a contract it's held to.
187
-
188
- **Sub-agent pipeline** — main agent orchestrates, sub-agents execute individual
189
- tasks in fresh context. Verifier checks the work. Test-writer ensures coverage.
190
- No context rot.
191
-
192
- **Transition validation** (opt-in): at the end of discovery and at the spec
193
- proposal, a second agent that sees only the spec, the answers and the transition
194
- reports findings before you approve. The findings are advice and never block.
195
- Turn it on with `next --validate` or a `validate` entry in the manifest; see
196
- [The transition validator](./README-HOW.md#the-transition-validator).
197
-
198
- **Verification backpressure** — tests must pass before a task is accepted.
199
- Unfinished items become debt that follows the agent around with increasing
200
- urgency.
201
-
202
- **Packs** — installable bundles of rules and concerns.
203
- `noskills pack install typescript` gives you 3 rules and a concern. Share packs
204
- across projects or teams.
205
-
206
- **Learnings** — mistakes from past specs are remembered and surfaced in future
207
- discovery. "Last time you assumed SDK v2 and it was v3" appears before you make
208
- the same mistake.
209
-
210
- ### Discovery Modes
211
-
212
- Before the six questions, noskills asks which discovery mode to use:
213
-
214
- | Mode | Focus | Best for |
215
- | --------------- | -------------------------------- | --------------------------------- |
216
- | full | Standard 6 questions | New features (default) |
217
- | validate | Challenge assumptions | Detailed plans, long descriptions |
218
- | technical-depth | Architecture, data flow | Infrastructure, integration |
219
- | ship-fast | Minimum viable scope | Bug fixes, quick iterations |
220
- | explore | Think bigger, find opportunities | Brainstorming, scope expansion |
221
-
222
- The mode shapes how questions are asked and which concern extras appear.
223
-
224
- The agent asks the six questions together and submits your answers in one call.
225
- Follow-ups come after them, one at a time: when an answer is vague or risky, the
226
- agent registers a follow-up, and `noskills next` hands each one out on its own
227
- until you answer or skip it.
228
-
229
- ```bash
230
- noskills spec upload followup reversibility "What's the rollback plan?"
231
- noskills spec upload followup reversibilitya --answer="Feature flag, off by default"
232
- ```
233
-
234
- ### Listen-first merged entry
235
-
236
- When you run `noskills spec <name> next` for the first time on a new spec,
237
- noskills presents a single entry menu combining listen-first and mode selection:
238
-
239
- - **(a)** Share context — write requirements, Linear tasks, meeting notes
240
- (recursive; you can keep adding)
241
- - **(b)** Technical depth mode — architecture, data flow, integration focus
242
- - **(c)** Move fast mode — minimum viable scope
243
- - **(d)** Validate mode — challenge assumptions, find gaps
244
-
245
- Option (a) appends to `discovery.userContext[]` without advancing. Picking b/c/d
246
- sets `entryComplete: true` and starts discovery.
247
-
248
- ### Auto-classification
249
-
250
- At DISCOVERY_REFINEMENT, noskills automatically classifies your spec across five
251
- categories (Web UI, CLI, Public API, Migration, Data Handling) by regex-scanning
252
- your spec description, userContext entries, and discovery answers. The
253
- classification is shown with keyword evidence for you to confirm or adjust — no
254
- separate classification prompt step required.
255
-
256
- ## Who is this for
257
-
258
- **Vibe coders** who are tired of babysitting agents — you want to describe what
259
- you need and get it built correctly. ship-fast mode: 2 questions, 2 minutes,
260
- spec ready. Autonomous mode runs overnight.
261
-
262
- **Solo builders** who use AI agents daily and want structure without overhead.
263
- Discovery catches what you'd miss. Verification catches what the agent skips.
264
-
265
- **Tech leads and engineering managers** who need their team's agents to follow
266
- the same conventions, pass the same quality gates, and produce auditable specs —
267
- across Cursor, Claude Code, Kiro, and every other tool.
268
-
269
- **Product owners and PMs** who want to define specs, delegate questions to
270
- engineers, and approve results — without touching a terminal. The web dashboard
271
- and delegation system are built for you.
272
-
273
- ## Quick Start
274
-
275
- Open your AI coding agent (Claude Code, Cursor, Kiro, Copilot, etc.) and tell
276
- it:
277
-
278
- ```
279
- Run `npx eser@latest noskills init` — it will scaffold your project and guide you through setup.
280
- ```
281
-
282
- noskills detects your tools, sets up hooks, and generates instruction files.
283
- Then:
284
-
285
- ```bash
286
- noskills spec new "photo upload with validation" # start discovery
287
- # Answer 6 questions. Review spec. Approve.
288
- # Agent executes tasks with verification.
289
- # You approve the result.
290
- ```
291
-
292
- That's it — from zero to executing spec in under 5 minutes. The discovery
293
- questions take 2-5 minutes depending on mode. The agent handles the rest.
294
-
295
- ### Autonomous mode
296
-
297
- ```bash
298
- noskills run --unattended --max-iterations=50
299
- # Fresh agent per iteration, zero context rot
300
- # Blocks logged to file — resolve in the morning
301
- ```
302
-
303
- ### Live monitoring
304
-
305
- ```bash
306
- noskills watch # real-time dashboard in your terminal
307
- noskills web # same dashboard in your browser
308
- ```
309
-
310
- The web dashboard (`noskills web`) provides the same experience as the terminal
311
- — spec reading with inline actions, Claude Code tabs, real-time updates. Product
312
- owners and PMs can review specs, answer delegated questions, and approve from
313
- their browser without ever opening a terminal.
314
-
315
- ## Platform Support
316
-
317
- | Platform | Enforcement |
318
- | ----------- | --------------------------------------- |
319
- | Claude Code | Full — hooks block unauthorized actions |
320
- | Kiro | Full — steering files + hooks |
321
- | Codex CLI | Full — hooks + agents |
322
- | Copilot CLI | Full — hooks + agents |
323
- | OpenCode | Full — plugins + agents |
324
- | Cursor | Behavioral — rules synced, no hooks |
325
- | Windsurf | Behavioral — rules synced, no hooks |
326
-
327
- "Full" means the agent is mechanically prevented from breaking rules.
328
- "Behavioral" means the agent is asked to follow rules — it usually does, but
329
- can't be forced.
330
-
331
- ## Multi-user
332
-
333
- Multiple people can work on the same spec. Discovery questions can be delegated
334
- — "I can't answer this, ask Ahmet." Delegated items must be signed off before
335
- the spec can be approved, like GitHub reviewers.
336
-
337
- ```bash
338
- noskills config set-user --from-git # set your identity
339
- noskills spec upload review # see what's delegated to you
340
- ```
341
-
342
- Every action is attributed — who answered what, who approved, who added which
343
- requirement.
344
-
345
- ### Getting your team on board
346
-
347
- One person starts: `noskills init`, create a spec, ship it. The `.eser/`
348
- directory commits to your repo. When a teammate opens the project, they run
349
- `noskills init` — it detects their tool (Cursor, Claude Code, Kiro, whatever)
350
- and generates the right instruction files. Same rules, same concerns, same
351
- quality gates — automatically.
352
-
353
- No migration. No team-wide rollout meeting. One person starts, others join when
354
- they see the specs landing correctly.
355
-
356
- ## Usage Details
357
-
358
- ### Without an agent (agentless CLI mode)
359
-
360
- ```bash
361
- eser noskills init
362
- eser noskills concern add beautiful-product
363
- eser noskills spec new "photo upload"
364
- eser noskills next -o text # Shows all 6 questions at once
365
- eser noskills next --answer='{"status_quo":"...","ambition":"...","reversibility":"...","user_impact":"...","verification":"...","scope_boundary":"..."}' -o text
366
- # Classification: what does this spec involve?
367
- eser noskills next --answer='{"involvesWebUI":true,"involvesCLI":false,"involvesPublicAPI":false,"involvesMigration":false,"involvesDataHandling":false}' -o text
368
- # Resolve the sections no discovery answer fills, or approve refuses
369
- eser noskills spec photo-upload section list
370
- eser noskills spec photo-upload section summary fill "Users upload photos from the app"
371
- eser noskills spec photo-upload section premises na "The premises step already recorded them"
372
- eser noskills approve
373
- eser noskills next --answer="start" -o text # Begin execution
374
- eser noskills next --answer="task-1 done" -o text
375
- # noskills asks for status report against acceptance criteria
376
- eser noskills next --answer='{"completed":["endpoint works"],"remaining":["error UI"]}' -o text
377
- # debt carries forward to next iteration
378
- eser noskills status -o markdown
379
- ```
380
-
381
- After discovery, noskills asks you to classify the spec (UI, API, migration,
382
- data handling). If you skip this by running `approve` directly, all concern
383
- sections default to N/A — the spec stays clean.
384
-
385
- The entire lifecycle works without any agent. noskills is the orchestrator —
386
- agents and humans are both consumers.
387
-
388
- Both CLI and agent write to the same state. You can start discovery via CLI
389
- (answering questions in the terminal), close the terminal, open an agent session
390
- later, and the agent picks up from the last answered question. Or start with an
391
- agent and finish via CLI. noskills doesn't care who's driving — it checks state
392
- and continues from wherever it left off.
393
-
394
- ### Autonomous execution (Ralph loop)
3
+ The `noskills` command, published to npm as the package `noskills`: a
4
+ state-machine orchestrator for AI coding agents, which hands the agent one
5
+ instruction at a time and blocks it from skipping discovery, tests or proof of
6
+ done. The [@eserstack/noskills](../noskills/README.md) README describes the
7
+ workflow and every command.
395
8
 
396
9
  ```bash
397
- eser noskills run # Spawns fresh claude -p per iteration
398
- eser noskills run --unattended # Stops at BLOCKED, logs to file
399
- eser noskills run --max-iterations=20 # Safety valve
400
- eser noskills run --max-turns=15 # Turns per agent process
10
+ npm install -g noskills
11
+ noskills init
401
12
  ```
402
13
 
403
- Each iteration is a fresh `claude -p` process with zero context accumulation —
404
- this is the Ralph loop pattern (originated by Geoff Huntley). AI agents suffer
405
- from context rot: the longer they work, the more stale instructions accumulate
406
- and performance degrades. The Ralph loop solves this by restarting the agent
407
- every iteration with fresh context while persisting state in files. noskills IS
408
- the Ralph loop — no separate bash script needed.
409
-
410
- Nobody answers the agent during a run, so the loop compiles its prompt without
411
- the rules that wait for you, such as AskUserQuestion prompts. When a decision
412
- needs you, the agent runs `block` and the loop stops at BLOCKED. The loop always
413
- runs Claude Code, so the prompt follows Claude Code's tool set whatever tools
414
- `manifest.yml` lists first.
415
-
416
- State persists in `.eser/.state/progresses/state.json` between iterations. The
417
- Stop hook snapshots git state automatically. Verification backpressure prevents
418
- advancing past broken tests. When `autoCommit: true` is set in `manifest.yml`,
419
- the `noskills run` loop commits between iterations, whatever `allowGit` says:
420
- `allowGit` governs the agent's git, and the loop runs its commits outside the
421
- agent's git wrapper. Git writes are the CLI's responsibility, never the agent's.
422
-
423
- ### Behavioral Guardrails
424
-
425
- Every `noskills next` output includes a `behavioral` block with phase-specific
426
- rules. These tell the agent HOW to behave, not just WHAT to do:
427
-
428
- | Phase | Behavioral tone | Key rules |
429
- | ---------- | -------------------------------- | ------------------------------------------------------------- |
430
- | IDLE | "Welcoming. Present choices" | No file edits until spec approved |
431
- | DISCOVERY | "Curious, has a stake" | Push back on shallow answers, probe for specifics, don't code |
432
- | REFINEMENT | "Careful reviewer" | Present answers, user must confirm each one |
433
- | PROPOSAL | "The user is reviewing" | Don't modify the spec, don't start coding |
434
- | APPROVED | "Patient. Wait for go signal" | Don't start coding until user triggers execution |
435
- | EXECUTING | "Orchestrate — spawn sub-agents" | Delegate to sub-agents, don't edit files directly |
436
- | BLOCKED | "Brief. Decision time." | Present decision as-is, don't suggest preferences |
437
- | COMPLETED | "Celebrate briefly, then stop" | Don't start new work (done, cancelled, or wontfix) |
438
-
439
- The rules name only what the agent's tool has. Claude Code gets AskUserQuestion
440
- and the plan-mode key (Shift+Tab); Cursor, Windsurf, Copilot, Kiro, Codex CLI
441
- and OpenCode get numbered lists and plain questions instead. `noskills next`
442
- takes these from the first tool in the manifest's `tools` list.
443
-
444
- **Git is read-only** for agents (configurable via `allowGit: true` in manifest).
445
- Agents may read (`git log`, `git diff`, `git status`) but never write
446
- (`git commit`, `git push`, `git checkout`). Four layers apply this: behavioral
447
- rules, the AGENTS.md instruction, the PreToolUse hook and a git wrapper.
448
-
449
- The hook classifies the Bash command text. It catches git however it is quoted,
450
- cased or prefixed (`"git"`, `g''it`, `GIT`, `env X=1 git`), inside `sh -c`,
451
- `eval`, pipes and `$(…)`, in a script piped or heredoc-fed to a shell, and in a
452
- script file it can read before the command runs (`bash run.sh`). A script the
453
- same command writes and then runs is denied. What the hook cannot decide from
454
- text is a program an interpreter assembles at run time, such as
455
- `python -c "subprocess.run(['g'+'it','push'])"`.
456
-
457
- The git wrapper covers that case. While `allowGit` is false, the SessionStart
458
- hook writes a `git` script to `.eser/.state/bin/` and puts that directory first
459
- on the PATH of the session's Bash commands through Claude Code's
460
- `CLAUDE_ENV_FILE`, and `noskills run` puts it first on the PATH of the agent it
461
- starts. Every git process the agent starts then runs through the script,
462
- whatever built the command:
463
-
464
- - Reads and clones run directly.
465
- - A push is refused from any repository, since a clone anywhere can push to the
466
- project's remote.
467
- - Any other write is refused when it acts on the project's repository, however
468
- the repository is named (`-C`, `--git-dir`, `GIT_DIR`). A command that starts
469
- with a git option the wrapper does not know is refused too, since that option
470
- may hide which repository it names.
471
- - Writes to other repositories run, so tests that commit to temporary
472
- repositories still pass inside an agent session.
473
-
474
- The wrapper asks `noskills invoke-hook git-exec` about each command it does not
475
- run directly, and that check reads `allowGit` every time, so setting it to true
476
- takes effect at once. Setting it to false takes effect in the next session. The
477
- check has 30 seconds to answer. When it does not, the wrapper stops it and
478
- refuses the command, so a slow registry cannot hang the agent's git call. The
479
- default `command`, `npx eser@latest noskills`, can wait on the npm registry
480
- before the check starts; set `command` to an installed noskills to keep the
481
- check off the network. The Go binary is one: it answers the check in a few
482
- milliseconds.
483
-
484
- The PreToolUse hook also keeps the agent away from the settings these layers
485
- read. In every phase and session mode, it refuses an edit or a Bash command that
486
- would change the `noskills` section of `.eser/manifest.yml` (`allowGit`,
487
- `command` and the other settings) or anything in `.eser/.state/bin/`, including
488
- a command that moves or removes `.eser` or `.eser/.state` as a whole. Edits to
489
- the manifest's other sections and to rules, concerns and specs under `.eser/` go
490
- through, and so do noskills commands that update the manifest themselves
491
- (`concern add`, `concern remove`). Change the `noskills` section yourself.
492
-
493
- Which tools get the wrapper:
494
-
495
- - Claude Code: the SessionStart hook writes it and puts it on PATH through
496
- `CLAUDE_ENV_FILE`. Claude Code does not always run that hook for a new
497
- conversation
498
- ([anthropics/claude-code#10373](https://github.com/anthropics/claude-code/issues/10373)).
499
- When `command -v git` in the session does not print the wrapper's path, run
500
- `/clear`, which runs the hook again, and check once more.
501
- - `noskills run`: puts it on the PATH of the agent it starts.
502
- - Codex, OpenCode, Copilot CLI and Kiro: their session-start hook writes the
503
- wrapper, but a hook in these tools cannot change the PATH of the commands that
504
- follow. Start the tool with the wrapper directory first on PATH, and check
505
- that `command -v git` inside the tool prints the wrapper's path:
506
-
507
- ```bash
508
- PATH="$PWD/.eser/.state/bin:$PATH" codex
509
- ```
510
-
511
- - Cursor, Windsurf and GitHub Copilot in the editor run no noskills hooks, so
512
- neither the PreToolUse hook nor the wrapper applies. Only the generated rules
513
- ask the agent to leave git alone.
514
-
515
- On Windows nothing is installed. The wrapper is a POSIX shell script, and a
516
- `git.cmd` shim would not take its place: programs that start git without a
517
- shell, such as Python's `subprocess` and Node's `child_process`, look up
518
- `git.exe` and never run a `.cmd` file. The PreToolUse hook is then the
519
- only noskills check on git.
520
-
521
- These layers are guards against mistakes, not a sandbox. A program that starts
522
- git by its absolute path, such as
523
- `python -c "subprocess.run(['/usr/bin/g'+'it','push'])"`, or that sets its own
524
- PATH, skips both the hook and the wrapper, and noskills cannot see it. Two
525
- things stop it:
526
-
527
- - Claude Code's sandbox, which the operating system enforces for every Bash
528
- command and the programs it starts. With `.git` in
529
- `sandbox.filesystem.denyWrite`, no sandboxed command can write the repository,
530
- whichever git binary it runs, and the sandbox's network proxy only lets a
531
- command reach the hosts you allow, so keep your git host off that list.
532
- noskills does not turn the sandbox on for you, because it changes how every
533
- command in your sessions runs. To turn it on, add this to
534
- `.claude/settings.json`:
535
-
536
- ```json
537
- {
538
- "sandbox": {
539
- "enabled": true,
540
- "allowUnsandboxedCommands": false,
541
- "filesystem": {
542
- "denyWrite": ["./.git", "./.eser/manifest.yml", "./.eser/.state/bin"]
543
- }
544
- }
545
- }
546
- ```
547
-
548
- `allowUnsandboxedCommands: false` stops the agent from asking to run a command
549
- outside the sandbox. With the manifest in `denyWrite`, the noskills commands
550
- that update it fail when the agent runs them; run those yourself.
551
-
552
- - Branch protection on the remote: require pull requests for your main branch,
553
- block force pushes (GitHub branch protection rules or rulesets, GitLab
554
- protected branches), and do not give agent sessions credentials that can push.
555
-
556
- #### The PreToolUse hook in each tool
557
-
558
- `noskills init` writes the hook config each tool reads, and each config runs
559
- `noskills invoke-hook pre-tool-use` before the tool's shell and file tools run:
560
-
561
- | Tool | Config | Guarded tools |
562
- | ----------- | ------------------------------- | ----------------------------------------------------------------------------------------------- |
563
- | Claude Code | `.claude/settings.json` | Bash, Write, Edit, MultiEdit |
564
- | Codex | `.codex/hooks.json` | Bash (shell commands and exec_command), apply_patch |
565
- | Copilot CLI | `.github/hooks/noskills.json` | bash, powershell, create, edit, str_replace_editor, apply_patch |
566
- | Kiro | `.kiro/hooks/noskills.json` | write, fs_write, fsWrite, fs_append, str_replace, delete_file, shell, execute_bash, execute_cmd |
567
- | OpenCode | `.opencode/plugins/noskills.ts` | bash, edit, write, apply_patch |
568
-
569
- The hook reads each tool's own tool names and input fields. It refuses a call by
570
- exiting with code 2 and writing the reason to stderr, which all five tools take
571
- as a denial. Codex runs a project's hooks only after you trust them: after
572
- `noskills init`, open `/hooks` in Codex and trust the noskills entries. Kiro
573
- reads `.kiro/hooks/` from IDE 1.0 and CLI 3.0 on. Copilot CLI also runs the
574
- hooks in `.claude/settings.json`, so with Claude Code set up as well it runs the
575
- check twice, and both runs refuse the same calls.
576
-
577
- The tools' documentation leaves two gaps:
578
-
579
- - Copilot CLI documents the `command` argument of its shell tools but not the
580
- arguments of `create` and `edit`. noskills reads `path`, and `file_text` or
581
- `old_str` and `new_str` when the call has them.
582
- - Kiro documents its hook payload and tool names but not the fields of each
583
- tool's input. noskills reads `command` for the shell tools and `path` or
584
- `file_path` for the write tools, with `file_text`, `content` or `old_str` and
585
- `new_str` when the call has them.
586
-
587
- When a file tool's input does not show what the file holds afterwards (a patch,
588
- an append, a delete or an input of another shape), the phase gate still applies
589
- to the file's path, and a change to `.eser/manifest.yml` is refused as a whole,
590
- since noskills cannot tell whether it leaves the `noskills` section alone. A
591
- shell call whose input has no `command` field goes unchecked.
592
-
593
- **When the hook is slow.** Each config gives the PreToolUse hook 30 seconds, as
594
- long as the git wrapper's check. Claude Code, Codex, Copilot CLI and Kiro treat
595
- a hook that does not answer in time as a failed hook and let the tool call go
596
- ahead, so the git guard and the protected-file check do not apply to that call.
597
- The git wrapper, where it is on PATH, still refuses a git write whose own check
598
- times out, and the OpenCode plugin refuses the call and says why. The default
599
- `command`, `npx eser@latest noskills`, can wait on the npm registry before
600
- noskills starts, and `noskills init` warns when `command` runs through npx,
601
- `npm exec` or another runner that downloads a package or a remote module first.
602
- To keep the hook off the network, install the eser CLI (`npm install -g eser`)
603
- and run `eser noskills init`, which sets `command` to `eser noskills`.
604
-
605
- The Go build of noskills (`cmd/noskills`, which `make build` builds until the
606
- release channels ship it) makes the 30-second timeout and the warning
607
- unnecessary. It runs every hook and the git wrapper's check itself, answers a
608
- PreToolUse call in about 4 ms, and needs neither Node nor the network. Running
609
- `noskills init` through it sets `command` to the binary, so every hook and the
610
- git wrapper it generates call the binary; run it again in a project that the npx
611
- command set up. The timeout stays at 30 seconds only for configs that still
612
- start noskills through npx, such as the ones v4.5.x wrote.
613
-
614
- When a spec's iteration count reaches `maxIterationsBeforeRestart` (default 15),
615
- the Stop hook prints a notice for you on stderr and `noskills next` sets
616
- `restartRecommended: true`. The agent gets no countdown, because the count runs
617
- over the spec's whole life rather than one session.
618
-
619
- ### Concerns — The Project's DNA
620
-
621
- Concerns define what your project IS. They stack on top of each other and affect
622
- discovery questions, spec sections, execution reminders, and acceptance
623
- criteria:
624
-
625
- | Concern | Effect |
626
- | --------------------- | ------------------------------------------------------------------------------------ |
627
- | **open-source** | Prioritize contributor experience, default to permissive choices |
628
- | **beautiful-product** | Every UI state specified — empty, loading, error, success. No AI slop |
629
- | **long-lived** | Favor boring technology, every shortcut needs justification |
630
- | **move-fast** | Good enough is good enough, defer polish to v2 |
631
- | **compliance** | Every state change must be traceable, verification is mandatory |
632
- | **learning-project** | Experimentation encouraged, document learnings over polish |
633
- | **well-engineered** | Performance measured, tests strategic, errors helpful, security built-in, observable |
634
-
635
- Concerns inject at every phase (DISCOVERY, REFINEMENT, EXECUTING, etc.) — but
636
- only the slice relevant to the current phase. The agent never sees all concern
637
- data at once:
638
-
639
- - **DISCOVERY** — extra sub-questions, dream state prompts
640
- - **REFINEMENT** — review dimension checklist (scope-filtered by classification
641
- — UI dimensions only appear for UI specs)
642
- - **PROPOSAL** — spec sections (a section with a `scope` waits for a matching
643
- classification), registry table skeletons
644
- - **EXECUTING** — reminders (tier 1 at compile-time, tier 2 per-file via hooks;
645
- a reminder's `scope` puts it in tier 2), acceptance criteria, tension gates
646
- - **COMPLETED** — learning prompts (done, cancelled, or wontfix)
647
-
648
- When concerns conflict (e.g., move-fast + compliance), noskills surfaces the
649
- tension to the human rather than resolving it silently.
650
-
651
- ### Scoped Folder Rules
652
-
653
- In monorepos, different packages have different constraints. Drop a
654
- `.folder-rules.md` in any directory with markdown bullet rules:
655
-
656
- ```markdown
657
- - Generated AGENTS.md must preserve existing content outside noskills:start/end
658
- markers
659
- - All command references must use dynamic noskillsCmd prefix
660
- - Sync output must be idempotent
661
- - Hook scripts must be self-contained
662
- ```
663
-
664
- When the agent modifies files in that directory (tracked via the post-file-write
665
- hook log), noskills adds those rules to the acceptance criteria during status
666
- reports:
667
-
668
- ```
669
- (folder: pkg/@eserstack/noskills/sync) Sync output must be idempotent
670
- (folder: pkg/@eserstack/noskills/sync) Hook scripts must be self-contained
671
- ```
672
-
673
- Rules stack upward — `.folder-rules.md` files in parent directories also apply,
674
- like CSS specificity. A rule at `pkg/` applies to all files under `pkg/`, while
675
- a rule at `pkg/@eserstack/streams/` applies only to that package. Zero token
676
- cost — derived from filesystem, not LLM.
677
-
678
- ### Removing noskills and restoring it
679
-
680
- `noskills purge` takes noskills out of a project and leaves the rest of the
681
- project alone. It asks about each category; pass `--force` to take every
682
- category without asking, which agent mode requires:
683
-
684
- ```bash
685
- eser noskills purge # asks about each category
686
- eser noskills purge --force # takes every category
687
- eser noskills purge --no-history # deletes without keeping a copy
688
- ```
689
-
690
- | Category | What purge takes |
691
- | ------------------- | ---------------------------------------------------------------------------------- |
692
- | `concerns` | `.eser/concerns/` |
693
- | `specs` | `.eser/specs/` and the workflow state in `.eser/.state/progresses/` |
694
- | `rules` | `.eser/rules/` |
695
- | `manifest` | The `noskills` section of `.eser/manifest.yml`, which goes with any other category |
696
- | `agent-integration` | What sync writes for each tool, and noskills' part of the files it shares with you |
697
-
698
- For the agent integration, purge removes the files only noskills uses: the agent
699
- definitions (`.claude/agents/`, `.codex/agents/`, `.github/agents/`,
700
- `.kiro/agents/`, `.opencode/agents/`, all named `noskills-*`), the hook files
701
- `.kiro/hooks/noskills.json`, `.github/hooks/noskills.json` and
702
- `.opencode/plugins/noskills.ts`, the rule files `.cursorrules`,
703
- `.windsurfrules`, `.github/copilot-instructions.md` and the `noskills-*` files
704
- in `.kiro/steering/`, and the Kiro and OpenCode copies of each spec
705
- (`.kiro/specs/spec_name/` and `.opencode/skills/spec_name.md`). From the files
706
- you share with noskills it removes only noskills' part: the section in CLAUDE.md
707
- and AGENTS.md, the hooks in `.claude/settings.json` and `.codex/hooks.json`, and
708
- the noskills MCP server in `.codex/config.toml`, `.copilot/mcp.json`,
709
- `.kiro/settings/mcp.json` and `opencode.json`. A shared file with nothing else
710
- left in it, and a folder purge leaves empty, goes too. Sessions and the event
711
- log in `.eser/.state/` stay.
712
-
713
- #### Purge history
714
-
715
- Purge moves what it removes into a history entry instead of deleting it. An
716
- entry is a folder named after the UTC time of the purge, such as
717
- `.eser/.state/purge-history/2026-10-05T14-03-12-345Z/`, with one folder per
718
- category. Each category folder holds the removed paths at the place they had in
719
- the project, and `manifest/noskills.yml` holds the manifest section. The history
720
- keeps the 5 newest entries, and each purge drops the oldest beyond that.
721
- `.eser/.state/` is git-ignored, so the history stays out of your repository.
722
-
723
- If you purge to remove the content from disk, pass `--no-history`: purge then
724
- deletes it without a copy. Entries from earlier purges stay in
725
- `.eser/.state/purge-history/`; delete that folder to remove those copies too.
726
-
727
- #### Restoring
728
-
729
- `noskills purge restore` lists the history, newest first. In a terminal it then
730
- asks which entry and which categories to restore. Name an entry, or `latest` for
731
- the newest, to restore without questions:
732
-
733
- ```bash
734
- eser noskills purge restore # lists the entries
735
- eser noskills purge restore latest # every category of the newest entry
736
- eser noskills purge restore entry_id specs rules # two categories of one entry
737
- eser noskills purge restore latest concerns --overwrite
738
- ```
739
-
740
- Restore copies, so the entry stays in the history and you can restore from it
741
- again. When a file the entry holds already exists in the project, or the
742
- manifest already has a `noskills` section, restore leaves that category alone,
743
- names the paths and exits with code 1. Pass `--overwrite` to replace them; files
744
- the entry does not hold stay as they are.
745
-
746
- The agent integration comes back through sync, the step `noskills init` runs.
747
- Restore copies the tool files back, then sync writes noskills' part of the
748
- shared files (the CLAUDE.md and AGENTS.md sections, the hooks and the MCP
749
- server) for the tools the manifest lists. Sync reads the `noskills` section of
750
- the manifest, so restore `manifest` together with `agent-integration`, or run
751
- `noskills init` first. Restore puts categories back in the order of the table
752
- above, so sync also writes the rules restored in the same run.
753
-
754
- ## How noskills differs
755
-
756
- | | Sequential Thinking | gstack | Superpowers | agent-skills | Skills / Rules | Ralph Loops | noskills |
757
- | --------------------------- | ------------------------------------ | -------------------------------------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------------------------- | --------------------------------- | ---------------------------------------- | ------------------------------------------ |
758
- | What it does | Structures agent's internal thinking | Role-based slash commands (CEO, Eng, QA) | Step-by-step execution playbooks | Static workflow patterns for agents | Loads rules into context | Resets session, keeps state in files | Manages workflow via state machine |
759
- | Metaphor | "Think out loud" | "Virtual team" | "Instruction manual" | "Reference book" | "Law book" | "Clean desk every turn" | "Scrum Master" |
760
- | User role | None — agent self-talks | Chooses which role to invoke | Configures playbooks | Loads patterns into context | Writes rules, hopes agent follows | Manages context manually | Active decision-maker at every gate |
761
- | Enforcement | None | None — behavioral | None — behavioral | None — behavioral | None — behavioral | Context reset only | Mechanical (hooks block actions) |
762
- | State tracking | Thought history (in-memory) | Learnings (cross-session) | None | None | None | File-based (manual) | Full state machine, per-spec |
763
- | File control | None | None | None | None | None | None | Phase-based edit control |
764
- | Sub-agents | None | None (single agent, multiple roles) | None | None | None | None | Executor / verifier / test-writer pipeline |
765
- | Discovery | None | /office-hours (similar concept) | Brainstorming skill (similar) | None | None | None | 6 structured questions + concerns |
766
- | Still needed with noskills? | Different layer — helps agents think | Unnecessary — noskills pushes role-specific rules at the right phase | Unnecessary — noskills delivers the right playbook mechanically | Unnecessary — noskills injects patterns as phase-aware reminders | Replaced by noskills | Automated by noskills sub-agent pipeline | — |
767
-
768
- The pull model asks agents to pick the right skill at the right time. The push
769
- model delivers exactly what's needed — no picking, no missing, no waste.
770
-
771
- Every tool above solves a real problem. But they all share the same limitation:
772
- they load instructions and hope the agent follows them. noskills doesn't hope —
773
- it enforces. Hooks block the operation, not rules. The agent can't skip
774
- discovery, can't bypass verification, can't declare done without evidence.
775
-
776
- You don't need skill packs. You need a state machine.
777
-
778
- Another distinction is that noskills owns the workflow — who does what, when,
779
- and whether the result was verified — while the others own the thinking or the
780
- persona.
781
-
782
- **noskills vs gstack:** gstack achieves planning depth through persona
783
- multiplication — 4 independent reviewers (CEO, Engineer, Designer, DX advocate)
784
- each with a 2000+ line prompt. noskills achieves the same depth through concern
785
- composition — each concern carries review dimensions (one-sentence prompts) that
786
- push the agent to evaluate specific quality aspects at the right phase.
787
- `well-engineered` pushes test strategy, performance, observability, threat
788
- modeling, and error quality. `beautiful-product` pushes information hierarchy,
789
- interaction states, accessibility, and design system alignment. `long-lived`
790
- pushes architecture analysis, failure modes, and deployment safety. Same
791
- planning power, fraction of the tokens: concerns are phase-scoped JSON, not
792
- monolithic prompts. Enforced by hooks, not hoped for by the agent.
793
-
794
- **noskills vs Superpowers:** Superpowers provides detailed execution playbooks —
795
- step-by-step instructions for brainstorming, dispatching, executing, and
796
- verifying. Each skill tells the agent exactly how to do the work, down to
797
- specific checklists and verification tables. The key difference: Superpowers
798
- defines the "how" exhaustively and hopes the agent follows all of it. noskills
799
- defines the "what" and "when" minimally — the agent gets only the current
800
- phase's constraints, and hooks enforce compliance. Superpowers is a detailed
801
- instruction manual. noskills is a state machine that won't let you skip
802
- chapters. You don't need the manual when the machine enforces the process.
803
-
804
- **noskills vs agent-skills:** agent-skills is a collection of 20 workflow
805
- patterns — anti-rationalization prompts, verification checklists, red flag
806
- detectors — designed to be loaded into agent context at the start of a session.
807
- The key difference: agent-skills loads everything upfront and trusts the agent
808
- to apply the right pattern at the right time. noskills delivers specific
809
- reminders at specific phases — you don't see the verification checklist during
810
- discovery, and you don't see the brainstorming prompt during execution.
811
- agent-skills is a reference book the agent carries everywhere. noskills is a
812
- guide that shows you only the page you need right now — and won't let you turn
813
- to the wrong one.
814
-
815
- ## The Mental Model
816
-
817
- ```
818
- .cursorrules -> .cursor/rules/*.mdc -> eser/rules + skills -> noskills
819
- (1 file) (modular, 1 tool) (portable, curated) (state-driven)
820
- ```
821
-
822
- Each generation solved one bottleneck and discovered the next:
823
-
824
- 1. `**.cursorrules**` — single file, single tool. Couldn't split, couldn't
825
- scale, couldn't travel across tools.
826
- 2. `**.cursor/rules/*.mdc**` — modular, but still locked to Cursor.
827
- 3. `**eser/rules` + `eser-rules-manager**` — created as a portable,
828
- tool-agnostic instruction system. This **predated** Anthropic's Skills spec.
829
- When Skills arrived, eser/rules was adapted into skills format — validating
830
- the ecosystem was heading where eser/rules had already gone.
831
- 4. **noskills** — Skills hit a wall: context rot as they accumulated, agents
832
- picking wrong skills, manual sync across tools. The pull model failed.
833
- noskills drops skills entirely — state-driven push replaces context-heavy
834
- pull.
835
-
836
- The `eser/rules` repository
837
- ([github.com/eser/rules](https://github.com/eser/rules)) is now archived. Its
838
- ideas live on in noskills, refined under
839
- [github.com/eser/stack](https://github.com/eser/stack).
840
-
841
- This is the **Software³** philosophy: build, discover limits, evolve, share.
842
- noskills will discover its own limits too — and when it does, the next step will
843
- emerge. If you want to discover those limits together, jump on board.
844
-
845
- The name mirrors the SQL -> NoSQL shift: skills define everything upfront,
846
- noskills determines what's needed at runtime.
847
-
848
- ### The Scrum analogy
849
-
850
- If you know Agile, you already know noskills:
851
-
852
- | Agile / Scrum | noskills |
853
- | ------------------ | --------------------------------------------- |
854
- | User Story | Spec |
855
- | Increment | Spec's deliverable |
856
- | Refinement meeting | Discovery (6 questions + concerns) |
857
- | Sprint Planning | Spec draft → approval (tasks defined) |
858
- | Sprint | Execution (runs until spec is done) |
859
- | Dev team | Sub-agents (executor, verifier, test-writer) |
860
- | Scrum Master | noskills (state machine, hooks, backpressure) |
861
- | Definition of Done | Acceptance criteria |
862
- | Sprint Review | AC status report + verifier validation |
863
- | Retrospective | Debt tracking + concern reminders |
864
- | Product Owner | You (every decision is yours) |
865
-
866
- One key difference: in Scrum, a sprint is time-boxed. In noskills, execution
867
- runs until the spec is complete — it is a single-story sprint. This is why
868
- mid-execution checkpoints make no sense: a Scrum Master does not stop a sprint
869
- halfway through the only story. If the story is too big, you split it _before_
870
- the sprint starts — not during. That is exactly what noskills does at REFINEMENT
871
- with the split proposal.
872
-
873
- ## Philosophy — A Scrum Master for Agents
874
-
875
- I used to teach Agile. In those trainings, I'd go all the way back to the Toyota
876
- Production System to explain why we do what we do.
877
-
878
- I'd talk about WIP limits — not as a process rule, but as acknowledgment that
879
- human attention is finite. I'd explain how story points emerged from the need to
880
- break work into pieces small enough for a single person's working memory. I'd
881
- walk through why we have daily standups (people lose track), why we have
882
- Definition of Done (everyone's "done" is different), why we have acceptance
883
- criteria (without them, work drifts from intent). I'd talk about cognitive load
884
- — how the brain starts dropping things when you pile on too much context.
885
-
886
- When I first encountered context rot in AI agents, it felt familiar. The agent
887
- starts strong, makes a great plan, then gradually loses the plot — forgets
888
- instructions, gets sloppy, declares things "done" that aren't. I'd seen this in
889
- humans. The practices we built around human limitations applied directly.
890
-
891
- When I saw Ralph loops, I got excited — they felt like sprints. Each iteration
892
- starts clean: fresh context, clear goal, defined scope. Just like a sprint
893
- protects the team from mid-sprint chaos, a Ralph loop protects the agent from
894
- context accumulation. But just as sprint quality depends on what goes INTO the
895
- sprint, loop quality depends on what context the agent receives.
896
-
897
- I'd also teach Jidoka — one of the pillars of the Toyota Production System.
898
- Jidoka means "automation with a human touch." The machine runs autonomously, but
899
- when it detects an anomaly, it stops and calls a human. The human doesn't watch
900
- every step — they intervene at the right moments. Production quality comes from
901
- human and machine working together, each doing what they're best at.
902
-
903
- noskills is Jidoka for AI coding. The agent runs autonomously through tasks, but
904
- at every phase transition — discovery, spec approval, blocked decisions — it
905
- stops and the human decides. The human doesn't watch every line of code. They
906
- intervene at the moments that matter: what to build, whether the plan is right,
907
- which tradeoffs to accept. The agent handles execution; the human handles
908
- judgment.
909
-
910
- That's why I stopped using skills and built a scrum master instead:
911
-
912
- - **Ralph loops are sprints** — fresh context, clear scope, no carryover rot.
913
- - **Discovery is sprint planning** — the same questions a good PM asks before
914
- work starts.
915
- - **Backpressure is Definition of Done** — "done" requires evidence, not
916
- declaration.
917
- - **Debt tracking is the sprint board** — unfinished items don't vanish, they
918
- carry forward with increasing urgency.
919
- - **Concerns are team values** — "we care about open source" shapes every
920
- decision, just like team values shape how a team works.
921
- - **Phase transitions are Jidoka stops** — the machine pauses, the human
922
- decides, then the machine continues.
923
- - **Explicit over clever** — noskills never makes decisions silently. It always
924
- asks.
925
-
926
- The insight isn't technical. It's that the practices we spent decades developing
927
- for human teams apply directly to AI agents — because the underlying problem is
928
- the same: finite attention, drifting focus, and the need for structure to keep
929
- work on track.
930
-
931
- ## Technical Reference
932
-
933
- State machine internals, JSON output format, hook implementation, CLI reference,
934
- directory structure, configuration, and library API — see
935
- **[README-HOW.md](./README-HOW.md)**.
936
-
937
- ## Upgrading from 4.x
938
-
939
- These changes since 4.5.2 need a change in code, commands or files that use this
940
- package. The [changelog](https://github.com/eser/stack/blob/main/CHANGELOG.md)
941
- lists the changes in every package.
942
-
943
- Run `noskills init` (or `eser noskills init`) once after upgrading. It rewrites
944
- the hook files, the generated rule files and the copies of the built-in concerns
945
- in `.eser/concerns/`, which several entries below depend on.
946
-
947
- - `noskills invoke-hook pre-tool-use` refuses a call with exit code 2 and writes
948
- `noskills: <reason>` to stderr. It used to exit 0 with JSON only; the JSON is
949
- still on stdout for Claude Code, Codex and Copilot CLI. A script that calls
950
- the hook treats 2 as a denial:
951
-
952
- ```bash
953
- noskills invoke-hook pre-tool-use < tool_call.json
954
- # Before: any non-zero exit meant the hook crashed
955
- # After: 0 allows the call, 2 refuses it, anything else is a failure
956
- ```
957
-
958
- - Kiro hooks moved from `.kiro/settings/hooks.json`, which Kiro does not read,
959
- to `.kiro/hooks/noskills.json` in Kiro's v1 format. `noskills init` writes the
960
- new file and removes noskills' `_noskills` entries from the old one, deleting
961
- it when nothing else is left. Kiro IDE 1.0 or CLI 3.0 is needed.
962
- - `.codex/hooks.json` uses Codex's event-to-matcher-group format. Codex no
963
- longer gets a post-ask-user-question hook and now gets a post-bash hook. Run
964
- `noskills init`, which also converts your own entries, then open `/hooks` in
965
- Codex and trust the noskills hooks:
966
-
967
- ```jsonc
968
- // Before: a list of entries
969
- {
970
- "hooks": [
971
- { "event": "PreToolUse", "command": "noskills invoke-hook pre-tool-use" }
972
- ]
973
- }
974
- // After: events map to matcher groups
975
- {
976
- "hooks": {
977
- "PreToolUse": [{
978
- "matcher": "^(Bash|apply_patch)$",
979
- "hooks": [{
980
- "type": "command",
981
- "command": "noskills invoke-hook pre-tool-use",
982
- "timeout": 30
983
- }]
984
- }]
985
- }
986
- }
987
- ```
988
-
989
- - `.github/hooks/noskills.json` uses Copilot CLI's camelCase event lists
990
- (`"preToolUse": [{ "type": "command", "matcher": "...", "command": "...", "timeoutSec": 30 }]`)
991
- instead of named objects such as `"noskills:preToolUse"` with a `command`
992
- array, which Copilot CLI rejected. `noskills init` drops the old keys.
993
- - The OpenCode plugin `.opencode/plugins/noskills.ts` exports `NoskillsPlugin`
994
- instead of `export default`, runs the stop hook on `session.idle` instead of
995
- `session.deleted`, and refuses a guarded tool call when the PreToolUse check
996
- times out, fails or cannot start. Run `noskills init`. If the noskills command
997
- can be missing on a machine, install it there, or remove the plugin file
998
- (`noskills purge` now removes it).
999
- - In agent mode, `noskills next` in DISCOVERY returns every unanswered base
1000
- question in `questions`, and `currentQuestion` is gone from the output and
1001
- from the `compiler.DiscoveryOutput` type. Send the answers as one JSON object
1002
- keyed by question id; plain text still answers the first open question. Run
1003
- `noskills init` (or sync) so the generated rule files state the new rule:
1004
-
1005
- ```bash
1006
- # Before: one call per question, read from currentQuestion
1007
- noskills spec checkout-flow next --answer="Orders are copied by hand"
1008
- # After: one call with every answer
1009
- noskills spec checkout-flow next --answer='{"status_quo":"Orders are copied by hand","ambition":"..."}'
1010
- ```
1011
-
1012
- - A JSON answer that holds only some base question ids records those answers; it
1013
- used to be stored, as a whole string, as the answer to the current question. A
1014
- JSON answer whose key is not a base question id, whose value is not a string,
1015
- or that holds no answer is refused with `{error}` and exit code 1. Key each
1016
- answer by `status_quo`, `ambition`, `reversibility`, `user_impact`,
1017
- `verification` or `scope_boundary`.
1018
- - Pending follow-ups now keep the base answers from completing discovery. `next`
1019
- hands them out one at a time, and settling the last one moves the spec to
1020
- DISCOVERY_REFINEMENT. `followup <id> --answer` and `--skip` on an id that is
1021
- not a pending follow-up fail with exit code 1 instead of reporting success.
1022
- Register follow-ups before you submit the base answers, then run the command
1023
- `next` gives for each one:
1024
-
1025
- ```bash
1026
- noskills spec checkout-flow followup status_quo "Which teams copy orders?"
1027
- noskills spec checkout-flow next --answer='{"status_quo":"...",...}'
1028
- noskills spec checkout-flow followup followup_id --answer="Support and sales"
1029
- ```
1030
-
1031
- - noskills no longer guesses where a reminder applies from words in its text
1032
- ("slop", "ui element", "api doc", "migration", "rollback" and others). A
1033
- custom concern that relied on those words now puts those reminders in every
1034
- spec's EXECUTING instruction, and nothing is file-specific without a `scope`.
1035
- Add the scope (`ui`, `api`, `data` or `migration`) to those reminders, and run
1036
- `noskills init` to rewrite the built-in concern copies in `.eser/concerns/`,
1037
- or beautiful-product's UI reminders reach every spec:
1038
-
1039
- ```jsonc
1040
- // Before
1041
- "reminders": ["Every UI element has an empty state"]
1042
- // After
1043
- "reminders": [
1044
- { "text": "Every UI element has an empty state", "scope": ["ui"] }
1045
- ]
1046
- ```
1047
-
1048
- - Built-in concerns changed where their content applies. Three beautiful-product
1049
- reminders (empty states, landing page rules, design rating rubric) and
1050
- qa-tested's Health Score Rubric now need a `ui` spec, and compliance's three
1051
- PII and data reminders a `data` spec. developer-experience DX Principle 1 and
1052
- documented's migration-guide reminder need `involvesMigration`. peer-reviewed
1053
- Suppressions, ship-ready CHANGELOG, deploy-ready Rollback plan and
1054
- production-ready Runbook moved from the per-edit hook into the EXECUTING
1055
- instruction. The sections compliance data-handling and retention-policy
1056
- (`data`), documented api-documentation (`api`) and long-lived
1057
- migration-deprecation (`migration`) stay hidden until the classification has
1058
- the flag. A spec already in flight shows the change when its classification is
1059
- next applied. Run `noskills init` to refresh the copies in `.eser/concerns/`.
1060
- - A concern file with an unknown or malformed `scope`, such as `"UI"` or a value
1061
- that is not a list, is refused: `persistence.listConcerns` skips it with a
1062
- stderr warning naming the file and entry, `concerns.loadConcerns` throws, and
1063
- `noskills pack install` of a remote pack stops. Before: `"scope": "UI"`.
1064
- After: `"scope": ["ui"]`, with values from `ui`, `api`, `data` and
1065
- `migration`.
1066
- - `noskills purge` moves what it removes into
1067
- `.eser/.state/purge-history/<entry_id>/` and keeps the 5 newest entries,
1068
- instead of deleting it. To remove the content from disk, pass `--no-history`,
1069
- and delete `.eser/.state/purge-history/` to drop copies from earlier purges.
1070
- Before: `noskills purge --force`. After:
1071
- `noskills purge --force --no-history`.
1072
- - `noskills purge` refuses arguments it does not know, with exit code 1; it used
1073
- to ignore them. Only `--force`, `--no-history`, the mode flags and the
1074
- `restore` subcommand are accepted. Drop any other argument.
1075
- - `noskills purge` exits with code 1 when a category could not be fully removed,
1076
- and names each path and the reason; it used to exit 0 and say nothing. A
1077
- script treats exit 1 as a partial purge and reads the output.
1078
- - Purge's `agent-integration` category takes more files: the agent files for
1079
- Codex, Copilot CLI, Kiro and OpenCode, Kiro's `noskills-*` steering files, the
1080
- `.kiro/specs/<spec>/` and `.opencode/skills/<spec>.md` copies of each spec,
1081
- noskills' section of AGENTS.md, and the noskills MCP server in
1082
- `.codex/config.toml`, `.copilot/mcp.json`, `.kiro/settings/mcp.json` and
1083
- `opencode.json`. A shared file left empty, such as a CLAUDE.md that only held
1084
- the noskills section, is deleted, and so is a folder purge leaves empty. To
1085
- get a file back, run
1086
- `noskills purge restore latest manifest agent-integration`.
1087
- - The PreToolUse hook refuses agent edits and Bash commands that change the
1088
- `noskills` section of `.eser/manifest.yml`, leave the manifest unparseable,
1089
- write under `.eser/.state/bin/`, or move or remove `.eser` or `.eser/.state`
1090
- as a whole (`rm -rf .eser/.state`, `mv .eser x`), in every phase and session
1091
- mode. Change that section yourself, run `noskills concern add` or
1092
- `concern remove`, and use `noskills purge` for cleanup.
1093
- - With `allowGit` false, agent sessions (Claude Code through the SessionStart
1094
- hook, and `noskills run`) refuse at exec time every git write to the project's
1095
- repository and every push from any repository. That includes writes started by
1096
- tools, such as `gh pr create`, `npm version` or lint-staged. A git command
1097
- whose first argument is a global option the guard does not know (such as
1098
- `--list-cmds=...`) is refused too. Set `allowGit: true` in
1099
- `.eser/manifest.yml`, or run those commands outside the agent session.
1100
- - `allowGit` counts as on only when it is the boolean `true`, in the hooks,
1101
- `noskills run` and `noskills sync`. Before: `allowGit: "yes"` turned the guard
1102
- off. After: write `allowGit: true`.
1103
- - The git wrapper refuses a command when the noskills check does not answer
1104
- within 30 seconds; it used to wait with no limit. If the check is slow because
1105
- `command` is `npx eser@latest noskills`, set `command` in `.eser/manifest.yml`
1106
- to an installed noskills, such as `eser noskills`.
1107
- - `noskills run` commits whenever `autoCommit: true` is set, also when
1108
- `allowGit` is false. Its commits include untracked files, run at the project
1109
- root and use the message `noskills: iteration N: <progress>`. Set
1110
- `autoCommit: false` (or remove it) to keep the loop from committing.
1111
- - Generated `.cursorrules`, `.windsurfrules` and
1112
- `.github/copilot-instructions.md` use `<prefix> spec <name> next` forms. Run
1113
- sync again instead of editing the generated files.
1114
- - `noskills next` JSON no longer has `behavioral.urgency` or
1115
- `restartInstruction`, and the TypeScript types `compiler.BehavioralBlock` and
1116
- `compiler.ExecutionOutput` lost the fields. Read `restartRecommended` on the
1117
- EXECUTING output and show your own notice. `behavioral.modeOverride` for
1118
- DISCOVERY, DISCOVERY_REFINEMENT and SPEC_PROPOSAL is "plan mode", and the
1119
- read-only rule appears once in `behavioral.rules`.
14
+ `npx noskills <command>` works too, and is what the hooks noskills writes into
15
+ a repository call.
1120
16
 
1121
- ## License
17
+ The command is the Go build of noskills ([cmd/noskills](../../../cmd/noskills)).
18
+ This package holds only a launcher: it runs the binary of the optional
19
+ dependency `@eserstack/noskills-<platform>` that npm installs for this machine,
20
+ for macOS (ARM64 and x64), Linux (ARM64 and x64) and Windows x64. The binary
21
+ hands `watch`, `manager` and `web`, which are not ported to Go yet, to the
22
+ TypeScript CLI of `@eserstack/noskills`, which this package depends on at its
23
+ own version.
1122
24
 
1123
- Apache-2.0
25
+ Without npm, install the same binary with
26
+ `curl -fsSL https://raw.githubusercontent.com/eser/stack/main/etc/scripts/install.sh | sh -s noskills`,
27
+ `brew install eser/tap/noskills` or
28
+ `nix profile install github:eser/stack#noskills`; on Windows use
29
+ `install.ps1 -Product noskills`.
1124
30
 
1125
31
  ## 🔗 Links
1126
32
 
1127
- - [README-HOW.md](./README-HOW.md): the state machine, JSON output, hooks, CLI
1128
- reference and library API
1129
- - [`@eserstack/noskills-web`](https://github.com/eser/stack/tree/main/pkg/@eserstack/noskills-web):
1130
- the web dashboard for noskills specs and agent tabs
1131
- - [`@eserstack/agents`](https://github.com/eser/stack/tree/main/pkg/@eserstack/agents):
1132
- coding-agent discovery and the read-only git guard the hooks use
1133
- - [npm package](https://www.npmjs.com/package/@eserstack/noskills)
33
+ - [@eserstack/noskills](../noskills/README.md): the workflow, the commands and
34
+ the TypeScript modules
35
+ - [cmd/noskills](../../../cmd/noskills/README.md): the Go noskills CLI
1134
36
  - [eser/stack on GitHub](https://github.com/eser/stack)