/octomux:learnfrom octomux
Saves durable, evidenced lessons via `octomux learn` for future runs on a repo or scheduled task. Use when you discover a fix, gotcha, or convention that should persist across context resets.
Ships in octomux. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Save a durable, evidenced lesson for future runs on this repo/task via the octomux learn CLI.
There is no per-add human gate — what you write here goes straight into the pool that gets
seeded into future prompts, so the bar is on you.
octomux learn --trigger "<when this applies>" --lesson "<the durable fact or action>" \
--evidence "<file / command / error that proves it>" [--private]
--trigger — the situation this applies to (so a future run knows when to recall it).--lesson — the durable fact or action itself. State it as something actionable, not a vague
reminder.--evidence — the file path, command, or error text that backs it up. No evidence, no
save — if you can't point at something concrete, it isn't a learning yet, it's a guess.--private — use for a quirk specific to this job (a one-off env, a task-specific
workaround). Omit it (shared, repo-general) for anything a different task in this repo would
also benefit from.The transcript is gone once your context resets. The lesson is your only chance to hand your reasoning forward — write it like you're leaving a note for an agent with none of your context.
Good (durable, evidenced, actionable):
bun test hangs on launch.test.ts, the fs mock needs default: mocked — server/task-engine/setup"Bad (vague, no evidence, not a lesson):
If your lesson could apply to any repo, or has no file/command/error backing it, don't save it.
--private — job-specific quirks that only matter to this particular scheduled job or
loop (e.g. "this task's fixture data assumes UTC").unlearn, don't pile uplearn is add-only — it never edits or removes an existing row. If a seeded note (you'll see it
prefixed [<id>] in your prompt, or in recall output) turns out to be wrong or stale, retire it
instead of leaving a contradicting note sitting next to it:
octomux unlearn <id> --reason "<why it's no longer true>"
This is a soft, reversible supersede (the row stays, just filtered out of future reads/seeding) —
not a delete. "Updating" a learning is unlearn the old one + learn the new one, never an
in-place edit. Hard deletion (octomux learn-forget <id>) stays a human/digest-side action.
recall skill — pull past learnings before assuming you're the first to hit something.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub shreypaharia/octomux --plugin octomux20 skills in this plugin
/add-agentUse when you need to attach a new Claude Code agent (new tmux window) to an existing running octomux task, sharing the task's worktree and cwd/add-pluginUse when installing, disabling, enabling, or troubleshooting a third-party octomux plugin — the manifest row shape, octomux plugins list/disable/enable, reading octomux doctor output, and recovering a broken boot with --safe-mode./configure-harnessUse when configuring which coding-agent harness octomux launches — per-task --model, harness selection, settings.harnesses.<id>, resolveFlags/validateSettings, and registering an additional harness via a plugin.Other plugins' skills for the same job