conversation-logger
БесплатноБез исполняемых скриптовНе проверенThis skill should be used when users need to save, search, or retrieve Claude Code conversation transcripts. Use this skill when users ask to save the current…
от sirkitree★ 18 звёзд на GitHubОб этом скилле
Conversation Logger
Overview
This skill enables systematic saving, searching, and retrieving of Claude Code conversation transcripts. It converts raw JSONL transcripts into readable markdown format and provides search capabilities across all saved conversations.
When to Use This Skill
Use this skill when:
- User explicitly asks to save the current conversation
- User wants to search through past conversations for context or information
- User asks about previous sessions or work done in earlier conversations
- Proactively saving important conversations at natural breakpoints (completed features, major bug fixes, end of work session)
- User needs to find when a specific topic, command, or issue was discussed
Core Capabilities
1. Save Current Conversation
To save the current conversation, use the save-conversation.sh script with the transcript path and optional session ID.
Script location: scripts/save-conversation.sh
Usage:
bash scripts/save-conversation.sh <transcript-path> [session-id]
Important: The transcript path is typically available as an environment variable or in the session context. Common locations:
$CLAUDE_TRANSCRIPT_PATH(if set)~/.claude/sessions/<session-id>/transcript.jsonl- Check the current session directory for transcript files
What it does:
- Copies the JSONL transcript to
~/.claude/conversation-logs/ - Converts the transcript to readable markdown format
- Creates session metadata file
- Creates symlinks to the latest conversation for easy access
Output files created:
conversation_YYYY-MM-DD_HH-MM-SS.jsonl- Raw transcriptconversation_YYYY-MM-DD_HH-MM-SS.md- Human-readable markdownsession_YYYY-MM-DD_HH-MM-SS.json- Session metadataconversation_latest.jsonlandconversation_latest.md- Symlinks to most recent
Example workflow: When a user says "save this conversation" or "log our work", first locate the transcript path, then execute the save script.
2. Search Through Saved Conversations
To search through saved conversations for specific terms or topics, use the search-conversations.sh script.
Script location: scripts/search-conversations.sh
Usage:
# Search for a term
bash scripts/search-conversations.sh "search-term"
# Search with more context lines
bash scripts/search-conversations.sh "search-term" --context 5
# List all saved conversations
bash scripts/search-conversations.sh --list
# Show recent conversations
bash scripts/search-conversations.sh --recent 5
Common search scenarios:
Finding when a topic was discussed:
bash scripts/search-conversations.sh "docker configuration"
Finding command usage:
bash scripts/search-conversations.sh "git commit" --context 10
Browsing recent work:
bash scripts/search-conversations.sh --recent 3
Example workflow: When a user asks "when did we work on the authentication bug?" or "find conversations about database migrations", use the search script to locate relevant conversations, then read the full conversation file if needed.
3. Retrieve Full Conversations
To read a complete saved conversation, access the markdown files directly in ~/.claude/conversation-logs/.
Typical workflow:
- Use search to find relevant conversations
- Note the timestamp from search results
- Read the full markdown file:
~/.claude/conversation-logs/conversation_YYYY-MM-DD_HH-MM-SS.md
Quick access to latest:
cat ~/.claude/conversation-logs/conversation_latest.md
Conversation Format
Saved conversations are stored in two formats:
JSONL (Raw): Complete conversation data including all API messages, tool calls, and metadata. Used by the parser and for programmatic access.
Markdown (Readable): Human-friendly format with:
- Clear USER/ASSISTANT sections
- Tool usage summary (shows tool name and key parameters)
- Filtered system messages and noise
- Timestamps and session IDs
Proactive Usage Guidelines
Consider saving conversations proactively when:
- A complex feature or bug fix is completed
- User indicates they're wrapping up (phrases like "that's all for now", "thanks, I'm done")
- A significant amount of work has been accomplished in the session
- User switches context significantly (new project, different task domain)
Important: Always ask first before saving proactively. Example: "This looks like a good stopping point. Would you like me to save this conversation for future reference?"
Requirements
System dependencies:
python3- Required for parsing JSONL to markdownbash- For running the scriptsjq- Optional, for working with JSON metadata
Installation check:
command -v python3 && echo "✓ Python installed" || echo "✗ Python required"
Troubleshooting
Cannot find transcript path:
- Check session directory:
ls -la ~/.claude/sessions/ - Look for environment variables: `env | grep CLA
Установить conversation-logger в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл conversation-logger?
This skill should be used when users need to save, search, or retrieve Claude Code conversation transcripts. Use this skill when users ask to save the current conversation, search through past conversations for context, or retrieve information from previous sessions. Also use when appropriate to proactively save important conversations at natural breakpoints (e.g., after completing a major feature, fixing a critical bug, or when the user indicates they're done with a session).
Как установить скилл conversation-logger?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл conversation-logger запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic