zcodium-project/zcodium-community-famous-plugins-and-skills/gist
Claude Code and agent skill by zcodium-project/zcodium-community-famous-plugins-and-skills
- community
Checking that the SKILL.md file is still in the repository.
Create, view, edit, or delete GitHub gists for code and text sharing. Use when the user specifically asks to work with a gist, including public or secret gist visibility, not for files stored in a repository.
Install
npx vskill@latest install zcodium-project/zcodium-community-famous-plugins-and-skills/gistSKILL.md
GitHub Gists
Create or view gists using the GitHub CLI (gh).
Arguments
$ARGUMENTS
Format: [action] [args...]
create [filename]- Create a new gist (default action)view <gist_id>- View gist contentlist- List your gistsedit <gist_id>- Edit an existing gistdelete <gist_id>- Delete a gist
Examples
Instructions
Required GitHub CLI preflight
Before any workflow step, read ../../references/github-cli-preflight.md and complete it. Do not run workflow commands until gh installation and authentication are verified.
Create Gist (default)
- Check for staged/selected content:
- If filename provided, read that file
- If content is selected/provided, use that
- Otherwise, ask user what to include
- Prepare safe inputs:
- Require a filename. Validate it as a basename without path traversal.
- Write selected/provided content to a temporary file whose basename is the
intended gist filename. Never put gist content in echo, a generated shell command, or an interpolated heredoc.
- Write the optional description to a separate temporary text file, then
load it into a quoted variable.
- Prompt for gist options:
- Public or private (default: private)
- Description (optional)
- Filename
- Confirm public disclosure: For a public gist, show the verified host,
account, filename, and byte count, warn that deletion cannot reliably undo indexing or copies, and require explicit confirmation immediately before creation. A secret gist does not require this extra disclosure gate.
- Create the gist non-interactively:
``bash gist_description=$(<"$description_file") gh gist create "$content_file" --desc "$gist_description" [--public] ` GH_HOST from the preflight is mandatory because gh gist` does not accept a repository or hostname flag.
- Report gist URL to the user.
View Gist
List Gists
Edit Gist
Fetch the current filenames, require the user to identify the file being changed, write the replacement content to <content_file>, and generate a JSON request body with a JSON-aware tool or library. Do not open $EDITOR.
Delete Gist
After explicit user confirmation, use the non-interactive flag:
Output Format
After creation:
Error Handling
- If the GitHub CLI preflight fails, stop and follow its installation or
browser-authentication guidance; do not run the gist command.
- If gist not found: "Error: Gist '<id>' not found"
- If file not found: "Error: File '<filename>' not found"
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingzcodium-plugins/github/skills/gist/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zcodium-project/zcodium-community-famous-plugins-and-skills/gist)