Agent skill

GitHub Gist

by glebis in glebis/claude-skills

Publish files or Obsidian notes as GitHub Gists. An agent skill from glebis/claude-skills.

MITAuto-check passedKnowledge Management

Install GitHub Gist

skills CLI
$ npx skills add glebis/claude-skills --skill github-gist -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install glebis/claude-skills github-gist --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/glebis/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/github-gist .claude/skills/github-gist && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
github-gist
GitHub stars
389
Token cost
~451 tokens
SKILL.md length
73 words
Files
3 (incl. scripts)
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Publish files or Obsidian notes as GitHub Gists. An agent skill from glebis/claude-skills.

  • User wants to share code/notes publicly
  • SKILL.md covers Prerequisites, Usage, Options and Output, plus 1 more section
  • Runs Python scripts from its folder; calls python3 and gh; reaches gist.github.com; needs GITHUB_GIST_TOKEN
  • Create quick shareable snippets

What it does

GitHub Gist is an agent skill from glebis/claude-skills. Publish files or Obsidian notes as GitHub Gists. Use when user wants to share code/notes publicly, create quick shareable snippets, or publish markdown to GitHub. Triggers include "publish as gist", "create gist", "share on github", "make a gist from this".

Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `.claude-plugin/plugin.json` and `scripts/publish_gist.py`).

It sits in Knowledge Management, covering Note-taking. It works with GitHub. The repository describes itself as: Collection of Claude Code skills for enhanced AI workflows. The licence is MIT.

When your agent uses it

  • User wants to share code/notes publicly
  • Create quick shareable snippets
  • Publish markdown to GitHub
  • Include publish as gist

Example prompts

  • “publish as gist”
  • “create gist”
  • “share on github”
  • “/github-gist”

Requirements

  • Python 3
  • A credential in GITHUB_GIST_TOKEN

What it can do on your machine

Read from SKILL.md and the folder at commit 7524dff. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • gist.github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GITHUB_GIST_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

GitHub Gist loads about 451 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 73 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~451

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from glebis/claude-skills at commit 7524dff, republished under its MIT licence (© glebis). 73 words, ~451 tokens.

Download SKILL.mdSave it as .claude/skills/github-gist/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
github-gist
description
Publish files or Obsidian notes as GitHub Gists. Use when user wants to share code/notes publicly, create quick shareable snippets, or publish markdown to GitHub. Triggers include "publish as gist", "create gist", "share on github", "make a gist from this".

GitHub Gist Publisher

Publish any file as a GitHub Gist for easy sharing.

Prerequisites

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

bash
gh auth status
# If not authenticated: gh auth login

Fallback: Set GITHUB_GIST_TOKEN env var with gist scope.

Usage

bash
# 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

json
{
  "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

© glebis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in github-gist of glebis/claude-skills.

  • SKILL.md
  • .claude-plugin/plugin.json
  • scripts/publish_gist.py

Open the folder on GitHubat commit 7524dff

Compare with similar skills

GitHub Gist next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GitHub Gist compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GitHub Gist this skillglebis/claude-skills389—~451Automated safety check: PassMIT
Xs Note Takingkaraage0703/ai-assistant-workspace136—~633Automated safety check: PassMIT
Qmdalsk1992/CloddsBot2.9k3 repos~1.2kAutomated safety check: PassMIT
Video Transcriptsudecode/plate17k—~1.5kAutomated safety check: PassCustom licence
LLM Wikilewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone
Obsidian Canvas BoardsAgriciDaniel/claude-obsidian15k—~1.4kAutomated safety check: PassMIT

Similar skills

  • Xs Note Taking

    karaage0703/ai-assistant-workspace

    notes/ディレクトリへのメモ保存スキル。調査結果、企画、アイデア、会議メモなどを保存する時に使用。「メモして」「ノートにまとめて」「notesに保存」「notesにまとめて」「まとめておいて」で発動。「最近のメモ教えて」「メモの内容教えて」でメモ一覧・内容確認も可能。

    136 GitHub stars~633 tokensUpdated 14 days ago
    Knowledge ManagementAuto-check passed
  • Qmd

    alsk1992/CloddsBot

    Local hybrid search for markdown notes and docs. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub starsUsed in 3 repos~1.2k tokens
    Knowledge ManagementAuto-check passed
  • Video Transcripts

    udecode/plate

    Generate structured video transcripts from local files or video URLs using Gemini Files API.

    17k GitHub stars~1.5k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • LLM Wiki

    lewislulu/llm-wiki-skill

    Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • Obsidian Canvas Boards

    AgriciDaniel/claude-obsidian

    Creates, inspects and updates Obsidian JSON Canvas boards in a vault, with text, file, link, group and edge nodes, using safe recoverable edits.

    15k GitHub stars~1.4k tokensUpdated 27 days ago
    Knowledge ManagementAuto-check passed
  • Para Memory Files

    paperclipai/paperclip

    Use a file-based PARA memory system to store, retrieve, and organize durable knowledge across sessions.

    99k GitHub starsUsed in 1 repo~909 tokens
    Knowledge ManagementAuto-check passed

More from glebis/claude-skills

All 91 skills in this repo
  • Runs a human-first workflow for labeling PII spans in a transcript, then scores inter-annotator agreement and drafts an adjudicated gold set.

    389 GitHub stars~1.3k tokensUpdated 11 days ago
    Auto-check passed
  • Automates a dedicated, logged-in Chrome instance per profile without ever closing the user's own open tabs or browser windows.

    389 GitHub stars~973 tokensUpdated 11 days ago
    Auto-check passed
  • Deep Research

    glebis/claude-skills

    This skill should be used when conducting comprehensive research on any topic using the OpenAI Deep Research API.

    389 GitHub stars~2.6k tokensUpdated 11 days ago
    Auto-check: notes
  • Elimination Research

    glebis/claude-skills

    This skill should be used for elimination-style research where the user wants to choose from a shortlist of products, tools, services, vendors, or other options using explicit criteria, numeric…

    389 GitHub stars~1.6k tokensUpdated 11 days ago
    Auto-check passed
  • Narrated HTML Presentations

    glebis/claude-skills

    Generates a self-contained HTML presentation with article and slides modes, ElevenLabs voiceover narration and optional GPT Image 2 illustrations.

    389 GitHub stars~2.3k tokensUpdated 11 days ago
    Auto-check: notes
  • Writes fictional but realistic coaching or therapy session transcripts for evals, demos and few-shot examples, in several modalities and export formats.

    389 GitHub stars~2.9k tokensUpdated 11 days ago
    Auto-check passed

Works with

Questions about GitHub Gist

What does GitHub Gist do?

Publish files or Obsidian notes as GitHub Gists. An agent skill from glebis/claude-skills. GitHub Gist is an agent skill from glebis/claude-skills. Publish files or Obsidian notes as GitHub Gists.

When should I use GitHub Gist?

GitHub Gist fits situations like: user wants to share code/notes publicly; create quick shareable snippets; publish markdown to GitHub; include publish as gist.

How do I install GitHub Gist in Claude Code?

Run `npx skills add glebis/claude-skills --skill github-gist -a claude-code`. Or copy the skill folder (github-gist in glebis/claude-skills) into .claude/skills/github-gist in your project. Claude Code loads it when a task matches its description.

How do I install GitHub Gist in Codex?

Run `npx skills add glebis/claude-skills --skill github-gist -a codex`. Or copy the skill folder (github-gist in glebis/claude-skills) into .agents/skills/github-gist in your project. Codex loads it when a task matches its description.

Can I use GitHub Gist in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add glebis/claude-skills --skill github-gist -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/github-gist, .gemini/skills/github-gist, .github/skills/github-gist and .opencode/skills/github-gist in your project.

What does GitHub Gist need to run?

Going by SKILL.md and its folder, GitHub Gist needs Python for the scripts in its folder, the command-line tools its instructions call (python3 and gh) and credentials named GITHUB_GIST_TOKEN. Our summary lists: Python 3; A credential in GITHUB_GIST_TOKEN.

Does GitHub Gist access the network?

SKILL.md names 1 domain. In commands or code: gist.github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is GitHub Gist safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does GitHub Gist use?

GitHub Gist is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GitHub Gist use?

About 451 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to GitHub Gist?

Skills that share tags, products or a category with GitHub Gist: Xs Note Taking (karaage0703/ai-assistant-workspace, 136 stars), Qmd (alsk1992/CloddsBot, 2.9k stars), Video Transcripts (udecode/plate, 17k stars) and LLM Wiki (lewislulu/llm-wiki-skill, 655 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GitHub Gist?

glebis (a GitHub user) maintains it in glebis/claude-skills, which has 389 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on September 26, 2026.

Source: glebis/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.