read-gist

Retrieve GitHub gist contents from a URL or ID.

Updated May 14, 2026
One-click install
npx skills add https://github.com/HabibTorjmen/Blockchain --skill read-gist-habibtorjmen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: read-gist
Source: https://github.com/HabibTorjmen/Blockchain/tree/main/aztec-packages/yarn-project/.claude/skills/read-gist
Command: npx skills add https://github.com/HabibTorjmen/Blockchain --skill read-gist-habibtorjmen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reading a GitHub gist often requires manually opening the webpage and copying contents, which slows down research and interrupts your workflow.

Core Features & Use Cases

  • Fetch gist contents: Retrieves raw gist text so you can read it directly in the chat context.
  • Support for multiple files: Lists filenames first when a gist contains more than one file, then returns the contents file-by-file.
  • Trigger-based URL handling: Activates specifically when the user asks to read, fetch, or view a gist URL from gist.github.com, including gist IDs.

Quick Start

Use the skill by providing the gist URL or ID, for example: "Read this gist: https://gist.github.com/<user>/<id>".

Frequently Asked Questions about read-gist

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

FAQPage Schema
How do I fetch raw content from a GitHub gist URL directly?

To fetch raw content from a GitHub gist URL, provide the link or ID to retrieve the text directly. This avoids manual web navigation and copying by pulling the raw gist contents into your current context.

Can I enumerate and read multiple files in a single GitHub gist?

Yes, you can enumerate multiple files in a single GitHub gist. The process lists all filenames first, then retrieves and returns the raw contents file-by-file for each file hosted on gist.github.com.

What is the best way to view GitHub gist contents without opening a browser?

The best way to view GitHub gist contents without a browser is using a raw fetch command via the gist URL or ID. It retrieves the raw text directly, allowing you to quickly inspect code without manual copying.

Does fetching gist contents work if the gh CLI is unavailable?

Yes, fetching gist contents works if the gh CLI is unavailable or fails. The process falls back to using WebFetch via gist.githubusercontent.com or the GitHub gists API to retrieve the raw content.

Can I read a GitHub gist using just the ID instead of the full URL?

Yes, you can read a GitHub gist using just the ID instead of the full URL. The retrieval mechanism accepts either the complete gist.github.com link or the standalone ID to fetch raw text.

Why does fetching a gist URL fail without the raw content fallback?

Fetching a gist URL may fail without the raw content fallback if the primary gh gist view command is unavailable or encounters an error. The fallback uses WebFetch via gist.githubusercontent.com or the GitHub gists API.