Edit and reload Monchu's own extensions, skills, and instructions; ask the user before restarting for host changes.
Install
npx skillscat add jorgeavaldez/monchu/monchu Install via the SkillsCat registry.
SKILL.md
Changing Monchu
- Work in a separate jj workspace when changing Monchu source. Never edit a sibling lane or mutate history without authorization.
- Run
mise run checkandmise run buildin that workspace before shipping. Do not claim workspace edits are live:reload_extensionsreads the code Monchu runs, not the tool's cwd. - Find what runs: the
monchucommand is either an installed release or a checkout linked withnpm link(npm ls -g monchushows a link as-> <checkout>; a source run is a checkout too).- Release: changes go live only through a new release (pushed to the branch that builds it). The user quits, runs
monchu update, and starts again; never runnpm install -gormonchu updatewhile Monchu runs. - Linked or source checkout: that checkout is the running checkout. Apply approved changes there; never run
npm ciormise run installin it while Monchu runs (dependency changes need a quit first).
- Release: changes go live only through a new release (pushed to the branch that builds it). The user quits, runs
- Once approved source changes are in the running checkout, call
reload_extensionsto reload extensions and home/bundled skills without a restart; it builds first when sources are newer than the build. Read skills on demand; preserve the user's edits. - Home files are read on every request; their edits need no reload.
- A reload covers the extensions, each root's front (
front.ts), everything undersrc/core/they import, and the wire'ssrc/server/session.ts. The backend (backend.ts,reload.ts, models, MCP clients),src/api/and dependency changes require a restart. - For host changes, call
request_restartwith a concise reason and ask the user to use/restart. The tool only records a request. Never execute a restart yourself or treat your own request as approval. - Reload failures leave installed definitions and settings unchanged. Report the error and stop rather than claiming the new code is running.