export-session-as-markdown

Convert opencode session transcripts to GitHub-flavored Markdown.

8|1|Updated Feb 25, 2022
One-click install
npx skills add https://github.com/ayubun/dotfiles --skill export-session-as-markdown
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: export-session-as-markdown
Source: https://github.com/ayubun/dotfiles/tree/main/configs/opencode/skills/ed3d-session-reflection/export-session-as-markdown
Command: npx skills add https://github.com/ayubun/dotfiles --skill export-session-as-markdown

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for converting opencode session transcripts into a human-readable format for better sharing, collaboration, and review.

Core Features & Use Cases

  • Markdown Conversion: Transforms session transcripts into GitHub-flavored Markdown format.
  • Session Selection: Allows users to export the most recent non-active session or a specific session by ID or title.
  • Output Path Customization: Enables users to specify an output path for the Markdown file or defaults to the current working directory with a descriptive filename.
  • Use Case: Ideal for converting session transcripts into a format that is easy to read in markdown viewers or documentation platforms.

Quick Start

Export the current session to Markdown by running: export-session-as-markdown.

Frequently Asked Questions about export-session-as-markdown

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

FAQPage Schema
How do I convert an opencode session transcript to Markdown?

To convert an opencode session transcript to Markdown, use a Python script that transforms the session into GitHub-flavored Markdown format. You can select the most recent non-active session or specify a session by ID for the conversion.

Can I export a specific opencode session by ID to a Markdown file?

Yes, you can export a specific opencode session by ID to a Markdown file. The conversion process supports session selection by ID or title, allowing you to target specific transcripts for Markdown export.

Do I need the opencode CLI to export session transcripts as Markdown?

Yes, you need the opencode CLI and a Python script to export session transcripts as Markdown. The CLI manages the session data, while the script handles the conversion into a human-readable format.

How do I specify the output path when exporting an opencode session transcript?

You can specify an output path when exporting an opencode session transcript to define where the Markdown file is saved. If no path is provided, it defaults to the current working directory with a descriptive filename.

What is the best way to share opencode session transcripts for collaboration?

The best way to share opencode session transcripts for collaboration is converting them into GitHub-flavored Markdown format. This produces a human-readable file that is easy to view in markdown viewers or documentation platforms.

Are there limitations to converting opencode session transcripts to Markdown?

A limitation of converting opencode session transcripts to Markdown is that it relies on a Python script and the opencode CLI. You must select either the most recent non-active session or a specific session by ID for the conversion to work.