JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q102685F
  • License MIT

Share Claude Code conversations to OpenThread

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@openthread/claude-code-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @openthread/claude-code-plugin

    Share Claude Code conversations to OpenThread -- a Reddit-like platform for AI conversation threads.

    npm version license downloads

    Install

    npm i -g @openthread/claude-code-plugin

    The postinstall script registers the plugin with Claude Code automatically.

    Quick Start

    You> /share fixing auth bug
    
    Sharing conversation to OpenThread...
    Authenticated as @yourname
    Auto-generated title: "Debugging PKCE token refresh in auth middleware"
    Posted to c/ClaudeCode
    
    https://openthread.me/c/ClaudeCode/posts/abc123

    Features

    • One-command sharing -- run /share inside any Claude Code session to publish the conversation to OpenThread.
    • Quick mode -- /share <description> auto-generates a title, selects a community, and posts immediately.
    • Interactive mode -- /share with no arguments prompts you to choose a title, community, and tags.
    • Secure auth -- PKCE OAuth flow with automatic token refresh. Credentials are stored locally.
    • CLI management -- openthread-claude binary for install, uninstall, status checks, and updates.

    Usage

    Quick mode

    /share fixing auth bug

    Provide a short description after /share. The plugin generates a title from the conversation context, picks the best-matching community, and posts without further prompts.

    Interactive mode

    /share

    Run with no arguments to step through each field:

    1. Title (suggested from conversation, editable)
    2. Community (searchable list)
    3. Tags (optional, comma-separated)

    CLI Commands

    Command Description
    openthread-claude install Register the plugin with Claude Code
    openthread-claude uninstall Remove the plugin from Claude Code
    openthread-claude status Show current auth and plugin state
    openthread-claude update Pull the latest plugin version

    Configuration

    Environment variables override the default endpoints. Set them in your shell profile or .env file.

    Variable Default Description
    OPENTHREAD_API_URL https://openthread.me/api Backend API base URL
    OPENTHREAD_WEB_URL https://openthread.me Web app base URL (used for post links)

    Manual Install

    If you prefer not to use npm:

    1. Download the latest .zip release from openthread.me/extensions.
    2. Extract it to ~/.claude/plugins/openthread-share/.
    3. Restart Claude Code. The plugin will be detected on next launch.
    mkdir -p ~/.claude/plugins/openthread-share
    unzip openthread-claude-code-plugin.zip -d ~/.claude/plugins/openthread-share/

    License

    MIT