Memory Audit
Review and prune stale entries from MEMORY.md
- Type
- Slash Command
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
What Memory Audit is
Memory Audit is a slash command published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Memory Audit gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Memory Audit
Claude Code
- Download memory-audit.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/productivity/claude-memory-kit/commands/memory-audit.md, shared under the repository's MIT license. Read the full file on GitHub.
Audit MEMORY.md and prune stale entries.
- Read MEMORY.md — if missing, say "No MEMORY.md to audit."
- Review each entry:
- Completed tasks → mark done or remove
- Outdated decisions → flag for review
- Resolved questions → remove
- Patterns still relevant → keep
- Present summary: "N entries reviewed. X stale, Y kept, Z removed."
- Ask for confirmation before writing changes
- Rewrite MEMORY.md with only current entries
- Add audit timestamp at the top: last_audited: [ISO timestamp]
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Memory Audit?
Memory Audit is a slash command for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Review and prune stale entries from MEMORY.md
How do I install Memory Audit in Claude Code?
Download memory-audit.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Memory Audit in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Memory Audit safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Api Cache Manager Implement caching strategies with Redis, CDN, and HTTP headers Plugin · jeremylongshore/tons-of-skills-marketplace
- Api Builder REST and GraphQL API design expert covering resource modeling, authentication flows, rate limiting, versioning, and OpenAPI spec generation. Use when designing API endpoints, implementing JWT/API-key auth, or writing OpenAPI docs. Trigger with \"design an API\", \"API endpoint help\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Api Documentation Generator Generate comprehensive API documentation from OpenAPI/Swagger specs Plugin · jeremylongshore/tons-of-skills-marketplace
- Api Event Emitter Implement event-driven APIs with message queues and event streaming Plugin · jeremylongshore/tons-of-skills-marketplace
- Memory Load Restore context from MEMORY.md at session start Slash Command · jeremylongshore/tons-of-skills-marketplace
- Manage Api Versions Manage API versions with proper migration strategies Slash Command · jeremylongshore/tons-of-skills-marketplace
- Memory Save Save current session context to MEMORY.md before compaction or session end Slash Command · jeremylongshore/tons-of-skills-marketplace
- Make Builder Design Make.com scenarios with AI assistance Slash Command · jeremylongshore/tons-of-skills-marketplace