Use when building scrapers to extract and index forum discussions, blog posts, or community content into markdown files with postgres/vector search integration. Triggers on requests to scrape, sync, index, or extract forum content.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
Instruções da origem · Visualização somente leitura
name
read-forums
description
Use when building scrapers to extract and index forum discussions, blog posts, or community content into markdown files with postgres/vector search integration. Triggers on requests to scrape, sync, index, or extract forum content.
Forum Extraction & Indexing
Overview
Build scrapers that extract forum discussions into structured markdown files, then index them for semantic search. Each forum platform (Discourse, phpBB, Drupal, Vanilla, static blogs) needs a platform-specific fetcher, but the output format, rate limiting, incremental sync, and indexing pipeline are universal.
Core principle: Be a good citizen. Rate-limit aggressively, respect robots.txt, use APIs when available, and never hit a forum harder than a human would browse it.
Use a RateLimiter class (see reference implementation below)
Set a User-Agent identifying the scraper: OnshapeAssistant/1.0 (research; contact@example.com)
Respect Retry-After headers on 429 responses
Back off exponentially on errors (start 5s, max 60s)
Stop entirely on 403 or repeated 429s
Platform-Specific Fetchers
Discourse (McNeel Forum, Blender devtalk)
API: Discourse has a public JSON API. Append .json to any URL.
GET /categories.json → list categories
GET /c/{slug}/{id}.json?page=N → topics in category
GET /t/{topic_id}.json → topic with posts
GET /t/{topic_id}/posts.json?post_ids[]=N&... → specific posts
Pagination: Topics list paginated by page param. Posts within a topic may need chunked fetching for long threads (post stream IDs in topic JSON).