원클릭으로
fetch-wiki-info-api
Fetch structured and descriptive information from Wikidata and Wikipedia via HTTP APIs (no browser, no Playwright)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fetch structured and descriptive information from Wikidata and Wikipedia via HTTP APIs (no browser, no Playwright)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | fetch-wiki-info-api |
| description | Fetch structured and descriptive information from Wikidata and Wikipedia via HTTP APIs (no browser, no Playwright) |
| argument-hint | [search term] [--images] |
| allowed-tools | Bash |
Parallel implementation of fetch-wiki-info that hits Wikidata + Wikipedia public APIs directly instead of going through Playwright. Faster, no Chromium dependency, no 8-parallel cap.
Topic to search for: $ARGUMENTS
Run the bundled Python helper. It is stdlib-only — no pip install.
python3 .claude/skills/fetch-wiki-info-api/fetch_wiki_info.py "$ARGUMENTS"
If the caller wants Wikipedia images + captions (e.g. for the ntr-term-researcher agent's image-xref step), pass --images:
python3 .claude/skills/fetch-wiki-info-api/fetch_wiki_info.py "$ARGUMENTS" --images
For machine-readable output, add --json.
wbsearchentities) — top 5 candidates.Special:EntityData/{Q}.json) for the top hit. Extracts label, description, aliases, P31/P361/P279, and the canonical English Wikipedia title via sitelinks.enwiki.title (avoids redirect guessing)./api/rest_v1/page/summary/{title}) — liberal relevance gate: rejects only disambiguation pages or empty extracts.action=query&prop=extracts&explaintext=1&redirects=1) — full plain-text article body.--images only): /api/rest_v1/page/media-list/{title}, keeping only items whose caption shares a word with the query term.Set a polite User-Agent (already done in the script).
Markdown with the same overall shape as the Playwright skill, plus an optional Wikipedia Full Text section and an optional Wikipedia Images section:
# <term>
## Wikidata (Q#######)
- Label / Description / Aliases / Instance of / Subclass of / Part of / Wikipedia link
## Wikipedia Summary (<title>)
<one-paragraph extract>
## Wikipedia Full Text
<full plain-text article>
## Wikipedia Images (only with --images)
- <file title> — <caption>
- src: <url>
## Notes
- <relevance-gate reasons, if any>
## Sources
- Wikidata: https://www.wikidata.org/wiki/Q#######
- Wikipedia: https://en.wikipedia.org/wiki/<page>
fetch-wiki-info for A/B comparison. Once validated on a real Stage 3 NTR run, the Playwright version (and the 8-parallel cap in bulk_ntr_workflow/CLAUDE.md) can be retired.