Agent skill
Save Thread
Save complete conversation as checkpoint. Only when user explicitly requests ("save session", "checkpoint this"). Use nmem t save to automatically import Claude Code sessions.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/devops/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 = full history | 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 available:
Option 1 (Recommended): Use uvx
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Run nmem (no installation needed)
uvx --from nmem-cli nmem t save --from claude-code
Option 2: Install with pip
pip install nmem-cli
nmem t save --from claude-code
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?