Skip to content

Publish files or notes as GitHub Gists, secret by default, with optional public visibility.

CCM score
61 of 100
skills.sh installs
247
GitHub stars
416
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers publishing a file, stdin input, or Obsidian note as a Gist via scripts/publish_gist.py
  • Includes flags for --public, -d description, -f filename override, --url-only, and --open
  • Defaults to a secret (unlisted) Gist, and falls back to the API when gh CLI is unavailable
  • Designed for quick sharing of code snippets or markdown notes, triggered by phrases like "create gist"

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/glebis/claude-skills
Categories
Git & Releases, Technical Documentation, Productivity & Notes
First seen
Jun 3, 2026

Questions

What does the github-gist skill do?

The github-gist skill publishes files or Obsidian notes as GitHub Gists for easy sharing. It creates secret, unlisted gists by default, or public gists with the --public flag.

How do I install the github-gist skill?

Run npx -y skills add glebis/claude-skills --skill github-gist -y in a project to install it. Once installed, the agent can publish files as gists when you ask it to publish as gist, create gist, or share on github.

What do I need before using github-gist?

The skill uses the gh CLI by default, so you need to be authenticated with GitHub. If you are not, run gh auth login, or set a GITHUB_GIST_TOKEN environment variable with gist scope as a fallback.

Where does github-gist stand in the Git & Releases category?

The github-gist skill is listed in the Git & Releases category on Claude Marketplaces, alongside triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. It focuses on sharing files and notes as gists rather than on commits, pull requests or releases.

More from glebis/claude-skills

All 22

Similar to Github Gist

More Git & Releases