Manage GitHub gists - create, edit, list, and share code snippets using gh CLI
Create, edit, list, and share code snippets using GitHub gists via the gh CLI. Use when you need to quickly share code snippets, backup configuration files, or collaborate on small code pieces without creating a full repository.
/plugin marketplace add Nice-Wolf-Studio/agent-github-skills/plugin install nice-wolf-studio-github-skills@Nice-Wolf-Studio/agent-github-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
This skill provides operations for managing GitHub Gists - simple way to share code snippets, notes, and small files.
Create new gists (public or secret).
View your gists or public gists.
Display gist content.
Update gist files and description.
Remove a gist.
Clone gist as a Git repository.
Star gists to save them.
Fork someone else's gist.
Create from file:
gh gist create myfile.js --desc "Useful JavaScript function"
Create public gist:
gh gist create myfile.py --public --desc "Python script"
Create secret gist:
gh gist create config.yaml --desc "Configuration file"
Create from multiple files:
gh gist create file1.js file2.js file3.js --desc "Project files"
Create from stdin:
echo "console.log('Hello')" | gh gist create --filename hello.js --desc "Hello world"
Create in browser:
gh gist create myfile.txt --web
List your gists:
gh gist list
Limit results:
gh gist list --limit 50
List public gists only:
gh gist list --public
List secret gists only:
gh gist list --secret
View gist content:
gh gist view abc123def456
View specific file:
gh gist view abc123def456 --filename myfile.js
View in browser:
gh gist view abc123def456 --web
View raw content:
gh gist view abc123def456 --raw
Edit gist file:
gh gist edit abc123def456 --filename myfile.js
Add file to gist:
gh gist edit abc123def456 --add newfile.js
Update description:
# Use API
gh api gists/abc123def456 -X PATCH -f description="Updated description"
Delete gist:
gh gist delete abc123def456
Delete with confirmation:
gh gist delete abc123def456 --confirm
Clone gist as Git repo:
gh gist clone abc123def456
Clone to specific directory:
gh gist clone abc123def456 my-gist-folder
Using API to star:
gh api gists/abc123def456/star -X PUT
Unstar:
gh api gists/abc123def456/star -X DELETE
Check if starred:
gh api gists/abc123def456/star
List starred gists:
gh api gists/starred --jq '.[] | {id, description, files: .files | keys}'
Fork using API:
gh api gists/abc123def456/forks -X POST --jq '{id, url: .html_url}'
# Share a code snippet
cat script.sh | gh gist create --filename script.sh --desc "Deployment script" --public
# Get the URL
gh gist list --limit 1
# Backup dotfiles
gh gist create ~/.bashrc ~/.vimrc --desc "My dotfiles backup"
# Create gist
gh gist create notes.md --public --desc "Meeting notes"
# Others can fork and modify
# gh gist fork abc123def456
repository-management for full projectscode-review discussionsCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.