sessionlog:export-all
This skill should be used when the user asks to "export all sessions", "export all session logs", "batch export sessions", "sessionlog export-all", "convert…
от florianbuetow★ 22 звезды на GitHub
Установить sessionlog:export-all в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Session Log Export All
Export all Claude Code sessions for the current project to standard LLM conversation JSON and human-readable TXT transcripts.
Steps
1. Identify the project session directory
project_dir="$HOME/.claude/projects/$(pwd | sed 's|/|-|g')"
echo "Project session directory: $project_dir"
session_count=$(ls "$project_dir"/*.jsonl 2>/dev/null | wc -l | tr -d ' ')
echo "Sessions found: $session_count"
2. Determine output directory
Use the output directory specified in the user's prompt. If none was specified, default to docs/sessionlogs/ relative to the current working directory.
3. Export each session
Iterate over every JSONL file in the project session directory and run the export script for each:
output_dir="<output-dir>"
for session_file in "$project_dir"/*.jsonl; do
session_id=$(basename "$session_file" .jsonl)
"${CLAUDE_PLUGIN_ROOT}/scripts/export-session.sh" "$session_file" "$output_dir" "$session_id"
done
Each invocation produces two files per session:
<output-dir>/claude-<session-id>.json<output-dir>/claude-<session-id>.txt
4. Report results
Show the user:
- Total number of sessions exported
- Output directory
- Total file count (2 files per session)
- Combined size of all exported files
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл sessionlog:export-all?
This skill should be used when the user asks to "export all sessions", "export all session logs", "batch export sessions", "sessionlog export-all", "convert all sessions", or wants to export every Claude Code session for the current project as standard LLM conversation JSON and TXT files.
Как установить скилл sessionlog:export-all?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sessionlog:export-all запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…