Skip to content
Back to skills

Ingest Gist

ASecurity

Extract content from GitHub gists for wiki ingestion. Uses raw URL fetch, no auth required.

  • 4 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 12, 2026
toolsbashgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add aibot88/sec_skill_store --skill ingest-gist --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ingest Gist?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ingest Gist
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aibot88-ingest-gist/badge)](https://www.skillsdirectory.com/skills/aibot88-ingest-gist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ingest-gist
description: Extract content from GitHub gists for wiki ingestion. Uses raw URL fetch, no auth required.
user-invocable: false
allowed-tools: Bash(curl *) Bash(gh *)
---

# Ingest GitHub Gist

Extract raw content from a GitHub gist.

## Extraction Method

1. Parse the URL to extract username and gist ID:
   - Pattern: `https://gist.github.com/{user}/{gist_id}`

2. Fetch via raw URL (most reliable, bypasses API rate limits):
```bash
curl -sL "https://gist.githubusercontent.com/{user}/{gist_id}/raw/"
```

3. If username is unknown, get it via API:
```bash
gh api "/gists/{gist_id}" --jq '.owner.login'
```

4. For multi-file gists, list files first:
```bash
gh gist view {gist_id} --files
```
Then fetch each file separately.

## Post-Extraction

- Save to vault's `raw/<descriptive-name>.md` with YAML header:
```yaml
---
source-url: <gist-url>
title: "<gist-description or filename>"
author: "<github-username>"
date-fetched: <today>
source-type: gist
---
```

## Fallback Chain

1. Raw URL (`gist.githubusercontent.com`) — best, no API needed
2. `gh gist view {id} --raw` — uses gh CLI auth
3. `gh api "/gists/{id}" --jq '.files | to_entries[] | .value.content'`

## Dependencies

None for primary method (curl only). `gh` CLI optional for fallbacks.

Files in this skill

  • SKILL.md1.3 KB
  • source.json588 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.