From cass
This skill should be used when the user asks to "export session", "save conversation", "share session", "create HTML report", "export to markdown", "download session", "archive conversation", "export chat history", "create session report", or needs to export a coding agent session to markdown, text, JSON, HTML, or encrypted HTML format for sharing, archiving, or review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cass:session-exportThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Export coding agent sessions to various formats for sharing, archiving, or review.
Export coding agent sessions to various formats for sharing, archiving, or review. Supports markdown, plain text, JSON, HTML, and self-contained encrypted HTML.
First, locate the session you want to export:
# Current session
cass sessions --current --json
# Recent sessions for this project
cass sessions --workspace "$(pwd)" --json --limit 10
# Search for a specific session
cass search "<topic>" --json --fields summary --limit 10
# Basic markdown export to stdout
cass export <session_path>
# Save to file
cass export <session_path> -o conversation.md
# Include tool usage details
cass export <session_path> --include-tools -o conversation.md
# Include skill content
cass export <session_path> --include-tools --include-skills -o conversation.md
# Plain text
cass export <session_path> --format text -o conversation.txt
# JSON (structured)
cass export <session_path> --format json -o conversation.json
# HTML
cass export <session_path> --format html -o conversation.html
For beautiful, shareable reports with optional encryption:
# Self-contained HTML (no external dependencies)
cass export-html <session_path> --filename report.html
# Encrypted HTML (AES-256-GCM) — recipient needs password to view
cass export-html <session_path> --encrypt --password "secret" --filename report.html
The HTML export is fully self-contained — CSS, JS, and content are all embedded in a single file that can be opened in any browser.
# Find the session
cass search "the fix for auth bug" --json --fields summary --limit 5
# Export with full tool details
cass export <session_path> --include-tools --format html -o auth-fix-session.html
# List all sessions for a project
cass sessions --workspace /path/to/project --json --limit 50
# Export each (in a script or one at a time)
cass export <session_path> -o archive/session-001.md
# Encrypted HTML — safe to share via email or upload
cass export-html <session_path> --encrypt --password "secret" --filename confidential-report.html
Include tool usage to see exactly what changes were made:
cass export <session_path> --include-tools --format markdown -o review.md
| Format | Flag | Best For |
|---|---|---|
| Markdown | --format markdown (default) | Documentation, README inclusion |
| Text | --format text | Simple sharing, grep-friendly |
| JSON | --format json | Programmatic processing |
| HTML | --format html | Browser viewing |
| Self-contained HTML | cass export-html | Sharing, archiving, offline viewing |
| Flag | Description |
|---|---|
--format <FMT> | markdown, text, json, html |
-o, --output <FILE> | Output file (stdout if omitted) |
--include-tools | Include tool use details |
--include-skills | Include skill content (stripped by default for privacy) |
--source <SOURCE> | Source ID for remote sessions |
cass sessions --current to quickly find the active session path.--include-tools when exporting for code review or debugging.cass export-html for self-contained reports that work offline.--include-skills unless needed — skill content is stripped by default for privacy.--format json when you need to programmatically process the export.npx claudepluginhub asragab/asragab-claude-marketplace --plugin cassProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.