Agent skill
share-log
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:
~/.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
--detailedoutput - 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?