session-export

Generate a structured Markdown session summary with a JSON block from OpenCode.

Updated Jun 22, 2024
One-click install
npx skills add https://github.com/Dyrean/dotfiles --skill session-export-dyrean
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-export
Source: https://github.com/Dyrean/dotfiles/tree/main/opencode/.config/opencode/skills/session-export
Command: npx skills add https://github.com/Dyrean/dotfiles --skill session-export-dyrean

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI sessions generate scattered notes and context. This skill consolidates the session into a single, readable Markdown document that preserves both narrative context and structured data for machine parsing.

Core Features & Use Cases

  • Structured summary: captures key actions, decisions, and outcomes.
  • Machine-readable data: includes a JSON block with title, models used, and actions.
  • Archival and sharing: easy to store, search, and share with teammates or future you.

Quick Start

Run the OpenCode export command to generate a local session_summary.md for the current session.

Frequently Asked Questions about session-export

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I export an AI session to Markdown for archival?

Export an AI session to Markdown by generating a structured summary that captures key actions, decisions, and outcomes into a readable document. This consolidated Markdown file preserves narrative context and structured data for easy archiving and sharing.

Does the Markdown session summary include machine-readable data?

Yes, the Markdown session summary includes a machine-readable JSON block. This JSON block details the session title, models used, and actions taken, making the exported document suitable for both human reading and machine parsing.

Can I share AI session logs with my team for offline access?

Yes, you can share AI session logs for offline access by exporting them into a single Markdown document. This summarized file is easy to store, search, and share with teammates, preserving both the narrative context and structured data.

What is the best way to document AI actions and decisions taken during a session?

The best way to document AI actions and decisions is to generate a structured Markdown session summary. It captures key actions, decisions, and outcomes from the active session, relying on session context to produce a deterministic, human-readable document.