Manually write a durable page to an ai-memory instance via the MCP (memory_write_page) — for decisions, rules, gotchas, schemas/contracts, or operational constraints the user explicitly wants remembered.
Manually write a durable page to an ai-memory instance via the MCP (memory_write_page) — for decisions, rules, gotchas, schemas/contracts, or operational constraints the user explicitly wants remembered.
Use when the user says 'remember this', 'save this decision', or 'annotate X'.
Not for routine notes (auto-capture handles those).
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeNot declared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars4
Default branchmain
Open issues0
Status
Active
Skill metadata
Parsed from SKILL.md frontmatter.
More metadata
short-description
Manual durable write to ai-memory
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md2,763 B
docsSUMMARY.md353 B
History
First seen on skills.sh
First recorded snapshot · 61 installs
SKILL.md
aim-write
Persist a durable wiki page. Use only for canonical knowledge the user explicitly wants remembered — routine session notes are captured automatically by the hooks; do not hand-write those, and do not use a handoff for a permanent annotation.
Steps
Pick the instance. From the repo's MCP config. If multiple ai-memory servers are
configured, ask which endpoint to write to.
Pick workspace/project. Default to the repo's .ai-memory.toml; confirm if writing
elsewhere.
Choose a path + kind. Use folder conventions so kind is derived and recall stays clean:
- decisions/ADR-NNNN-<slug>.md → decision - rules/<slug>.md → rule - gotchas/<slug>.md → gotcha - otherwise a topical path (e.g. runbooks/<slug>.md, <area>/<slug>.md). You can also set kind explicitly via frontmatter nodetype / the tool arg.
The rules/ prefix matters — use the underscore. Pages under rules/ (and pinned slots/) are ai-memory's highest-signal tier: they're surfaced verbatim in memorybriefing / memoryexplore / the dashboard, keyed by path GLOB 'rules/*'. A plain rules/ folder (no underscore) is just a normal page — it gets none of that and is only found by explicit query/read. So write durable rules to _rules/, never rules/.
Shared / cross-project rules (e.g. global agent conventions reused across every repo) belong in a dedicated scope — the reserved default/global scope — under rules/ there (write with scope: "global"). Recall is per-(workspace, project), so other projects reach them cross-scope via memoryquery scopes:[…] / memoryread_page (see aim-query), not automatically.
Write the body as markdown with frontmatter (title, node_type, tags, optional
source:). Link related pages with [[path.md]] (paths carry .md; links resolve by exact path). Never put live secrets/credentials in a page — redact (<see secret manager>).
Call memorywritepage (or the equivalent admin write) with workspace/project/path/body.
Confirm the page is recallable (a quick aim-query for its topic).
Keep pages focused and distilled — one fact/decision/gotcha per page reads and recalls best.