memoryze
/memoryze
Distill the current conversation (or a specified excerpt) into N high-quality graft nodes and save them. Triggered by `/memoryze`, "save this to memory", "ricorda questo", "memorize this", or whenever the user explicitly wants the agent to commit knowledge to the persistent graph. The user can hint at granularity ("split into 3 atomic nodes", "one comprehensive node"), focus ("save the WHY, not the diff"), and target profile. Auto-classifies keywords. Prefer this over a raw `graft insert` whenever you're saving more than a one-liner.
- Author
- aendrix03 ↗
- Repository
- graft ↗
- Licence
- Apache-2.0
- Last repository change
- 06.10.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 06.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Distill the current conversation (or a specified excerpt) into N high-quality graft nodes and save them. Triggered by `/memoryze`, "save this to memory", "ricorda questo", "memorize this", or whenever the user explicitly wants the agent to commit knowledge to the persistent graph. The user can hint at granularity ("split into 3 atomic nodes", "one comprehensive node"), focus ("save the WHY, not the diff"), and target profile. Auto-classifies keywords. Prefer this over a raw `graft insert` whenever you're saving more than a one-liner.
Triggers from the description
Original author description
Distill the current conversation (or a specified excerpt) into N high-quality graft nodes and save them. Triggered by `/memoryze`, "save this to memory", "ricorda questo", "memorize this", or whenever the user explicitly wants the agent to commit knowledge to the persistent graph. The user can hint at granularity ("split into 3 atomic nodes", "one comprehensive node"), focus ("save the WHY, not the diff"), and target profile. Auto-classifies keywords. Prefer this over a raw `graft insert` whenever you're saving more than a one-liner.
How it works
- Argument shape
- Default granularity heuristic
- Per-node shape
- Workflow
- Refusals
- Profile targeting
- Output format to the user
SKILL.md preview
---
name: memoryze
description: >-
Distill the current conversation (or a specified excerpt) into N high-quality graft nodes and save them. Triggered by `/memoryze`, "save this to memory", "ricorda questo", "memorize this", or whenever the user explicitly wants the agent to commit knowledge to the persistent graph. The user can hint at granularity ("split into 3 atomic nodes", "one comprehensive node"), focus ("save the WHY, not the diff"), and target profile. Auto-classifies keywords. Prefer this over a raw `graft insert` whenever you're saving more than a one-liner.
---
# memoryze — Distill and persist conversation knowledge
You are about to commit something the user solved/decided to long-term memory. This skill is the **shape** of that act: pick the right granularity, write titles that future-you will actually find, and avoid garbage-in.
## Argument shape
The user invokes you with a free-form prompt that may include:
| Hint | Example | What it means |
| ----------------------------------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| **count / granularity** | "3 nodi", "atomic", "one big node", "split per business rule" | How many nodes to produce. Default: heuristic (see below). |
| **focus** | "the WHY, not the diff", "include the workaround", "skip syntax" | What aspect of the solution to emphasize in `body`. |
| **scope** | "this conversation", "from the bug fix onwards", "only the SQL part" | Which slice of context to distill. |
| **target profile** | "in the work profile", "in test" | Switch via `GRAFT_PROFILE` for the inserts. |
| **enrichment** | "expand with the official docs link", "add the error message" | Inject extra data the agent should look up before saving. |
Examples:
- `/memoryze the spring boot @Valid cascade fix, 1 node, focus on WHY`
- `/memoryze split this debugging session into atomic nodes per hypothesis tested`
- `/memoryze le ultime 10 messaggi su Angular signal reactivity, 3 nodi`
If hints are absent, ask **at most one** clarifying question, then proceed with the default heuristic.
## Default granularity heuristic
Count the **independent decisions** in the slice the user pointed at:
- 1 node when the slice is a single bug→fix, single design choice, single quirk.
- N nodes when the slice contains N orthogonal facts (e.g. multiple unrelated rules in one config refactor).
- Never more than ~5 nodes from one `/memoryze` invocation — beyond that, the user should narrow scope or run multiple invocations.
**Atomicity test**: each node should be retrievable on its own when future-you searches for it. If two prospective nodes would always co-occur in the answer, merge them.
## Per-node shape
Every saved node has three required fields plus 2-5 keywords. Quality of these fields *is* the skill — bad shape means future search misses.
### `title` (one line, ~80-120 chars)
Write the line **future-you will type into search**, not a heading.
- Bad: `"fixed the bug"` — useless.
- Bad: `"FIX-2024-12 spring boot cascade"` — search-by-ticket only.
- Good: `"Spring Boot DTO nested validation needs @Valid on field plus @Validated on controller"`
- Good: `"Angular signal-based form: canConfirm reattivo via computed(), non property"`
The title IS your retrieval anchor. Phrase it the way the problem appears, not the way the solution looks.
### `body` (Markdown, 1-20 lines, prose + code if relevant)
Include:
- **The WHY** — what made this non-obvious, what was tried first and didn't work.
- **The minimum reproducing context** — a code snippet or command, never a whole file.
- **The trap** — what about this would mislead someone who doesn't know it.
- **References** — issue numbers, PR URLs, official doc links the user mentions.
Skip:
- Conversational chit-chat ("then we tried...", "ok perfect").
- Personal opinions unless they're the *decision* itself.
- Anything that's already obvious from the title.
### `keywords` (2-5)
Run `graft classify --title "<your title>"` first. The system suggests keywords from existing graph keywords when possible, infers when novel. Use the suggestions verbatim **unless** they miss a critical axis (e.g., classify gave you `[spring-boot, validation]` but the node is also a `gotcha` worth flagging — add it).
Conventional axis keywords to consider adding:
- `gotcha` — non-obvious traps the docs don't mention.
- `standard` — "from now on we always do X" decisions worth reusing across projects.
- `incident` — links to a real production breakage.
- `workaround` — temporary fix while the real issue is open elsewhere.
## Workflow
For each node to be created (1 to N):
```bash
# 1. Suggest keywords
graft classify --title "<the title you drafted>"
# 2. Insert. Idempotent — duplicate hashes return the existing id_hex.
graft insert \
--title "<final title>" \
--body "<final body, Markdown is fine>" \
--keyword <kw1> --keyword <kw2> --keyword <kw3> \
[--source file:<path>] # when the node is derived from a file
```
When a node is derived from a file (code, docs, config), pass `--source file:<path>` (repeatable, path relative to the cwd or absolute): graft records the file and its fingerprint, and `graft sources diff` later flags the node when that file changes. Use `--source conversation` for knowledge that only exists in the chat. Re-inserting identical content with a new `--source` just attaches it to the existing node.
After all inserts, **report back to the user**:
- The IDs (`id_hex`) created and which were duplicates of existing nodes.
- Suggest a follow-up `/recall` to verify the saved nodes are findable with the user's likely future queries.
## Refusals
Do NOT save:
- Secrets / credentials / tokens / internal URLs that look sensitive.
- The user's personal information (full name, email, phone) unless explicitly part of the knowledge.
- Conversation transcripts — distill, don't archive.
- Information the user said is "experimental / not committed" / "may be wrong".
If asked to save something refused, explain why in one line and propose a redacted version the user can confirm.
## Profile targeting
If the user said "in the X profile" / "nel profilo X":
```bash
GRAFT_PROFILE=X graft insert ...
```
Don't permanently switch the user's shell — pass the env var on the line. Tell the user which profile the inserts went into.
## Output format to the user
End with a compact, scannable recap:
```
Saved to profile=<name>:
✓ <id_hex_short> — <title>
✓ <id_hex_short> — <title>
• <id_hex_short> — <title> (duplicate, not re-saved)
Try: graft query "<one of the titles>"
```
Keep this terse. The user already knows what they asked you to save — they want confirmation, not an essay.
Versions
The database has no other skills named memoryze.
Database snapshot: 13.11.2026 · package version 61d8e311e5c7 (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
- 100graft
Persistent graph memory shared across conversations and agents. Graft is a prompter, not a cache: it hands you notes that may be close to the problem in front of you, and a close note is already a win - it gives you a starting point and reminds you what was decided before.… - 100remember
Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned,… - 100memory-audit
Maintenance pass + health check of the graft graph. Runs the `graft maintain` loop: checks what is due, applies the mechanical cleanup, then adjudicates every maintenance candidate (near duplicates, supersessions, contradictions, memories whose source file changed or… - 100auto-commit-memory
自动总结当前对话并提交为团队记忆(team-memory)。 当用户说"提交下"、"提交一下"、"存一下"、"把这个存下来"、"记一下"、"沉淀一下"等类似表达时, 触发本 skill。 流程: 分析对话 → 提取背景/结论/要点/案例/使用场景 → 判断记忆类型 → 展示总结草稿 → 问"是否提交" → 仅当用户回复确认词(是/可以/行/确认/ok/yes/y/提交/好/对)才执行 team-memory save(一条命令完成 capture + git commit)。绝不未经确认就提交。 - 100remember
Save a fact to the project's agd-memory. Use this skill when the user invokes /remember, says \"ricorda questo\", \"salvalo in memoria\", \"remember this\", \"save to memory\", or asks you to memorise a specific decision/path/version/preference. Two modes: with an argument the… - 100mcp-server-memory
Use this skill when installing, configuring, and executing tools with the persistent knowledge-graph entity and relation memory MCP server.