Gist icon

Gist

GitHub Gist service for code snippets, comments, stars, forks, and public or private file sharing.

Supports snippet sharing that creates and forks gists, comments on them, stars favorites, and removes outdated entries.

Example Use Cases

These are the Gist actions Snow can use when building apps with you. Connecting an account does not make Snow run these on its own.

Create Gist

Tool to create a new gist with one or more files. Use when you need to create a code snippet or text file to share. Note: Do not name your files 'gistfile' with a numerical suffix.

Get Gist

Tool to retrieve a specific gist by its ID. Use when you have a gist_id and need complete gist details.

List Gists

Tool to list the authenticated user's gists or all public gists if called anonymously. Use after setting a valid GitHub token in headers.

Check Gist Star

Check if the authenticated user has starred a specific gist. Returns True if the gist is starred, False if not starred or if the gist doesn't exist. This is a read-only, idempotent operation that requires authentication but no special permissions.

Create Gist Comment

Tool to create a comment on a gist. Use when you need to add a comment to an existing gist.

Delete Gist

Tool to delete a gist. Use when you have a gist_id and want to permanently remove that gist. Example prompt: "Delete gist 'aa5a315d61ae9438b18d'".

Delete Gist Comment

Tool to delete a comment on a gist. Use when you have both the gist_id and comment_id and want to remove that comment. Example prompt: "Delete comment 42 from gist 'aa5a315d61ae9438b18d'".

Fork Gist

Tool to fork a gist. Use when you need to create a copy of an existing gist under your own account.

Get Gist Comment

Tool to get a specific comment on a gist. Use when you need to retrieve details of a particular comment given gist_id and comment_id.

Get Gist Revision

Tool to retrieve a specific gist revision. Use when you need details of a past state for an existing gist by commit SHA.