Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
fearovex avatar

Memory Manage

  • 44 installs
  • 1 repo stars
  • Updated July 19, 2026
  • fearovex/claude-config

memory-manage is an agent skill that initializes, updates, and maintains the ai-context/ procedural memory layer for long-running agent sessions.

About

memory-manage is a procedural agent skill that treats ai-context/ as a first-class memory layer for solo developers who rely on Claude Code, Cursor, or similar tools across weeks-long builds. In init mode it scans configuration, folder layout, representative source, tests, and CI to author stack.md, architecture.md, conventions.md, and known-issues.md from scratch. Update mode captures what changed in the current session so the next agent invocation does not rediscover basics. Maintain mode performs housekeeping so files stay concise and trustworthy. Use it whenever a repository lacks structured agent memory or drifts out of sync with reality. The skill reduces repeated explanations, keeps architectural decisions citable inside the repo, and pairs naturally with other claude-config workflow skills that assume ai-context/ exists.

  • Three procedural modes: init, update, and maintain detected from slash commands or natural triggers
  • Init generates 5 core ai-context/ files from repo inventory (stack, architecture, conventions, known-issues, plus README
  • Update mode records session work and syncs memory after shipping changes
  • Maintain mode prunes stale entries and keeps ai-context/ readable over long projects
  • Unified entry via /memory-init, /memory-update, /memory-maintain

Memory Manage by the numbers

  • 44 all-time installs (skills.sh)
  • Ranked #7,851 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 24, 2026 (Skillselion catalog sync)
npx skills add https://github.com/fearovex/claude-config --skill memory-manage

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs44
repo stars1
Security audit3 / 3 scanners passed
Last updatedJuly 19, 2026
Repositoryfearovex/claude-config

What it does

Bootstrap, sync, and housekeeping the ai-context/ memory layer so coding agents retain stack, architecture, conventions, and known issues across sessions.

Who is it for?

Best when you're standardizing on ai-context/ and want one skill to create, refresh, and clean agent-facing project memory without manual copy-paste.

Skip if: Repos that already use a different enforced memory system you will not migrate, or one-off chats with no intention to reuse agent context.

When should I use this skill?

/memory-init, /memory-update, /memory-maintain, initialize memory, update memory, maintain memory, memory housekeeping, or clean ai-context.

What you get

ai-context/ holds current stack, architecture, conventions, and known issues files, with maintain mode keeping them accurate after init or session updates.

  • Populated or refreshed ai-context/*.md memory files
  • Maintain-mode cleanup summary of pruned or merged sections

By the numbers

  • 3 modes: init, update, maintain
  • 5 core ai-context/ files targeted on init (stack, architecture, conventions, known-issues, plus generated context from i

Files

SKILL.mdMarkdownGitHub ↗

<!-- MEMORY-CONTRACT v1 -->

Memory contract

Standing contract for every invocable command. Rendered once per command
file into the per-tool envelope by config-export command mode. Expresses
cross-session persistence in tool-neutral prose — it issues NO tool-specific
call, so it passes the export STRIP guard verbatim.

This command persists its work across sessions through engram, registered as an MCP server in this tool. Use this tool's own engram memory tools to honor the contract below — do not assume any other persistence layer.

Recall before acting

When the first input is a continuation keyword ("listo", "dale", "seguimos", "ready", "where did we leave off", "qué sigue"), DO NOT start fresh. First search engram for prior work on this change — by the change name and by recent topic keys — then summarize what you found and continue from there. Skipping the search and asking "what can I help with?" means you ignored existing context.

Validate after saving

After any save, verify it actually persisted: search engram back for the key or a unique phrase you just wrote. A tool response of "saved" is NOT proof the row landed. If the verifying search does not return the row, retry once; if it still fails, tell the user the save failed — never report "saved" on the tool response alone.

Summarize at close

Before ending a session, write a session summary to engram (goal, what was done, decisions, next steps, relevant files) so the next session can recover context. Recovery is never automatic — every session must search engram to find prior state.

When engram is unreachable

If engram is not installed or not on PATH, memory operations cannot persist. When that happens, emit a visible warning to the user that engram was not found (not installed / not on PATH) and that this session's work will NOT survive. DO NOT report memory as saved, and DO NOT proceed silently as if persistence had occurred. See the install prerequisite in the onboarding docs to enable engram.

Skill Logic: memory-manage

Unified management of the ai-context/ memory layer. Three modes: init, update,
maintain. Tool-neutral logic — no harness-specific wiring.

Mode Detection

Determine the mode from the invocation:

  • /memory-init or "initialize memory" or "generate ai-context" → init mode
  • /memory-update or "update memory" or "sync memory" or "record session" → update mode
  • /memory-maintain or "maintain memory" or "memory housekeeping" or "clean ai-context" → maintain mode

---

Mode: init

Creates the 5 core ai-context/ files from scratch by reading the project.

Use when: Project has no ai-context/ yet, or you want to regenerate from scratch.

Process

1. Project inventory: Read configuration files, folder structure, README, representative source files, tests, CI/CD configs. 2. Generate files:

  • ai-context/stack.md — tech stack, versions, key tools
  • ai-context/architecture.md — architectural decisions and rationale
  • ai-context/conventions.md — naming patterns, code conventions
  • ai-context/known-issues.md — known bugs, tech debt, gotchas
  • ai-context/changelog-ai.md — empty, ready for session entries

3. Feature stubs: Scan for bounded contexts (directories with domain logic). Create ai-context/features/_template.md and stub files for discovered domains. 4. Report: List files created and coverage summary.

---

Mode: update

Incrementally updates ai-context/ with work done in the current session.

Use when: After completing significant work (SDD cycles, architecture changes, bug fixes).

Process

1. Analyze session: Review what changed — files created/modified, decisions made, bugs fixed, conventions established. 2. Update relevant files:

  • ai-context/stack.md — new dependencies, version changes
  • ai-context/architecture.md — new decisions, pattern changes
  • ai-context/conventions.md — new naming patterns, style changes
  • ai-context/known-issues.md — new issues found, resolved issues marked
  • ai-context/changelog-ai.md — append entry with date, summary, files affected
  • ai-context/features/<domain>.md — update if relevant domain was touched

3. Preserve: Never overwrite [manual] sections. Only update [auto-updated] markers.

---

Mode: maintain

Periodic housekeeping: archive old entries, separate resolved issues, detect gaps.

Use when: changelog-ai.md is long (30+ entries), known-issues has resolved items, or at the start of a new project phase.

Process

1. Changelog archival: If changelog-ai.md has more than 30 entries, move older entries to changelog-ai-archive.md. 2. Known-issues cleanup: Move resolved items from known-issues.md to known-issues-archive.md. 3. Index generation: Create/update ai-context/index.md listing all ai-context/ files with one-line descriptions. 4. Gap detection: Check if the project instruction file references ai-context/ files that don't exist. Report gaps. 5. Dry-run first: Present all proposed changes, require user confirmation before applying.

---

Rules

  • Init mode MUST NOT run if ai-context/ already exists — warn and suggest update mode instead
  • Update mode MUST NOT create new core files — only modify existing ones
  • Maintain mode MUST present dry-run before any destructive action (archival, moves)
  • All modes are read-heavy, write-light — the goal is accurate, concise documentation
  • Never overwrite [manual] sections in any file
  • Feature file updates follow the format defined by the feature-domain-expert reference skill

Related skills

How it compares

Skill package for repo-local procedural memory—not an MCP server and not ad-hoc CLAUDE.md edits without a maintenance ritual.

FAQ

Who is memory-manage for?

Developers and small teams using agentic IDEs who want durable ai-context/ files instead of re-explaining the codebase each session.

When should I use memory-manage?

Use it in Build when onboarding agents to a new repo (init), in Ship after meaningful merges or releases (update), and in Operate when memory files grow stale or contradictory (maintain)—triggered by /memory-init, /memory-update, or /memory-maintain.

Is memory-manage safe to install?

It reads and writes files under your project; check the Security Audits panel on this page and review diffs before committing generated ai-context/ content that may summarize internal paths or issues.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.