Skip to main content
command CX Codex

memory · sametcelikbicak — Claude Code command: what it does, how to install

memory is a Claude Code command for reading, creating, or compacting project memory. It works with files under .team/memory/.

MIT ★ 71 updated 2026-11-13

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/opencode-team-memory.md
Open on GitHub

What memory does

The memory command summarizes project memory, creates missing files, or reduces the size of its index and logs. With no argument, it reads INDEX.md, reports log sizes, and lists recent decisions and open questions.

Use init to create the memory tree, missing logs, and .team/.gitignore containing * if that file is absent. Existing content stays untouched. The compact argument archives excess log lines and trims INDEX.md. It refuses to run while subagents are active; if more than 60 unique index lines remain, it stops and reports the count.

What it helps with

  • inspect the project's memory summary
  • create missing memory files
  • compact memory logs and the index

Example prompts for the agent

  • Show me the current project memory status.
  • Create the memory tree and any missing logs.
  • Archive excess log lines and compact the index.

How to install memory

Manually: put the files in place

.claude/commands/opencode-team-memory.md

The built-in /memory overrides a file with the same name, so the file is renamed. Call it with /opencode-team-memory. For all projects use ~/.claude/commands/

Questions about memory

How do I install memory in Claude Code?

Add the command file at .claude/commands/opencode-team-memory.md.

What does the memory command do?

It inspects project memory under .team/memory/, creates missing files, or compacts the index and logs.

When will memory refuse to compact?

The compact action stops while subagents are active. It also stops and reports the count if more than 60 unique lines remain in the index.

Source text

memory.md · MIT
---
name: memory
description: Inspect, seed, or compact project-local agent memory.
agent: orchestrator
---

Inspect, seed, or compact project-local memory in `.team/memory/`.

Arguments:

- `status` (default): read-only summary of `INDEX.md`, log sizes, latest decisions, and open questions.
- `init`: create the memory tree and missing logs, plus `.team/.gitignore` (`*`) when absent; never overwrite existing content.
- `compact`: archive overflow log lines and shrink `INDEX.md`; refuse when subagents are active. If unique index lines still exceed 60, stop and report the count instead of dropping facts.

$ARGUMENTS

© sametcelikbicak · MIT · sametcelikbicak/opencode-team

Similar slash commands

All slash commands for Agent setup: memory, context, orchestration →

memory by other authors comes first.

memory 0xSteph Updates the .claude/PROJECT_MEMORY.md file with session decisions and pending tasks without losing past context. CX Codex +1 ★ 2,482repo stars memory Son Nguyen Lists file-based memory stores and CLAUDE.md files grouped by project via the Agent Monitor dashboard. CX Codex +1 ★ 1,198repo stars atlas Brandon White atlas is a Claude Code skill that keeps project decisions and work records across sessions. It activates when agents need past rulings, a handoff, or a plan for queued work. CX Codex +1 ★ 135repo stars memory-management aaron-he-zhu memory-management is a Claude Code skill for project working memory. It saves, retrieves, merges, and archives notes when an agent handles cross-session context or an erasure request. CX Codex +1 1,200installs KLYPIX Shared Project Memory dahshanlabs KLYPIX Shared Project Memory — an MCP server keeps project decisions, corrections, and handoffs in brain.klypix so separate coding sessions can use the same context. CX Codex +1 ★ 10repo stars cursor-memory-curator stark-ai-de cursor-memory-curator audits Cursor rules and memory-bank context: flags stale, conflicting and over-broad instructions, then suggests where each one belongs. CX Codex +1 2,700installs memory-bridge Ar9av memory-bridge is a Claude Code skill that groups Obsidian wiki pages by the AI tool that wrote them and compares agents’ knowledge sets. CX Codex +1 2,400installs memory-curate basicmachines-co memory-curate curates the Basic Memory knowledge graph. Connects orphan notes, cleans up tag taxonomies, detects duplicates, and generates hub notes. CX Codex +1 1,500installs

From the same set25

The whole set →
team-status team-status is a Claude Code command that reports stage progress, existing artifacts, and upcoming gates. Checks checkpoints directly from the project directory. CX Codex +1 ★ 71repo stars analyst analyst is a Claude Code subagent that researches markets, competitors, and users from an idea or PRD brief. It writes a report and hands the findings to the PM for PRD work. CX Codex ★ 71repo stars docs docs is a Claude Code subagent that drafts technical guides, API documentation, and changelogs from build artifacts. Activates during release preparation and README updates. CX Codex ★ 71repo stars devops devops is a Claude Code subagent for CI/CD, deployment, infrastructure, and release management. It handles DevOps tasks and records results in the team’s files. CX Codex ★ 71repo stars security security is a Claude Code subagent that runs security audits, vulnerability assessments, and dependency checks. Blocks deployments when critical issues arise. CX Codex ★ 71repo stars qa qa is a Claude Code subagent that plans QA, writes tests, and runs them. It handles requests to test new code and report failures. CX Codex ★ 71repo stars be be is a Claude Code subagent that implements backend APIs, databases, and tests from architecture specs. Task outcomes are saved directly to .team/07-build-be.md. CX Codex ★ 71repo stars fe fe is a Claude Code subagent that builds UI components and responsive interfaces. It writes frontend tests and a report for the work assigned by the orchestrator. CX Codex ★ 71repo stars

Project sponsors

Companies that keep this analytics open