A straightforward way to publish files or notes as GitHub Gists directly from Claude. It wraps the gh CLI (or falls back to the GitHub API) and handles both public and secret gists with options for custom descriptions, filenames, and browser opening. Useful when you're iterating with Claude on code or markdown and want to quickly share a snapshot without creating a full repo. Defaults to secret gists, which is the right call since most throwaway shares don't need to clutter your public profile. The JSON output and URL-only mode make it easy to pipe into other workflows. Works with stdin too, so you can echo content straight into a gist.

skills.sh installs
245
GitHub stars
412
last updated
Aug 21, 2026

Install

$ npx -y skills add glebis/claude-skills --skill github-gist --agent claude-code

Installs into .claude/skills of the current project.

Files

GitHub Gist Publisher

Publish any file as a GitHub Gist for easy sharing.

Prerequisites

Uses gh CLI by default. Ensure you're authenticated:

gh auth status
# If not authenticated: gh auth login

Fallback: Set GITHUB_GIST_TOKEN env var with gist scope.

Usage

# Publish file as secret (unlisted) gist - DEFAULT
python3 scripts/publish_gist.py /path/to/file.md

# Publish as public gist (visible in your profile)
python3 scripts/publish_gist.py /path/to/file.md --public

# Custom description
python3 scripts/publish_gist.py /path/to/file.md -d "My awesome note"

# Override filename in gist
python3 scripts/publish_gist.py /path/to/file.md -f "readme.md"

# From stdin
echo "Hello" | python3 scripts/publish_gist.py - -f "hello.txt"

# Just get URL
python3 scripts/publish_gist.py /path/to/file.md --url-only

# Create and open in browser
python3 scripts/publish_gist.py /path/to/file.md --open

Options

Sponsors

Details

Repository
github.com/glebis/claude-skills
Categories
Git & Pull Requests, Release Management, Office & Documents
First seen
Jun 3, 2026

More from glebis/claude-skills

All 22
1sickn33 avatarperformance-testing-review-ai-reviewsickn33/antigravity-awesome-skillsperformance testing review ai review244skills.sh installs
2sickn33 avatarchangelog-automationsickn33/antigravity-awesome-skillschangelog automation242skills.sh installs
3ykdojo avatarreview-claudemdykdojo/claude-code-tipsReview recent conversations to find improvements for CLAUDE.md files.239skills.sh installs
4meleantonio avatarlit-review-assistantmeleantonio/awesome-econ-ai-stuffSearch, summarize, and synthesize economics literature238skills.sh installs
5bencium avatarvanity-engineering-reviewbencium/bencium-claude-code-design-skillvanity engineering review236skills.sh installs
6existential-birds avatarpytest-code-reviewexistential-birds/beagleReviews pytest test code for async patterns, fixtures, parametrize, and mocking. Use when reviewing test_*.py files, checking async test functions, fixture usag232skills.sh installs