Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
glebis avatar

Github Gist

  • 217 installs
  • 339 repo stars
  • Updated August 4, 2026
  • glebis/claude-skills

Publish small code samples, repro scripts, or config snippets to GitHub Gists from an agent session when a full commit or repo change is unnecessary.

About

The github-gist skill teaches Claude Code to create, update, and manage GitHub Gists so small files and text bundles can be published as shareable URLs during development, ideal for repro steps, config examples, and lightweight documentation outside the main repository.

  • Creates and updates public or private Gists from the agent
  • Shares reproducible snippets without opening a pull request
  • Useful for bug repros, one-off utilities, and quick handoffs
  • Keeps GitHub as the canonical pasteboard for small artifacts

Github Gist by the numbers

  • 217 all-time installs (skills.sh)
  • Ranked #170 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/glebis/claude-skills --skill github-gist

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs217
repo stars339
Last updatedAugust 4, 2026
Repositoryglebis/claude-skills

What it does

Publish small code samples, repro scripts, or config snippets to GitHub Gists from an agent session when a full commit or repo change is unnecessary.

Files

SKILL.mdMarkdownGitHub ↗

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

FlagDescription
--publicCreate public gist (default is secret/unlisted)
-d, --descriptionGist description
-f, --filenameOverride filename
--url-onlyOutput only URL
--openOpen in browser
--apiForce API instead of gh CLI

Output

{
  "url": "https://gist.github.com/user/abc123",
  "id": "abc123",
  "public": false,
  "filename": "file.md"
}

Example

Session log published with this skill: https://gist.github.com/glebis/3faaae6b907123929220e81add51a567

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.