workbench

module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2025 License: GPL-3.0

README

Claude Coding

A Claude Code plugin that exports conversation threads to shareable links via GitHub Gists.

This is inspired by ampcode.com threads.

https://github.com/user-attachments/assets/cf3db6b9-964a-4a31-8f13-3c1f32238f11

Features

  • Exports Claude Code sessions to self-contained HTML files
  • Creates shareable preview links via GitHub Gists
  • Session Linking: Navigate between related sessions with Previous/Next links
    • When you use /clear to start a new session, it automatically links to the previous session
    • Exported gists include navigation to browse your session history within a single claude code terminal session.

Installation

Prerequisites
  • Go 1.20+
  • Claude Code installed and set up
  • gh CLI installed and authenticated (for Gist creation)
Install as Claude Code Plugin
# 1. Install the CLI binary
go install github.com/73ai/workbench/cmd/workbench@latest

# 2. Start Claude Code
claude

# 3. Add the marketplace from GitHub
/plugin marketplace add 73ai/workbench

# 4. Install the plugin
/plugin install workbench@73ai

NOTE: Enable auto-updates for the plugin when adding marketplace and installing plugin to get the latest features and fixes.

Usage

After installing the plugin, use the /share command in Claude Code:

/workbench:share

This creates a GitHub Gist and returns a shareable preview link.

Session Linking with /clear

When you use /clear to start a new conversation within the same project, the plugin automatically tracks session relationships:

  1. Your sessions form a linked chain (Session A → Session B → Session C)
  2. When you /share, the exported HTML includes navigation links
  3. Viewers can browse through your session history using Previous/Next links
  4. All linked session gists are automatically updated with the correct navigation

How It Works

Claude Code stores conversation data in JSONL files at:

~/.claude/projects/{encoded-project-path}/{session-id}.jsonl

When you run /share:

  1. The plugin finds your current session
  2. Parses the conversation messages
  3. Converts to a self-contained HTML file with syntax highlighting
  4. Creates/updates a GitHub Gist
  5. Returns a preview URL via gistpreview.github.io

Contributing

See CONTRIBUTING.md for development setup, architecture details, and coding guidelines.

Directories

Path Synopsis
cmd
workbench command
generic
internal
scripts
session_end command
session_start command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL