nt-learn
/nt-learn
Harvest this session's durable learnings into the user's nt store — lessons, rules, core memory, notes, and follow-up tasks. Use when the user asks to save what was learned, record lessons or mistakes from this session, remember something for future sessions, or when they type /nt-learn. Proposes every item and waits for approval; never writes silently.
- Author
- navbytes ↗
- Repository
- nt ↗
- Licence
- MIT
- Last repository change
- 21.09.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 21.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Harvest this session's durable learnings into the user's nt store — lessons, rules, core memory, notes, and follow-up tasks. Use when the user asks to save what was learned, record lessons or mistakes from this session, remember something for future sessions, or when they type /nt-learn. Proposes every item and waits for approval; never writes silently.
Triggers from the description
Original author description
Harvest this session's durable learnings into the user's nt store — lessons, rules, core memory, notes, and follow-up tasks. Use when the user asks to save what was learned, record lessons or mistakes from this session, remember something for future sessions, or when they type /nt-learn. Proposes every item and waits for approval; never writes silently.
How it works
- 1. Extract candidates
- 2. Dedup before proposing
- 3. Present for approval — do not write yet
- 4. Write the approved items
SKILL.md preview
---
name: nt-learn
description: Harvest this session's durable learnings into the user's nt store — lessons, rules, core memory, notes, and follow-up tasks. Use when the user asks to save what was learned, record lessons or mistakes from this session, remember something for future sessions, or when they type /nt-learn. Proposes every item and waits for approval; never writes silently.
---
Review this session and harvest what should outlive it into nt — the durable
memory store. Optional focus: "$ARGUMENTS" (if non-empty, only propose items
related to it).
## 1. Extract candidates
Go back over the whole conversation and collect candidates in these buckets:
- **lesson** — a mistake/footgun/dead-end actually hit (a failed approach, a
wrong assumption, a command that broke something).
- **rule** — a stable directive the user stated or corrected you toward
("always X", "never Y", style/process).
- **memory-core** — a small durable fact about the user or project (preferences,
conventions, environment quirks) every future session should know.
- **note** — a decision, finding, or constraint worth reading back later.
- **task** — concrete unfinished follow-up work.
Then **skip** anything re-discoverable by rereading the code/docs, one-off state,
or raw data/log dumps — memory is for what you *couldn't* re-derive, not a
transcript.
Be **stingy** with `rule` and `memory-core` — they're injected into every future
session and cost tokens forever; propose them only on clear evidence they're
durable and always-relevant. Be **generous** with lessons and notes — free until
retrieved. If the session produced nothing worth saving, say so and stop; don't
invent learnings.
## 2. Dedup before proposing
For each candidate, check it isn't already recorded (`nt_recall` the gist,
`nt_search` its key terms). Drop duplicates. If an existing note covers the same
ground but is outdated, propose an **update**/**supersede** of it (by id) instead.
## 3. Present for approval — do not write yet
Show a numbered list. Per item: bucket, proposed **title**, one-line
**description** (lessons in trigger-form "when X, do Y — not Z"), a
**`--project` or topical `--tag`** (never omit it — the structural
`lesson`/`rule` tag is stripped before the duplicate check, so a note carrying
only that one silently bypasses the guard and duplicates an existing lesson),
and target folder+tag (`lessons/`+`lesson`, `rules/`+`rule`,
`memory/`+`memory-core`, `decisions/`/`ref/` for notes). Flag `rule`/`memory-core` items ⚠
*always-in-context — costs tokens on every future request*. (The reverse pass —
pruning rules that stopped earning that cost — is `/nt-distill rules`.) Then ask which
to save (all, numbers, edits, or none) and **wait**. Save nothing without
approval.
## 4. Write the approved items
- Notes/rules/memory/lessons → `nt_note` (title, `description`, `body`;
`kind:"lesson"|"rule"|"decision"|"ref"|"memory"` applies the canonical
tag+folder). Set `source:"claude"`, and pass **`if_exists:"return"`** — on
`matched:true` the topic's canonical note already exists: update it via
`nt_note_edit` (with the returned `expect_mtime`), and if the update reverses
a conclusion, record why with `nt_decide`. Give volatile facts a
`half_life` (e.g. `"90d"`) so they fade instead of going stale. Apply the
user's edits.
- Tasks → `nt_add` (verb-first title ≤ ~60 chars, detail in `body`, link via
`discovered_from`).
- If `nt_note`'s response has a `similar` list, check whether you doubled a note;
if so, consolidate — extend the original (`nt_note_edit` append or
`old_string`+`new_string`; CLI `nt edit --append`) or retire the duplicate
(`nt_archive superseded_by=<kept id>`).
- Finish with a short receipt: each saved item's id and where it went.
If the `nt_*` tools are unavailable, fall back to the `nt` CLI over bash (`nt
note …`, `nt add …`, `nt recall …`; multi-line/backtick bodies via `--body-file
-`); if that's missing too, tell the user to run `nt mcp install` and stop.
Versions
The database has no other skills named nt-learn.
Database snapshot: 13.11.2026 · package version eef136a5a696 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100learn
Capture session learnings and decisions to .suiperpower/learnings.md. Use when the user wants to save what they learned, log decisions, or wrap up a session. - 100learn
Extract key learnings from the current chat thread and save them to docs/learnings.md. Use this skill when the user types "/learn" or asks to save learnings from the conversation. - 100nt-distill
Consolidate the user's nt store — merge near-duplicate notes and prune the always-loaded rules/memory block, human-gated. Use when the user asks to clean up, compact, distill, dedupe, or tidy their notes/lessons/memory, when they want to trim what nt injects into every session… - 100reflect
Surface the durable lessons from a session before they fade, each with the place it would be saved. What surprised you, what friction repeated, which host or project instructions should change, and what belongs in memory, project notes, or a tooling ticket. Proposes; the user… - 90memory-discipline
Use when recording lessons learned in a project, or when a project contains lessons/ or MEMORY.md — file-based memory format and read/write rules that measurably improve long-horizon performance. - 90reflect
Harvest shareable learnings from this session and post the ones worth sharing to Crew. Use when the user asks to reflect, post learnings, harvest the session, or record what was learned.