Logotipo de Get Reddit

Get Reddit

Comunidad
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.

Descripción general

Editoriamneilroberts
Repositorioclaude-skills
Nombre de la habilidadget-reddit
Estrellas
37
Forks
6
Archivos incluidos
3
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 3

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por iamneilroberts en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Get Reddit en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/iamneilroberts/claude-skills/tree/main/skills/get-reddit
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese 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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Get Reddit en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Get Reddit automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Get Reddit no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo 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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de 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.

¿Por qué usar Get Reddit en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Get Reddit está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Get Reddit en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/iamneilroberts/claude-skills/tree/main/skills/get-reddit. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Get Reddit?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Get Reddit?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Get Reddit con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Get Reddit?

iamneilroberts la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇