Skip to main content

readable-stackoverflow

Fetches a Stack Overflow question body and its answers via the Stack Exchange API (api.stackexchange.com/2.3 with the withbody filter, gzip-compressed). Anonymous quota is 300 req/day per IP; honor the response backoff field. Surface the question URL when displaying content (CC BY-SA attribution). Use when the URL is in the form stackoverflow.com/questions/{id}/...

소스 정보

저장소
yamadashy/agent-readable
최근 소스 활동
2026년 5월 9일 15:39
감지된 SKILL.md 언어
영어
스타
4
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
readable-stackoverflow
description
Fetches a Stack Overflow question body and its answers via the Stack Exchange API (api.stackexchange.com/2.3 with the withbody filter, gzip-compressed). Anonymous quota is 300 req/day per IP; honor the response backoff field. Surface the question URL when displaying content (CC BY-SA attribution). Use when the URL is in the form stackoverflow.com/questions/{id}/...
# Stack Overflow Question Reader Uses the public Stack Exchange API. Anonymous usage is rate-limited to ~300 requests per IP per day. ## Steps ### 1. Extract the question ID From a URL like `https://stackoverflow.com/questions/12345678/some-slug`, the ID is `12345678`. ### 2. Fetch the question body ```bash curl -s --compressed \ "https://api.stackexchange.com/2.3/questions/{id}?site=stackoverflow&filter=withbody" ``` ### 3. Fetch the answers ```bash curl -s --compressed \ "https://api.stackexchange.com/2.3/questions/{id}/answers?site=stackoverflow&filter=withbody&sort=votes&order=desc" ``` The response uses gzip; the `--compressed` flag is required by the API. ### 4. Honor backoff If a response includes a `backoff` field, do not call the API again for that many seconds. ## Attribution Stack Exchange content is licensed under CC BY-SA. When surfacing answers, include the question URL and note the source as Stack Overflow. ## Reference - API docs: https://api.stackexchange.com/docs - Throttle / backoff: https://api.stackexchange.com/docs/throttle - Data licensing: https://stackoverflow.com/help/licensing
GitHub에서 보기