# Gh Gist

> Manage GitHub Gists via gh CLI.

- Skill: `andersonlimahw/gh-gist` (Agent Skill)
- Install (CLI): `npx skillmds@latest add andersonlimahw/gh-gist`
- Raw SKILL.md: https://api.skillmd.com/api/skills/andersonlimahw/gh-gist/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Andersonlimahw (https://skillmd.com/u/andersonlimahw)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/andersonlimahw/gh-gist

---


# GitHub Gist Skill

Create, list, view, edit, delete, rename, and clone gists.

## Capabilities
- Create gist: `gh gist create <file> --desc "<description>" --public|--private`
- Create from stdin: `echo "<content>" | gh gist create --filename <name>`
- List gists: `gh gist list --limit <n> --public|--secret`
- View gist: `gh gist view <id> --raw` or `--files <filename>` or `--web`
- Edit gist: `gh gist edit <id> --add <file>` or `--remove <filename>`
- Delete gist: `gh gist delete <id>`
- Rename file: `gh gist edit <id> --rename <old>:<new>`
- Clone gist: `gh gist clone <id> <dir>`

## Usage
Triggered when user says "gist", "create gist", "share code snippet", "list gists".
Use `--public` for shareable snippets, `--secret` for private. Note: "secret" gists are still accessible via URL.

