Agent skill
transcript-recovery
Recover full conversation history after context compaction. Use when context window is compacted and Claude needs to access earlier parts of the conversation, when user asks about what was discussed before, or when Claude needs to continue work from a previous session. Reads from /mnt/transcripts/ directory.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/transcript-recovery
SKILL.md
Transcript Recovery
Recover full conversation history from /mnt/transcripts/ after context compaction.
Quick Start
# Copy script to working directory and run
cp /path/to/skill/scripts/get_transcript.py /home/claude/
python3 /home/claude/get_transcript.py --list
Usage
| Command | Description |
|---|---|
--list |
List all available transcripts |
--all |
Combine all transcripts chronologically |
--messages |
Extract clean human/assistant messages |
--search <query> |
Search across all transcripts |
--file <n> |
Read specific transcript |
--tail <n> |
Last N lines only |
--output <path> |
Save to file |
Common Workflows
After Compaction - Recover Context
python3 /home/claude/get_transcript.py --all --messages
Find Specific Discussion
python3 /home/claude/get_transcript.py --search "topic keyword"
Export Full History for User
python3 /home/claude/get_transcript.py --all --messages -o /mnt/user-data/outputs/history.txt
Notes
- Transcripts location:
/mnt/transcripts/(read-only) - Files contain JSON with unicode escapes - script decodes to UTF-8 automatically
journal.txtcontains transcript metadata and descriptions- Script must be copied to
/home/claude/before execution
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?