Skip to content
Skills Library
AI & agents · Automation

memory-ingest

/memory-ingest

Distill this session's durable knowledge into the file-based LLM Wiki memory (the `~/.claude/.../memory/` bundle). Invoke at end-of-session, when the PreCompact hook fires (if wired), or whenever the user says "remember this" / "기억해둬" / "메모리에 남겨". Captures user corrections + confirmed approaches (feedback), root-cause findings / non-obvious fixes (debugging), ongoing goals/constraints not derivable from code (project), and external-resource pointers (reference) — one concept per file, deduped against existing pages, with the MEMORY.md index + log.md updated. Replaces the retired MemPalace inge

Repository
aiwatch ↗
Licence
AGPL-3.0
Last repository change
27.10.2026

Assessment and security

90/ 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.
Content25 / 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.10.2026, without references to retired models or APIs.

Licence

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

What it does and when to use it

Distill this session's durable knowledge into the file-based LLM Wiki memory (the `~/.claude/.../memory/` bundle). Invoke at end-of-session, when the PreCompact hook fires (if wired), or whenever the user says "remember this" / "기억해둬" / "메모리에 남겨". Captures user corrections + confirmed approaches (feedback), root-cause findings / non-obvious fixes (debugging), ongoing goals/constraints not derivable from code (project), and external-resource pointers (reference) — one concept per file, deduped against existing pages, with the MEMORY.md index + log.md updated. Replaces the retired MemPalace inge

Triggers from the description

remember this기억해둬메모리에 남겨
Original author description

Distill this session's durable knowledge into the file-based LLM Wiki memory (the `~/.claude/.../memory/` bundle). Invoke at end-of-session, when the PreCompact hook fires (if wired), or whenever the user says "remember this" / "기억해둬" / "메모리에 남겨". Captures user corrections + confirmed approaches (feedback), root-cause findings / non-obvious fixes (debugging), ongoing goals/constraints not derivable from code (project), and external-resource pointers (reference) — one concept per file, deduped against existing pages, with the MEMORY.md index + log.md updated. Replaces the retired MemPalace inge

How it works

  1. When to run
  2. What NOT to ingest
  3. Procedure
  4. Relationship
Original SKILL.md headings · 39 lines, 416 words
SKILL.md preview
---
name: memory-ingest
description: >-
  Distill this session's durable knowledge into the file-based LLM Wiki memory (the `~/.claude/.../memory/`
  bundle). Invoke at end-of-session, when the PreCompact hook fires (if wired), or whenever the user says "remember this"
  / "기억해둬" / "메모리에 남겨". Captures user corrections + confirmed approaches (feedback), root-cause
  findings / non-obvious fixes (debugging), ongoing goals/constraints not derivable from code (project), and
  external-resource pointers (reference) — one concept per file, deduped against existing pages, with the
  MEMORY.md index + log.md updated. Replaces the retired MemPalace ingest (#891).
---

# memory-ingest — write durable knowledge into the LLM Wiki

The file memory (a clone of the private `aiwatch-wiki` repo; `docs/reference/decision-graph.md` says where) is the single
persistent memory (MemPalace retired, #891). This skill is the **ingest** operation of the LLM-Wiki pattern.

## When to run
- End of a substantive session, or when the `PreCompact` hook fires (if wired in `.claude/settings.local.json`).
- User says "기억해둬" / "remember this" / "메모리에 남겨".
- A durable fact emerged: a user correction, a non-obvious root cause, a project constraint, a useful external pointer.

## What NOT to ingest
- Ephemeral task state, TODOs, "what I'm about to do next".
- Anything the repo already records: code structure, past fixes, git history, CLAUDE.md content. If asked to
  remember one of those, ask what was **non-obvious** about it and store that instead.

## Procedure
1. **Scan** the conversation for durable items matching one `type`:
   - `feedback` — user correction / confirmed approach. Body MUST carry **Why:** and **How to apply:** lines.
   - `debugging` — root-cause finding / non-obvious fix.
   - `project` — ongoing work / goal / constraint not derivable from code (convert relative dates to absolute).
   - `reference` — pointer to an external resource (URL, dashboard, ticket).
2. **Dedup first**: `grep` MEMORY.md + the memory dir for an existing page on the same topic. If one exists,
   **update it** (merge the new nuance, preserve the original **Why**) rather than creating a near-duplicate.
   Redundant feedback clusters should be merged, not multiplied (see #891 Phase 1).
3. **Write** the page: `memory/<type>_<kebab-slug>.md` with frontmatter `name` / `description` / `type`
   (+ optional `title`/`tags`). Link related pages with `[[type_slug]]` — the **filename stem** (e.g.
   `[[feedback_local_verify]]` → `feedback_local_verify.md`), NOT the bare frontmatter `name`. A not-yet-existing `[[link]]` is fine.
   - **Quote any `description`/`title` containing a bare `#`** (e.g. `#N`) — unquoted YAML treats `#` as a
     comment and truncates the value.
   - The harness normalizes frontmatter on write (relocates `type`/`title`/`tags` under `metadata:`) — expected, don't fight it.
4. **Index**: add one line to `MEMORY.md` under the right section (`- [Title](file.md) — hook`). Never put memory
   content in MEMORY.md — one line per page.
5. **Log**: append one line to `memory/log.md` — `YYYY-MM-DD ingest: <slug> (<why in a few words>)`.
6. If a stored fact turned out wrong, delete the page (and its index line) instead of leaving it.

## Relationship
Complements `memory-lint` (periodic health check). The **query** side (load index → relevant pages) is native session-start auto-load, optionally nudged by a `SessionStart` hook if wired in `settings.local.json`.

Versions

RepositoryScoreLicence
This page · bentleypark/aiwatch90AGPL-3.0
bentleypark/aiwatch81AGPL-3.0

Database snapshot: 13.11.2026 · package version dd1cdbbf12e8 (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

  • 86wiki-ingest
    把 agent 会话里的知识摄入 Meiqiu 知识库(个人 LLM Wiki)。当用户要求把会话摄入知识库、提炼知识到 wiki 时使用。
  • 100knowledge-base-quickref
    AUTO-INVOKE when user mentions knowledge base, wiki, KB, semantic memory, llm-wiki, knowledge ingest, document corpus. Knowledge-base framework quick reference — discovery phrases for KB ingest/health, semantic-memory kernel skills, llm-wiki profiles.
  • 95ai-memory-durable-pages
    Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded project knowledge, recording a rule or annotation, updating a note, or deleting a memory page. Trigger by semantic intent rather than exact wording; routine session capture is not a durable-page request.
  • 100distill
    Knowledge distillation: candidate extraction, confidence scoring, tier routing. Invoked by /learn and the memory-ingest Stop hook, not loaded proactively by agents. TRIGGER when: /learn or the Stop hook asks to distill, or scoring a candidate. SKIP: file memory writes (use…
  • 100harvest
    Review the entire session so far, extract anything durable (user preferences, feedback/corrections, project state, references, repo conventions), and persist it — new/updated memory files plus targeted CLAUDE.md edits. Use when the user asks to save what was learned, consolidate…
  • 100ai-memory-durable-pages
    Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded project knowledge, recording a rule or annotation, updating a note, or deleting a memory page. Trigger by semantic intent rather than exact wording; routine session capture is not a durable-page request.

Feedback and reports

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