export-opencode-sessions

Community

Export OpenCode sessions as readable transcripts.

Authorbrianlan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

OpenCode stores session histories in a database, which are difficult to audit, back up, or present to stakeholders. This skill exports matching sessions to individual files for easy archiving and review.

Core Features & Use Cases

  • Export by project directory and time window: finds sessions that match a path and time range and writes one folder per session with raw JSON or transcript Markdown.
  • Flexible output formats and layouts: exports in raw JSON or Markdown transcripts, with options for per-session, tree, or flat layouts.
  • Audit-ready artifacts: generates an index.json summarizing the export for quick audits and traceability.

Quick Start

Run the exporter with a project directory, a start time, an end time, and an output directory to generate per-session artifacts.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: export-opencode-sessions
Download link: https://github.com/brianlan/improved-ai-agent/archive/main.zip#export-opencode-sessions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.