Shan - Claude Code Transcript Exporter

VerifiedSafe

Exports a Claude Code session transcript as a navigable Markdown file with columnar headings for editor outline navigation. Helps you review, analyze, or archive session transcripts.

Sby Skills Guide Bot
DocumentationBeginner
6/2/2026
Claude Code
#claude-code#transcript#export#markdown#session

Recommended for

Automated summary

Exports a Claude Code session transcript as navigable Markdown with formatted headings for editor outline navigation.

Strengths

  • Generates a well-structured Markdown file with monospace column headings for easy editor outline navigation.
  • Allows specifying a session ID or uses the current session by default.
  • Facilitates reviewing, analyzing, and sharing Claude Code sessions.

Limitations

  • Requires the shan CLI tool and Bun to be installed.
  • Only works with Claude Code sessions.
  • The heading format may not be ideal for all editors.
When to use it

When you want to review, analyze, or export a Claude Code session as a structured Markdown file.

When not to use it

If you need an export in a different format (JSON, HTML) or if you don't want to install additional tooling.

Security analysis

Safe
Quality score90/100

The skill runs a known local script via bun with user-supplied arguments, but the script's purpose is limited to transcript dumping, and there is no indication of destructive or exfiltrating behavior. No obfuscation or risky patterns detected.

No concerns found

How this analysis is made

Examples

Dump current session
/shan transcript dump
Dump specific session
/shan transcript dump dc8ffe42

name: shan description: Dump a Claude Code session transcript as navigable Markdown. Use when user wants to review, analyze, or export a session transcript. argument-hint: transcript dump [session-id] allowed-tools: Bash(bun:*)

Shan

Claude Code tooling CLI (named after Claude Shannon).

Execute

Run the shan CLI with provided arguments:

bun ~/projects/jasonkuhrt/dotfiles/packages/shan/src/bin/shan.ts $ARGUMENTS

Commands

transcript dump [session-id]

Convert JSONL transcripts to navigable Markdown with columnar headings for editor outline navigation.

Arguments:

| Argument | Description | |----------|-------------| | [session-id] | Optional. Partial UUID prefix (e.g., dc8ffe42). Defaults to current session. |

Output: .claude/transcripts/<session-id>.transcript.md in project directory

Examples:

/shan transcript dump              # dump current session
/shan transcript dump dc8ffe42     # dump specific session

Output Format:

Headings use monospace columns with underscore padding for editor outline alignment:

# `001` `01/25/2026 22:45` `file-history-snapshot` `snapshot______________________`
# `002` `01/25/2026 22:45` `progress_____________` `SessionStart:clear____________`
# `003` `01/25/2026 22:46` `user_________________` `sync__________________________`

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/shan-claude-code-transcript-exporter-mm5t8ajp/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/shan-claude-code-transcript-exporter-mm5t8ajp' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/shan-claude-code-transcript-exporter-mm5t8ajp/download' --output '.skill-downloads/shan-claude-code-transcript-exporter-mm5t8ajp/SKILL.md.part' && mv '.skill-downloads/shan-claude-code-transcript-exporter-mm5t8ajp/SKILL.md.part' '.skill-downloads/shan-claude-code-transcript-exporter-mm5t8ajp/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash(bun:*)

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/shan-claude-code-transcript-exporter-mm5t8ajp/SKILL.md' && test -s '.skill-downloads/shan-claude-code-transcript-exporter-mm5t8ajp/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/shan' && cp -R '.skill-downloads/shan-claude-code-transcript-exporter-mm5t8ajp' '.claude/skills/shan'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/shan-claude-code-transcript-exporter-mm5t8ajp'

openskills read 'shan-claude-code-transcript-exporter-mm5t8ajp'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/shan-claude-code-transcript-exporter-mm5t8ajp/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills