/maxgent:memoryfrom maxgent
Read long-term memory files to get historical context, code references, and error fix records. Use when user wants to read memory, get context, check history, avoid repeating errors.
Ships in maxgent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read the current session's long-term memory files to access historical context preserved across compacts.
Claude Code's /compact compresses conversations to save context. Repeated compaction causes "memory decay" - important early details gradually get lost.
Max's memory system automatically saves accumulated content to files during each compact, ensuring important information is never lost.
| File | Content | Priority |
|---|---|---|
errors.md | Error fix records | Highest - Avoid repeating mistakes |
context.md | User messages + technical concepts | Medium - Full background |
files.md | Code file references | Low - Only when needed |
Use the memory.py script to read files with automatic truncation (large files are trimmed to last ~15000 chars to save context):
# Read errors.md only (default, recommended)
cd /path/to/skills/memory && uv run memory.py errors.md
# Read specific files
cd /path/to/skills/memory && uv run memory.py errors.md context.md
# Read all files
cd /path/to/skills/memory && uv run memory.py all
The script automatically:
~/.claude/projects/$MAX_PROJECT_ID/max/$MAX_SESSION_ID/memory/After compact - When you see "Earlier details saved to..." in the summary:
errors.md first - Critical to avoid repeating past mistakesOn demand - Read specific files based on the situation:
| Situation | Command |
|---|---|
| Encountering errors / Tests failing | uv run memory.py errors.md |
| Need to recall previous discussions | uv run memory.py context.md |
| Reusing code patterns / Finding files | uv run memory.py files.md |
/compactWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 skills in this plugin
/audio-transcribeSpeech-to-text transcription using Whisper with word-level timestamps. Use when users ask to transcribe audio or video to text, generate subtitles, or recognize speech./browserBrowser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website", "log into", or any browser interaction request./image-genAI image generation and editing. Use when users ask to generate, create, or draw images with AI, or edit and modify existing images./maxmotion-editActivated when user message contains an <editor /> XML tag (injected by Max Client Video Editor). Guides how to edit Remotion project clips (maxmotion.json) and sequences (.tsx source code)./media-processingProcess audio and video files with ffmpeg — trim, merge, extract audio, convert formats, compress, and more./media-understandAI-powered media understanding and analysis for images, videos, and audio. Use when users ask to describe, analyze, summarize, or extract text (OCR) from media files.npx claudepluginhub maxgent-ai/maxgent-plugin --plugin maxgent