From wm
Reviews working memory in Claude Code/Codex: state, active context, sessions, and dive context via wm commands. Reveals project patterns, constraints, and Claude's decision context.
npx claudepluginhub cloud-atlas-ai/wm --plugin wminheritUnderstand what knowledge wm has captured and what context is currently active. **Platform Support:** - ✅ **Claude Code** - Full support (session discovery works) - ✅ **Codex** - Partial support (state/working set work, session listing limited) - **Session start** — Review what patterns and constraints wm knows about this project - **Before major changes** — Check if existing knowledge suggests...
Manages AI prompt library on prompts.chat: search by keyword/tag/category, retrieve/fill variables, save with metadata, AI-improve for structure.
Manages AI Agent Skills on prompts.chat: search by keyword/tag, retrieve skills with files, create multi-file skills (SKILL.md required), add/update/remove files for Claude Code.
Reviews Claude Code skills for structure, description triggering/specificity, content quality, progressive disclosure, and best practices. Provides targeted improvements. Trigger proactively after skill creation/modification.
Understand what knowledge wm has captured and what context is currently active.
Platform Support:
wm show state)View all accumulated tacit knowledge:
wm show state
What you'll see:
This is the "long-term memory" — knowledge accumulated across all sessions.
wm show working)View what context was last injected:
wm show working # Global working set
wm show working --session-id <id> # Session-specific working set
What you'll see:
This is the "short-term memory" — what's active in current context.
wm show sessions)Claude Code only:
List all sessions for this project:
wm show sessions
What you'll see:
Note: In Codex, session listing requires manual discovery:
ls ~/.codex/sessions/2026/01/*/rollout-*.jsonl
wm dive show)View current dive session context (if active):
wm dive show
What you'll see:
# Starting new work - review what wm knows
wm show state
# Output shows:
# - "Prefer functional composition over inheritance"
# - "API calls require retry logic (flaky network)"
# - "Use snake_case for file names in this project"
# Now you understand the project patterns before coding
# Check current state
wm show state
# Seems sparse - run distillation
wm distill
# Review again
wm show state
# Check state size
wm show state | wc -l
# Output: 87 lines
# Too large - compress
wm compress
# Review result
wm show state | wc -l
# Output: 34 lines
# Review project knowledge
wm show state
# Now prepare focused dive with that context in mind
/dive-prep --intent fix
State.md (Long-term Memory):
wm show stateWorking Set (Short-term Memory):
wm show workingExample:
If state.md contains:
- Prefer functional style over OOP
- API calls need retry logic
- Use PostgreSQL for persistence
- Frontend uses React hooks pattern
And your intent is "implement API retry logic", then working_set.md might contain:
- API calls need retry logic
- Prefer functional style over OOP
The PostgreSQL and React items weren't relevant to the intent, so they weren't injected.
Check if wm operations are paused:
wm status
Output:
Working Memory Status
=====================
Extract: active
Compile: active
All operations running normally.
Or if paused:
Extract: PAUSED
Compile: active
Extract is paused. Run 'wm resume extract' to re-enable.
| Command | When to Use |
|---|---|
wm show state | Understand accumulated project knowledge |
wm show working | Debug what context was injected |
wm show sessions | Find sessions for distillation or audit |
wm dive show | Review current dive context |
wm status | Check if operations are paused |
As an agent, invoke this skill when you need to: