session-export SKILL.md skillB

session-export from y-a-v-a/session-export is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add y-a-v-a/session-export/session-export@git:20261107.a2e3ef4

Pins git:20261107.a2e3ef4 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
y-a-v-a/session-export
Path
skills/session-export/SKILL.md
Versions recorded
5
Latest version
git:20261107.a2e3ef4, committed Nov 7, 2026
First version recorded
Jun 7, 2026
Size
3,868 bytes
Repository stars
3
License
MIT

Export the current (or a specified) Claude Code or OpenAI Codex session to a single self-contained HTML file, including any subagent transcripts. Use when the user asks to "export this session", "save the chat as HTML", "share this conversation", or wants an offline-readable record of a coding-agent session.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# session-export

Produces a one-page, fully offline HTML view of a Claude Code or OpenAI Codex session — user/assistant turns, thinking/reasoning, tool calls and results, and any subagent transcripts rendered inline.

## When to invoke

- User asks to "export the current session", "save this chat", "make an HTML of this conversation".
- User wants to share a session with someone who doesn't have the CLI installed.

## How to run

Two exporters sit next to this `SKILL.md` — use the one matching the CLI you're
running in. Use that directory's path (it may be project-local or under
`~/.claude/` or `~/.codex/`, so don't hardcode a project-relative path):

```
# Claude Code
node <this-skill-dir>/export.js [session-id-or-path] [--no-redact]
# OpenAI Codex
node <this-skill-dir>/codex-export.js [session-id-or-path] [--no-redact]
```

Run from the working directory of the session you want to export. Auto-detection:

- **Claude Code** (`export.js`): newest main session jsonl under
  `<configDir>/projects/<encoded-cwd>/`, where configDir is `$CLAUDE_CONFIG_DIR`
  if set, else `~/.claude` (skips `agent-*.jsonl` siblings and empty stubs).
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add y-a-v-a/session-export/session-export@sha256:7757cec63d02d736

The line at the top of this page pins the label git:20261107.a2e3ef4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mdmejtbtj4w65u4n.svg)](https://markdownregistry.com/a/art_mdmejtbtj4w65u4n)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 7, 2026 and Nov 7, 2026, about one every 38 days.

versioncommittedcommitsizeaudit
git:20261107.a2e3ef4 latest2026-11-07 a2e3ef4 3,868 BB view · diff
git:20260630.305cde82026-06-30 305cde8 3,731 BB view · diff
git:20260630.fabd6962026-06-30 fabd696 3,718 BB view · diff
git:20260616.daf13392026-06-16 daf1339 3,640 BB view · diff
git:20260607.5ad3f0a2026-06-07 5ad3f0a 3,357 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3868 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

y-a-v-a/session-export · 3 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mdmejtbtj4w65u4n
GET https://markdownregistry.com/api/v1/resolve?ref=y-a-v-a/session-export/session-export
GET https://markdownregistry.com/api/v1/blob/7757cec63d02d7369a7da4562f9b46167ccf32d8032dc7158db71d2d6269ef21

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from y-a-v-a/session-export

render-loop SKILL.md skill
y-a-v-a/session-export · .claude/skills/render-loop/SKILL.md · Project-local dev feedback loop for the session-export renderer. Use when asked to check, fix, or improve how a Claude…
git:20261107.a2e3ef4 · audit B · 3 stars

Every file in y-a-v-a/session-export

Other files named session-export

session-export SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/context-handoff/skills/session-export/SKILL.md · Export a Claude Code session as Markdown, HTML, or JSON. Use when the user wants to save, archive, share, or re-read a…
git:20261027.caa05e7 · audit A · 3 stars

Browse by kind, by grade B, or by owner.