/agentic-utils-claude-code:memory-writerfrom agentic-utils-claude-code
Write effective memory file entries. Use when asked to "write a memory", "add to memory", "update my memory files", or when creating new entries for a project config file.
Ships in agentic-utils-claude-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
How to write memory entries that get loaded, stay fresh, and give the AI enough context to act.
Most AI assistants with memory systems use the description field to decide which files to load for a given task. Treat it as the answer to "when should this file load?"
Good: "When writing bash scripts or debugging exit code errors in this repo"
Bad: "Bash notes"
Good: "When the user asks about database migrations in this project"
Bad: "Work workflow"
Vague descriptions lose to specific ones. If the description could apply to any project, it is not specific enough.
If your tool uses an index file (e.g. MEMORY.md) to track memory files, keep it short and scannable. Each entry should be one line:
- [Short Title](file.md) — specific hook: what this memory is about and when it matters
Good:
- [DB Migration Pattern](db-migrations.md) — always run reset after switching worktrees
Bad:
- [Notes](notes.md) — various notes about the project
A common memory file format uses frontmatter for metadata and markdown for content:
---
name: short-kebab-name
description: one-line description — used to decide relevance
type: feedback | user | project | reference
---
The memory content.
feedback — corrections and confirmed approaches:
Lead with the rule, then explain it.
**Why:** the reason the user gave or the incident that prompted this
**How to apply:** when this kicks in and what to do
Both corrections ("don't do X") and confirmations ("yes, that was right") are worth saving. Confirmations prevent drifting away from approaches the user has already validated.
user — who the user is, how they want to collaborate:
User is a senior Go engineer, new to the React side of this repo.
Frame frontend explanations using backend analogues.
Keep these to things that change how you write code or explain things — not biographical details.
project — decisions, constraints, deadlines:
Auth middleware rewrite is driven by compliance requirements, not tech debt.
**Why:** Legal flagged session token storage as non-compliant
**How to apply:** Scope decisions should favour compliance over ergonomics; don't revert toward the old pattern
Convert relative dates to absolute when saving ("Thursday" → "2026-03-05") so the memory stays interpretable after time passes.
reference — where things live in external systems:
Pipeline bugs tracked in Linear project "INGEST".
Oncall latency dashboard at grafana.internal/d/api-latency — check when editing request-path code.
Include Why and How to apply lines — not just what to do but when and why. Future sessions often face edge cases where the rule is not obviously applicable; context lets you judge rather than blindly follow.
Before saving, ask:
git log is authoritativeStale memory is worse than no memory — the AI may confidently cite things that no longer exist. Run dream periodically to prune outdated entries and keep memory files reflecting current reality.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agentic-utils/skills --plugin agentic-utils-claude-code7 skills in this plugin
/ant-modeAdd communication style, comment, and reporting preferences to any AI assistant config. Use when asked to "enable ant mode", "improve communication style", "add reporting preferences", or when setting up a new AI assistant config./bash-safetyReview bash commands for dangerous patterns and interpret exit codes correctly. Use when asked to "check this bash", "is this safe to run", "review this script", or when debugging a script that fails unexpectedly./codex-delegateGet an answer from the Codex CLI (`codex exec`) that THIS conversation needs, such as a second opinion, a review of a diff or design, web research or a non-interactive edit. One headless run; the answer and token usage come back here. Covers the credit preflight, a background-safe invocation, sandbox and reasoning-effort choices, and relaying through a cheap subagent. Use when asked to "ask codex", "get codex's take", "get a second opinion from codex", "have codex review this", "have codex research this", "run codex exec", or, when codex is installed, before spawning a Claude subagent for self-contained work codex could do. For separate work codex should carry on in its own tab, use session-handoff instead.Other plugins' skills for the same job