agentleFS
myths-labsmyths-labs/muse/skills/core/muse-commands/SKILL.md

muse-commands

Skill35 starsChanged 8 months agoMITView on GitHub

Run MUSE /resume, /save and /bye for continuous work in Codex or Claude Code, preserving the selected role, Lane, decisions and source evidence across sessions.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read only the workflow needed for the current action.

    line 8
  2. Distinctive:

    Keep the same Lane by default.

    line 22
  3. Very specific:

    Use bash .agent/skills/muse-commands/scripts/muse-doctor.sh as the helper prefix.

    line 30
  4. Distinctive:

    Use helpers to update state.

    line 46
  5. Distinctive:

    Before writing, verify the expected hash, native writer and current workspace.

    line 47
  6. Very specific:

    Read references/DAILY_V1.md for save/claim fields and references/ONBOARDING_V1.md for reviewed initialization and legacy adoption.

    line 51
  7. Very specific:

    Read references/SOURCES_V1.md for native source import/review and references/CLOSEOUT_V1.md before formal closeout.

    line 53
  8. Very specific:

    Use the installed doctor for configuration/files preflight, not as a QA verdict.

    line 69
  9. Very specific:

    Before a large save or after TOO_LARGE, follow checkpoint capacity and evidence storage.

    line 71
  10. Distinctive:

    Keep detailed evidence outside the checkpoint and preserve the guarded save limits.

    line 73

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MUSE continuity commands

Read only the workflow needed for the current action. The installed shared runtime is .agent/skills/muse-commands, its workflows are .agent/workflows, and project configuration is .muse/config.json. Paths in this guide are relative to the installed project; use the absolute resolved script path when the shell cwd differs.

User interaction

The user may say continue, /resume strategy Lane A, /save, or /bye. The agent derives the goal, acceptance checks, constraints and next action from the request, shared role record and relevant checkpoint. Do not require the user to fill a goal/acceptance/constraints form. Do not change role based on cwd, provider or project. A project may have Strategy implement work directly; respect its policy. Do not introduce a Strategy-to-Build handoff unless actually requested.

Keep the same Lane by default. Use a new logical Lane only when independent scope or continuation warrants it within user authorization; changing provider or reaching a context threshold does not create one. A new app task is separate and requires user intent. Do not silently reopen a CLOSED Lane; first read its explicit reopen conditions. A missing checkpoint does not prove an old task is new.

Dispatch

Use bash .agent/skills/muse-commands/scripts/muse-doctor.sh as the helper prefix. It never calls a model or executes product tasks by itself.

  1. On /resume, run parse-resume '<exact command>' '<workspace>' and lock the returned role_home/role/Lane. Run resume-workflow --command '<exact command>' --workspace '<workspace>', then read only the returned daily or legacy workflow.
  2. On ordinary save, read .agent/workflows/save.md; use save-daily, not full Bye.
  3. On explicit Bye, select bye-workflow --command '<locked resume>' --workspace '<workspace>' and follow that workflow. A valid unchanged closeout receipt can be checked; changed requirements/evidence or failing gates must be addressed.
  4. Other commands use resolve /<command> '<workspace>' and the returned workflow.

State and identity

memory/lanes/<role>-lane-<name>.md under the configured role home is canonical. Schema1 is retained. The provider/session is a writer identity, not the role. Use helpers to update state; do not hand-rewrite checkpoints or bypass markers. Before writing, verify the expected hash, native writer and current workspace. New writers review and explicitly claim/adopt; old writers are rejected. Do not reuse another session ID, fabricate a native ID, or clear environment guards.

Read references/DAILY_V1.md for save/claim fields and references/ONBOARDING_V1.md for reviewed initialization and legacy adoption. Read references/SOURCES_V1.md for native source import/review and references/CLOSEOUT_V1.md before formal closeout.

Context and evidence

Save meaningful deltas and at least every ten interaction rounds if there are unsaved changes. At observed 80% pressure, save, compact if available, verify the current Lane and continue. If occupancy is unavailable, say UNKNOWN; cumulative tokens and model specifications do not establish current occupancy. After compaction, load the checkpoint and necessary evidence rather than full Boot.

Source coverage is not guaranteed. Missing native messages remain unknown; a partial source note does not prove complete transcript coverage. A hook exit0, hash, successful save or successful compilation is not product QA. Verify the actual user flows relevant to the changed scope before claiming completion.

Use the installed doctor for configuration/files preflight, not as a QA verdict.

Before a large save or after TOO_LARGE, follow checkpoint capacity and evidence storage. Keep detailed evidence outside the checkpoint and preserve the guarded save limits.

For interpreter or optional image-decoder failures, follow runtime dependency preflight. Check the actual selected interpreter, then rerun the affected workflow. Ordinary MUSE continuity does not require Pillow; preflight PASS is not workflow acceptance.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.