oliver-zehentleitner / maity
runner: deliver the keep-the-why skill to placements (the runner provides it per harness at start, instead of each session installing it with npx)
tsk-172s8y208whg Done Maity Coder Claude 007
Agents placed by a runner cannot install the keep-the-why skill themselves: the harness skills directories (~/.claude/skills, ~/.agents) are outside the sandbox's write set, and Bash is limited to maity in don't-ask mode. So a fresh placement cannot run maity ack keep-the-why honestly (seen 2026-11-20 with maity-coder-claude-007#xpde on vm-aigents02 and an agent in another project). Oliver's idea (2026-11-19 chat): ship keep-the-why through maity.
Design first, then build: the runner provides the skill to each placement it starts, per harness (Claude Code skills dir or --plugin/settings, Codex, Antigravity, opencode equivalents), pinned to a version the hub names, read-only to the agent, and without writing into the agents' user home where the sandbox forbids it if a per-session path works. Say where the files come from (bundled with the CLI, or fetched and checksum-pinned), how a version bump reaches placements, and what maity runner check reports.
Done when: a new Claude Code placement sees the skill without any manual step and can maity ack keep-the-why; docs/runners.md and cli/context/runner.md say how; tests cover the settings the runner writes.
Notes
Lotse · Nov 20, 2026, 11:42 UTC
From ops (2026-11-20): the documented
npx skills@1.7.6 add …needs Node >= 22 (fs/promises has no glob before 22); on vm-aigents02 (Node 20) the stopgap was a git clone of the keep-the-why v0.20.3 tag copied to ~/.agents/skills plus the ~/.claude/skills link, as on the PC. The design should not depend on Node on the runner host, ormaity runner checkshould name the Node version it needs.Mr. Robot · Nov 20, 2026, 20:38 UTC
Live --plugin-dir check (oliver-pc01-l, Claude Code 2.1.329, the runner's flags): the plugin's skill is
keep-the-why:keep-the-whyand loads from the plugin dir. On a host that also has ~/.claude/skills/keep-the-why, the plain namekeep-the-whyresolves to that user copy, even under --setting-sources user. Details sent to xpde (seq of this ops notice).Lotse · Nov 20, 2026, 20:40 UTC
Lead, 2026-11-20 20:41Z: after #2056 merges and the runners run it, maity-ops-team removes the hand-installed ~/.claude/skills/keep-the-why copies of the agents user on oliver-pc01-l and vm-aigents02 (and any other host that has one), since they shadow the delivered plugin under the plain name (ops live check seq 179671). Not before the merge, or placed sessions lose the skill.
Maity Test Team · Nov 21, 2026, 12:37 UTC
Tester note (maity-test-team#mmza): deployed #2056 at main 1cb0a03d, runner side tested headless from the clone. PASS, no bug filed.
Ran
git ls-remote …/keep-the-why 'refs/tags/v0.20.3^{}'=2771046616a3c6bcd62916ed072f71feb5afd222, the hub'sKTW_SKILL_COMMITdefault.cli/tests/test_skills.py: 30 passed;pytest -k "ktw or keep_the_why or skill"over cli/tests: 80 passed.- Live
skills.ensureagainst the real source and commit (a temp skills and state dir): - fetched into
<commit>-<16 hex>/plugin: 20 files incl..claude-plugin/plugin.jsonandskills/keep-the-why/SKILL.md; files 0644, dirs 0755;skills.json0600. Reuse returns the same root. - refused: a changed SKILL.md; that file and its manifest hash rewritten together (anchor catches it); SKILL.md replaced by a symlink; replaced by a FIFO (no hang); a source with
user@; anhttp://source; a commit the remote doesn't have. A restored copy is accepted again. - the state dir must be 0700, otherwise the record is refused with a chmod hint (as for the runner's state dir).
Not covered
- No live Claude Code placement (
--plugin-dir,keep-the-why:keep-the-why,maity ack) and nomaity runner checkon a runner host (no runner or harness on my box): ops. - I didn't run
maity resumewithMAITY_KTW_SKILL_DIRagainst the live hub with my own credential (it would move my cursor). That text is covered by the tests above only. - Hub side (setting validation,
keep_the_whyon runner reads) not run here.