Skip to content
Skills Library
AI & agents · Automation

learn

/learn

Use when you notice something durable and evidenced while working an octomux loop/scheduled task — a fix, a gotcha, a convention you had to discover the hard way — and want to save it via `octomux learn` for future runs.

Repository
octomux ↗
Licence
MIT
Last repository change
27.08.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when you notice something durable and evidenced while working an octomux loop/scheduled task — a fix, a gotcha, a convention you had to discover the hard way — and want to save it via `octomux learn` for future runs.

Original author description

Use when you notice something durable and evidenced while working an octomux loop/scheduled task — a fix, a gotcha, a convention you had to discover the hard way — and want to save it via `octomux learn` for future runs.

How it works

  1. When to use
  2. The schema
  3. The bar: save the why, not just the what
  4. Shared vs private
  5. When a prior learning is now false: unlearn, don't pile up
  6. See also
Original SKILL.md headings · 73 lines, 550 words
SKILL.md preview
---
name: learn
description: Use when you notice something durable and evidenced while working an octomux loop/scheduled task — a fix, a gotcha, a convention you had to discover the hard way — and want to save it via `octomux learn` for future runs.
---

# Record a learning

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.

## When to use

- You just fixed something that wasn't obvious from the code alone (a flaky mock, a required
  env var, a gotcha in a build step, a convention you only found by trial and error).
- You're about to end your turn and you have context (your _reasoning_, not just the outcome)
  that the transcript will not carry forward — the next fresh-context iteration only sees the
  prompt, not your chain of thought.

## The schema

```bash
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 bar: save the _why_, not just the _what_

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):

- "When `bun test` hangs on `launch.test.ts`, the fs mock needs `default: mocked` — server/task-engine/setup"
- "The hedging retry lives in server/retry.ts; jitter was missing and caused thundering-herd retries under load — server/retry.ts:42"

**Bad** (vague, no evidence, not a lesson):

- "remember to run tests"
- "fixed a bug"

If your lesson could apply to any repo, or has no file/command/error backing it, don't save it.

## Shared vs private

- **Shared (default)** — repo-general facts any task in this repo benefits from: conventions,
  recurring gotchas, how a shared test helper works.
- **`--private`** — job-specific quirks that only matter to this particular scheduled job or
  loop (e.g. "this task's fixture data assumes UTC").

## When a prior learning is now false: `unlearn`, don't pile up

`learn` 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:

```bash
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.

## See also

- `recall` skill — pull past learnings before assuming you're the first to hit something.

Versions

RepositoryScoreLicence
This page · shreypaharia/octomux100MIT
lucamartins/ouroboros100MIT
boykush/scraps100MIT
nicsuzor/academicops100MIT
cookys/autopilot100MIT
joelhooks/PAROL6100MIT
tw93/Waza100MIT
fainir/agent-harness100MIT
amit429/understanding-map100MIT

Database snapshot: 13.11.2026 · package version 07debec1efb5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100create-task
    Use when creating an octomux task to dispatch autonomous Claude Code agents for building features, fixing bugs, or any code changes
  • 100create-pr
    Use when creating a pull request, opening a PR, or pushing and creating a PR for an octomux task
  • 100pattern-learn
    Use when the user wants to extract a reusable pattern from recent work and store it for future use. "Save this as a pattern", "remember this approach", "learn from this commit".
  • 100squads-learn
    Capture learnings after completing work. Use when finishing a task, fixing a bug, discovering a pattern, or learning something worth remembering for future sessions. Helps build institutional memory.
  • 100learn-my-style
    Learn how the user likes replies by mining their past Claude Code chats for repeated follow-up asks ("make it shorter", "where's the file?", "what's the next step?"), then write those as standing reply rules into ~/.claude/CLAUDE.md so every future session follows them. Use for…
  • 90personal-memory
    Use this skill whenever how the user personally likes to work is relevant — their response style, formatting preferences, editor and tooling choices, workflow habits, or anything they have told you about themselves. Also use it the moment you learn a durable preference, when the…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.