memory

memory is a command for Claude Code from 0xSteph/pentest-ai-agents. It costs 0 tokens per session (121 once invoked), scanned A, original, MIT.

A command for recording what changed during a coding session in the project's memory file.

In plain words
What is it for?
Use it at the end of a session to update .claude/PROJECT_MEMORY.md while preserving its existing information.
Why use it?
It keeps important decisions, fixes, unfinished work, and version history from being lost between sessions.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pentest-ai-agents plugin — 3 commands, 52 agents shipped together

Good fit Use it at the end of a session to update .claude/PROJECT_MEMORY.md while preserving its existing information.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/0xsteph/pentest-ai-agents/memory
About the project

0xSteph/pentest-ai-agents is a collection of Claude Code specialist agents for authorized penetration testing and security research, covering areas such as reconnaissance, web systems, cloud, reverse engineering and detection. Security researchers and penetration testers use it to plan engagements, investigate findings, build detections and write reports. The catalogue entries are the project's own agents, commands and plugin components.

0xSteph/pentest-ai-agents · 2,356 stars · on GitHub · pentestai.xyz

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/0xSteph/pentest-ai-agents

Made for: Claude Code.

Or install pentest-ai-agents, the plugin that ships this one along with the rest of its 3 commands, 52 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memory

README.md
[![agentmods](https://agentmods.dev/badge/commands/0xsteph/pentest-ai-agents/memory/github.svg)](https://agentmods.dev/commands/0xsteph/pentest-ai-agents/memory)
Your own site
<a href="https://agentmods.dev/commands/0xsteph/pentest-ai-agents/memory"><img src="https://agentmods.dev/badge/commands/0xsteph/pentest-ai-agents/memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memory

Your own site · 80×15
<a href="https://agentmods.dev/commands/0xsteph/pentest-ai-agents/memory"><img src="https://agentmods.dev/badge/commands/0xsteph/pentest-ai-agents/memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 121 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00121
Opus 5.5 $0.00000 $0.00048
Sonnet 5.5 $0.00000 $0.00024
Haiku 4.5 $0.00000 $0.00012

Measured 1mo ago against content hash c3888dbe714b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/memory.md · 6 lines

What it actually says

{ "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." }

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 6 lines · 0 tokens per session scan A c3888dbe714b

Subscribe to this mod's changes

memory is a command published in the GitHub repository 0xSteph/pentest-ai-agents (2,356 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 121 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.