Skip to main content
command CX Codex

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

Updates the .claude/PROJECT_MEMORY.md file with session decisions and pending tasks without losing past context.

MIT ★ 2,482 updated 2026-10-06

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

What memory does

This command instructs Claude Code to document working progress inside .claude/PROJECT_MEMORY.md. The agent reads the existing file first. That keeps previous notes and project history intact.

The resulting summary captures modified features, bug fixes, technical decisions, and open TODO items. It also updates version history when applicable. Edits target .claude/PROJECT_MEMORY.md, so the environment must allow changes in the .claude directory.

What it helps with

  • Log session progress and code changes automatically
  • Record architectural decisions before ending the session
  • Track pending tasks and bug fixes for upcoming runs
  • Maintain project version notes across multiple sessions

Example prompts for the agent

  • Update project memory with what was accomplished in this session
  • /memory
  • Document current fixes, decisions, and TODOs into .claude/PROJECT_MEMORY.md

How to install memory

Manually: put the files in place

.claude/commands/pentest-ai-agents-memory.md

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

Questions about memory

How to install memory in Claude Code?

Place the command file at .claude/commands/pentest-ai-agents-memory.md in your project repository.

What does the memory command do?

It reads .claude/PROJECT_MEMORY.md, appends a summary of changes, decisions, and remaining tasks from the current session, and saves the file.

Does the memory command overwrite existing project notes?

No. The prompt instructs the agent to read .claude/PROJECT_MEMORY.md first and preserve all existing content while adding new notes.

Source text

memory.md · MIT
{
  "name": "memory",
  "description": "Update the project memory with what was accomplished in this session",
  "prompt": "Update the project memory file at .claude/PROJECT_MEMORY.md with a summary of everything that was done in this session. Include:\n1. What features were added or changed\n2. What bugs were fixed\n3. What decisions were made\n4. What is still TODO\n5. Update version history if applicable\n\nRead the current PROJECT_MEMORY.md first, then update it preserving all existing information while adding the new session's work."
}

© 0xSteph · MIT · 0xSteph/pentest-ai-agents

Similar slash commands

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

memory by other authors comes first.

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 memory sametcelikbicak memory is a Claude Code command for reading, creating, or compacting project memory. It works with files under .team/memory/. CX Codex +1 ★ 71repo stars memory-continue basicmachines-co memory-continue — a Claude Code skill that reconstructs context across sessions using the Basic Memory graph. It activates at session start or on phrases like "continue with" and "where were we". CX Codex +1 1,500installs memory-reflect basicmachines-co memory-reflect — a background skill that reviews recent sessions and daily notes, pulls out what matters and folds it into long-term memory. Runs on a schedule or on demand. CX Codex +1 760installs distill-memory nowledge-co distill-memory extracts durable decisions, root cause lessons, and workflows into your knowledge base via nmem CLI. Triggers proactively whenever a conversation yields lasting context. CX Codex +1 743installs agent-memory OpenHands agent-memory saves repository rules and commands into AGENTS.md to feed context into later coding sessions. CX Codex +1 117installs memory-prune qdhenry memory-prune cleans low-value, broken, and outdated nodes from your semantic memory tree. Keeps project context lean and responsive. CX Codex +1 ★ 1,357repo stars memory-management zcf0508 memory-management — a skill that retains user information between conversations—coding habits, projects, schedules, personal details. CX Codex +1 1installs

From the same set55

The whole set →
agents-for The agents-for command for Claude Code filters the pentest-ai-agents catalog by domain or tag and lists matching agents with their access tiers. CX Codex +1 ★ 2,482repo stars compliance-mapper compliance-mapper connects pentest findings to PCI DSS, NIST, ISO 27001, CIS, HIPAA and SOC 2 requirements, turning a technical bug into an auditable control gap. CX Codex ★ 2,482repo stars risk-scorer risk-scorer scores vulnerabilities using CVSS, EPSS, and CISA KEV to build a justified remediation queue aligned with business context. CX Codex ★ 2,482repo stars engagement-planner engagement-planner plans an authorized pentest phase by phase, tags each technique with a MITRE ATT&CK ID, and drafts a rules of engagement template. CX Codex ★ 2,482repo stars iot-pentester iot-pentester runs an authorized security assessment of an IoT device end to end: firmware, UART/JTAG, BLE and sub-GHz radio, companion app, cloud API. Looks for default credentials and weak update signing. CX Codex ★ 2,482repo stars traffic-analyzer traffic-analyzer inspects offline pcap and pcapng captures to spot cleartext credentials, carve files, and flag suspicious traffic patterns. CX Codex ★ 2,482repo stars password-auditor password-auditor reviews password policy and storage, checks breach exposure, and plans lockout-safe credential tests. It does not perform live cracking or spraying. CX Codex ★ 2,482repo stars recommend recommend turns a freeform pentest task into a routing decision: names one or two specialist agents and lists the next commands. Useful when you know the goal but not which agent to pick. CX Codex +1 ★ 2,482repo stars

Project sponsors

Companies that keep this analytics open