Agent skill
save-thread
Save the real Claude Code session messages only when the user explicitly requests it. Use nmem t save to import the recorded session, not a summary-only checkpoint.
Install this agent skill to your Project
npx add-skill https://github.com/nowledge-co/community/tree/main/nowledge-mem-claude-code-plugin/skills/save-thread
SKILL.md
Save Thread
When to Save
Only when user explicitly says: "Save this session" | "Checkpoint this" | "Record conversation"
Never auto-save or suggest.
Tool Usage
Use nmem t save to automatically import the current Claude Code session:
# Save current session for current project
nmem t save --from claude-code
# Save with custom summary
nmem t save --from claude-code -s "Brief summary of what was accomplished"
# Save all sessions for current project
nmem t save --from claude-code -m all
# Save for specific project path
nmem t save --from claude-code -p /path/to/project
Options:
--from: Source app (claude-codefor Claude Code)-s, --summary: Optional brief summary (recommended)-m, --mode:current(default, latest session) orall(all sessions)-p, --project: Project directory path (defaults to current directory)--truncate: Truncate large tool results (>10KB)
Behavior:
- Auto-detects sessions from
~/.claude/projects/ - Idempotent: Re-running appends only new messages
- Thread ID: Auto-generated as
claude-code-{session_id}
Thread vs Memory
Thread = real session messages | Memory = distilled insights (different purposes, can do both)
Response
✓ Thread saved
Summary: {summary}
Messages: {count}
Thread ID: claude-code-{session_id}
Troubleshooting
If nmem is not in PATH: pip install nmem-cli
For remote servers: run nmem config client set url https://... and nmem config client set api-key ... once on this machine.
Run /status to check server connection.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
search-memory
Search your personal knowledge base when past insights would improve response. Recognize when stored breakthroughs, decisions, or solutions are relevant. Search proactively based on context, not just explicit requests.
check-integration
Check Nowledge Mem setup, detect your agent, and guide native plugin installation. Use when the user asks about setup, configuration, or when memory tools aren't working as expected.
distill-memory
Capture breakthrough moments and valuable insights as searchable memories in your knowledge base.
read-working-memory
Read your daily Working Memory briefing to understand current context. Contains active focus areas, priorities, unresolved flags, and recent knowledge changes. Load this automatically at the beginning of sessions for cross-tool continuity.
status
Check Nowledge Mem connection status, server version, CLI version, and configuration. Use when diagnosing issues or verifying setup.
save-handoff
Save a concise handoff summary only when the user explicitly requests it. Use this for resumable progress notes in generic agent environments where a real session importer is not guaranteed.
Didn't find tool you were looking for?