Condenses Claude Code session transcripts into readable summaries by filtering metadata, system notifications, and command artifacts. Use when the user wants to review, analyze, or understand what happened in a Claude Code session, view tool usage patterns, or export session data. Triggers when user mentions "analyze session", "review transcript", "condense logs", "what tools did I use", or similar workflow analysis requests.
/plugin marketplace add OrasesLabs/orases-claude-code-marketplace/plugin install oraseslabs-workflow-analyzer-workflow-analyzer@OrasesLabs/orases-claude-code-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
condense-transcript.jsCondenses verbose Claude Code session transcripts from .claude/logs/ into human-readable summaries.
Claude should invoke this skill when the user:
# Condense a single transcript to markdown (stdout)
node .claude/skills/transcript-condenser/condense-transcript.js <transcript-file>
# Save condensed version to file
node .claude/skills/transcript-condenser/condense-transcript.js <transcript-file> --output=summary.md
# Output as JSON for automated analysis
node .claude/skills/transcript-condenser/condense-transcript.js <transcript-file> --format=json --output=session.json
# Minimal output (quick overview)
node .claude/skills/transcript-condenser/condense-transcript.js <transcript-file> --verbosity=minimal
# Detailed output (full content)
node .claude/skills/transcript-condenser/condense-transcript.js <transcript-file> --verbosity=detailed
# Show only tool usage
node .claude/skills/transcript-condenser/condense-transcript.js <transcript-file> --only-tools
# Show only subagent interactions
node .claude/skills/transcript-condenser/condense-transcript.js <transcript-file> --only-subagents
# Process all transcripts in a directory
node .claude/skills/transcript-condenser/condense-transcript.js logs/20251017/ --output-dir=condensed/
# Batch process with specific format
node .claude/skills/transcript-condenser/condense-transcript.js logs/20251017/ --output-dir=condensed/ --format=json
The markdown output includes:
The JSON output provides structured data:
{
"session": {
"id": "abc123",
"date": "2025-10-17",
"branch": "main",
"duration": "5m 23s",
...
},
"timeline": [
{
"time": "00:00:15",
"type": "user",
"content": "...",
...
}
],
"summary": {
"toolsUsed": { "Read": 3, "Write": 2 },
"filesModified": 3,
...
}
}
The script automatically removes noise:
isMeta: true)--no-system)Quick Session Review: "What did I do in my last session?"
Tool Usage Analysis: "Which tools did I use most?"
--only-tools flagSubagent Tracking: "How many times did I call the backend-architect?"
--only-subagents flagBatch Reporting: "Generate reports for all sessions this week"
Data Export: "Export session data for analysis"
.claude/logs/YYYYMMDD/ directoriestranscript_[subagent_]<sessionId>_<date>_<time>.jsonnode .claude/skills/transcript-condenser/condense-transcript.js <input> [options]
Arguments:
input Path to transcript file or directory
Options:
--format=<type> Output format: "markdown" (default) or "json"
--output=<file> Output file (default: stdout)
--output-dir=<dir> Output directory for batch processing
--verbosity=<level> Level: "minimal", "standard" (default), "detailed"
--only-tools Show only tool usage
--only-subagents Show only subagent interactions
--no-system Strip all system messages
--include-usage Include token usage statistics
--help, -h Show help message
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.