Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .claude/skills/nt-learn/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ ground but is outdated, propose an **update**/**supersede** of it (by id) instea
## 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"), and target
folder+tag (`lessons/`+`lesson`, `rules/`+`rule`, `memory/`+`memory-core`,
`decisions/`/`ref/` for notes). Flag `rule`/`memory-core` items ⚠
**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
Expand Down
11 changes: 10 additions & 1 deletion .claude/skills/nt/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,19 @@ When you hit a mistake, footgun, or dead-end, capture it as a **lesson** so the
next session recalls it — put the trigger in the description ("when X, do Y — not Z"):

```bash
nt note "single-flight the refresh; parallel calls double-spend" --lesson --source claude
nt note "single-flight the refresh; parallel calls double-spend" --lesson \
--project tripto --source claude # ALWAYS a --project or --tag; see below
nt recall --lessons-only # bare: list every recorded lesson
```

**Always give a lesson a `--project` or a topical `--tag`.** This is not
housekeeping — it is what keeps the duplicate guard alive. `--lesson` applies
only the *structural* `lesson` tag, which the near-duplicate check strips before
comparing; with nothing else on the note its tag set is empty, the check can
never fire, and nt will silently accept a near-copy of a lesson you already
have. A store captured without topical tags fragments into many one-line notes
saying the same thing, and neither `nt note` nor `nt distill` will tell you.

**Precision note:** recall returns the top-8 results by default (top-N, no hard
precision guarantee). A very unrelated query can still return results that look
confident — always check the **tier** before trusting a hit. There is an internal
Expand Down
Loading