Logo di Get Reddit

Get Reddit

Community
iamneilroberts
get-reddit

Fetch a specific public Reddit post (title, body, and top comments) as clean markdown, by driving a real browser session (Playwright) — because Reddit 403s all non-browser fetches AND closed self-serve API access in Nov 2025. Use whenever you need the actual contents of a Reddit thread from a URL or post id — e.g. "fetch this Reddit post", "what does this thread say", "summarize this r/... discussion", or `/get-reddit <url>`. Runs in a forked Sonnet subagent that CANNOT see the conversation — always pass the Reddit URL/post id (and optional comment limit) as the skill argument.

Panoramica

Pubblicato daiamneilroberts
Repositoryclaude-skills
Nome della skillget-reddit
Stelle
37
Fork
6
File inclusi
3
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da iamneilroberts su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Get Reddit in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/iamneilroberts/claude-skills/tree/main/skills/get-reddit
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iamneilroberts/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/get-reddit .claude/skills/get-reddit
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Get Reddit in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Get Reddit non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Get Reddit non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

get-reddit (forked fetcher)

You are a subagent. Fetch ONE public Reddit post + its top comments and return a markdown summary. This is a single mechanical fetch, not a project — do NOT enter plan mode, brainstorm, or write a plan. Run the script, then summarize.

Target: $ARGUMENTS

That should be a full post URL, an old.reddit.com URL, a redd.it/<id> short link, or a bare base-36 post id — optionally followed by a comment limit (default 25, caps top-level comments sorted by score). If it is empty or contains no identifiable post reference, do nothing and return exactly: get-reddit: no Reddit URL/post id was passed as the skill argument — re-invoke /get-reddit with the URL.

Run it

bash
.claude/skills/get-reddit/get-reddit.sh <reddit-url-or-post-id> [comment_limit] | tee /tmp/get-reddit-<post-id>.md

The script lives in this skill's directory (project install: .claude/skills/get-reddit/; user install: ~/.claude/skills/get-reddit/). Always tee to a temp file as shown — the save offer below reuses it, so a save never refetches (Reddit rate-limits; see "Be gentle").

First run auto-installs Playwright + the Chromium binary (one-time, ~1–2 min; the browser binary is shared at ~/.cache/ms-playwright). Requires node and npm on PATH.

Env knobs:

  • GET_REDDIT_HEADLESS=0 — show the browser window. Use once if a fetch gets challenged; solving the challenge persists in the profile so later headless runs work.
  • GET_REDDIT_PROFILE=<dir> — override the persisted browser-profile dir (default .profile/ beside the script; gitignored).

Failure handling:

  • Exit 8 = HTTP 429 rate limit → wait ~15s, retry once. Don't loop over many threads.
  • Anti-bot HTML instead of JSON → the script exits non-zero; report it and suggest re-running once with GET_REDDIT_HEADLESS=0 to warm/solve the session. Don't thrash retries.

Why a browser, not curl or the API (in case you must debug)

Two independent walls (both verified 2026-06-30):

  1. Anti-bot: Reddit returns a 403 anti-bot HTML page to any non-browser client — .json, old.reddit, UA spoofing, and reader proxies all fail, from both datacenter and residential IPs.
  2. API closed: Reddit's Responsible Builder Policy (effective 2025-11-11) disabled self-serve API-app creation, so the OAuth path is effectively closed (pre-approval takes ~2–4 wk with high solo-dev rejection).

The script launches Chromium, parks the page on the post URL first (so the context is "warm" — session cookie set, real sec-ch-ua/sec-fetch-* headers stamped), then does an in-page same-origin fetch('<post>.json'). (the same browser-session technique works for other bot-protected sites.) No Reddit login or API key is needed. Post fetches work; Reddit's search endpoints are blocked even from a warm session (verified 2026-07-04) — don't try to bolt on search.

What to return (your final message)

Your final text is the deliverable relayed to the main conversation. Include, in order:

  1. Summary — title, r/<sub> · u/<author> · score · N comments, permalink; the post body's key points; the top comments worth reading, grouped by theme (keep scores). Faithful and concise — don't pad, don't editorialize.
  2. Tee'd file — the exact path of the raw fetched markdown (e.g. /tmp/get-reddit-<id>.md).
  3. Save offer — final line, verbatim format, for the main assistant to relay to the user: SAVE OFFER: raw thread at <tee-path>; offer to save to docs/research/reddit/<yyyy-mm-dd>-r-<subreddit>-<title-slug>.md (kebab-case title, ~6 words; prepend the summary as an intro; copy the tee'd file — never refetch).

Notes / limits

  • Read-only, top-level comments only (depth 1) — enough to "read the thread".
  • Be gentle: run sequentially, not in parallel.
  • The persisted profile (.profile/) and node_modules/ are gitignored.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Get Reddit?

Fetch a specific public Reddit post (title, body, and top comments) as clean markdown, by driving a real browser session (Playwright) — because Reddit 403s all non-browser fetches AND closed self-serve API access in Nov 2025. Use whenever you need the actual contents of a Reddit thread from a URL or post id — e.g. "fetch this Reddit post", "what does this thread say", "summarize this r/... discussion", or `/get-reddit <url>`. Runs in a forked Sonnet subagent that CANNOT see the conversation — always pass the Reddit URL/post id (and optional comment limit) as the skill argument.

Perché usare Get Reddit su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Get Reddit è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Get Reddit in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/iamneilroberts/claude-skills/tree/main/skills/get-reddit. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Get Reddit?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Get Reddit?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Get Reddit: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Get Reddit è gratuita?

È pubblicata su GitHub da iamneilroberts. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇