github-gist

Publish files or stdin content as GitHub Gists with visibility options.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/KISHOR403/claude-skills --skill github-gist-kishor403
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-gist
Source: https://github.com/KISHOR403/claude-skills/tree/main/github-gist
Command: npx skills add https://github.com/KISHOR403/claude-skills --skill github-gist-kishor403

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

Publish files or notes as GitHub Gists to share code or notes quickly and publicly or privately.

Core Features & Use Cases

  • Publish a file as a gist with default secret visibility, or public with --public.
  • Override the gist filename and add a custom description for clarity.
  • Accept input from stdin for rapid snippet sharing and optionally open the created gist in a browser.

Quick Start

Publish a file as a gist by running the tool against your file path.

Frequently Asked Questions about github-gist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish a file as a GitHub Gist from the command line?

You can publish a file as a GitHub Gist by running the tool against your file path. It uploads the content directly and creates a shareable link using either the gh CLI or the GitHub API.

Can I create a public GitHub Gist instead of a secret one?

Yes, you can create a public GitHub Gist by using the --public option. By default, the tool publishes files and notes as secret gists to keep your code snippets private until you choose to share them.

Does publishing a GitHub Gist require authentication?

Yes, publishing a GitHub Gist requires authentication to succeed. The tool supports both the gh CLI and a GitHub API fallback, meaning you must be properly authenticated through either method to upload snippets.

What is the best way to share code snippets from stdin as a GitHub Gist?

The best way to share stdin content as a GitHub Gist is to pipe your input directly into the tool. It accepts stdin-based content for rapid snippet sharing and can optionally open the created gist in a browser.

How do I override the filename and add a description when uploading a GitHub Gist?

You can override the default filename and add a custom description for your GitHub Gist by specifying these options when running the tool. This provides clarity and context for the shared notes or code.

What happens if the gh CLI is not available when creating a GitHub Gist?

If the gh CLI is not available, the tool falls back to the GitHub API to publish your GitHub Gist. As long as you have valid authentication, the snippet sharing process will still succeed using this fallback mechanism.