Agent skill

share-log

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/share-log

SKILL.md

Share Conversation Log

Creates a private Gist containing the current Claude Code conversation.

Arguments

$ARGUMENTS

Optional description to include in the Gist filename. Defaults to "conversation".

Instructions

1. Determine Filename

Use the argument if provided, otherwise default to "conversation":

claude-conversation-<description>.md

Sanitize the description: lowercase, replace spaces with hyphens, keep only alphanumeric and hyphens.

2. Extract Session and Create Gist

Extract only the current session and pipe directly to a secret Gist:

bash
~/.claude/skills/share-log/claude-extract-session "${CLAUDE_SESSION_ID}" \
  | gh gist create --filename "claude-conversation-<description>.md" -

The shim:

  • Takes the current session ID (provided by the ${CLAUDE_SESSION_ID} substitution)
  • Extracts only that session with --detailed output
  • Writes markdown to stdout (no files created on disk)
  • Pipes directly to gh gist create (secret by default)

3. Report Result

Output the Gist URL to the user. The Gist is secret (not listed publicly, but accessible via URL).

Examples

/share-log                          -> claude-conversation-conversation.md
/share-log debugging auth issue     -> claude-conversation-debugging-auth-issue.md
/share-log refactoring-session      -> claude-conversation-refactoring-session.md

Edge Cases

  • No session ID: Error - ${CLAUDE_SESSION_ID} should always be available
  • gh not authenticated: Prompt user to run gh auth login
  • claude-extract not installed: Direct user to install it

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results