gh-gist

Create, update, and publish files to GitHub Gists using the gh CLI.

1|Updated Jun 1, 2025
One-click install
npx skills add https://github.com/rcdailey/dotfiles --skill gh-gist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-gist
Source: https://github.com/rcdailey/dotfiles/tree/main/home/dot_config/opencode/exact_skills/gh-gist
Command: npx skills add https://github.com/rcdailey/dotfiles --skill gh-gist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines creating, updating, and sharing content via GitHub Gists from the command line, eliminating back-and-forth with manual file uploads.

Core Features & Use Cases

  • Local-first workflow to prepare files before publishing to a gist.
  • gh CLI commands for gist create, update, and view operations.
  • Optimized iterative editing guidance to reduce token usage during revisions.

Quick Start

Start by creating a local file, then push it to a gist with gh gist create.

Frequently Asked Questions about gh-gist

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

FAQPage Schema
How do I create and share GitHub Gists from the command line?

To create and share GitHub Gists from the command line, prepare a local file and use the gh gist create command to publish it for quick external sharing of documents and code snippets.

Can I update an existing GitHub Gist using the gh CLI?

Yes, you can update an existing GitHub Gist using gh CLI commands. The workflow supports iterative editing of proposals and design notes, providing optimized revision guidance to reduce token usage during updates.

What is the best way to manage iterative documentation in GitHub Gists?

The best way to manage iterative documentation in GitHub Gists is using a local-first workflow. Prepare files locally before publishing, then use optimized gh CLI commands to update gists efficiently and reduce token consumption.

Do I need the gh CLI installed to publish content to a GitHub Gist?

Yes, you need the gh CLI installed to publish content to a GitHub Gist. This skill provides gh gist commands for create, update, and view operations, relying on the CLI to enable quick external sharing.

Why use a local-first workflow before publishing to a GitHub Gist?

Use a local-first workflow before publishing to a GitHub Gist to prepare and refine files iteratively. This approach minimizes token usage during revisions and streamlines external review of proposals and design notes.

When should I use GitHub Gists for sharing code snippets?

Use GitHub Gists for sharing code snippets when you need quick external sharing for iterative documentation, proposals, or design notes that require external review. It eliminates manual file uploads and streamlines command line publishing.