scrapall/scrapall-agent-skills/twitch
Claude Code and agent skill by scrapall/scrapall-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when the user asks for public Twitch data (Clip, Clip Transcript, Profile, User Schedule, User Videos). Calls the Scrapall REST API with the X-Scapi-Key header.
Install
npx vskill@latest install scrapall/scrapall-agent-skills/twitchSKILL.md
The same SKILL.md was published earlier as scrapall/scrapall-agent-skills/twitch.
Twitch API skill
5 endpoints. Docs: https://scrapall.bipsport.com/docs/twitch/
Auth
Send your key in the X-Scapi-Key header on every request. Read it from the SCRAPALL_API_KEY environment variable; never hard-code it.
Plan access: paid plans (Free plan covers Facebook and Instagram only).
Endpoints
| Method | Path | What it does | Params (required) | Credits/call | |
|---|---|---|---|---|---|
| GET | /v1/twitch/clip | Clip | `url` | 1 | |
| GET | /v1/twitch/clip_captions | Clip Transcript | `url`; optional: allow_long_transcription, use_ai_as_fallback | 1 (more with some params) | |
| GET | /v1/twitch/user | Profile | `handle` | 1 | |
| GET | /v1/twitch/user_schedule | User Schedule | `handle` | 1 | |
| GET | /v1/twitch/user_videos | User Videos | `handle`; optional: filter_by, sort_by | 1 |
Example agent workflow
Goal: "Find the 10 most recent items on Twitch for a given account or keyword and summarize what performs best."
- Call
GET /v1/twitch/user_videoswith the account or keyword the user gave. - Keep the 10 newest items. Paginate with the cursor field only if fewer than 10 came back.
- For the top 3 items by engagement, call
GET /v1/twitch/clipfor details. - Report a table (link, date, engagement) plus 3 patterns worth copying. Cite every URL.
- Budget check: estimate credits from the table above before looping; stop on HTTP 402.
Errors
Error bodies look like {"error": {"code": "...", "message": "..."}}.
| HTTP | error.code | Meaning | Agent action | |
|---|---|---|---|---|
| 401 | invalid_key | Missing or wrong X-Scapi-Key header | Check SCRAPALL_API_KEY; get a key at /account | |
| 402 | insufficient_credits | Not enough credits left | Stop and ask the user to top up | |
| 402 | plan_expired | Plan period ended | Ask the user to renew | |
| 403 | plan_restricted | Free plan covers Facebook + Instagram only | Upgrade (buy_url in body) | |
| 404 | not_found | Unknown path or method | Use a path from the table above | |
| 429 | rate_limited | Too many requests | Back off (2s, 4s, 8s) and retry | |
| 503 | upstream_unavailable | Temporary failure, not charged | Retry later |
Examples
- curl:
examples/curl/twitch.sh - Python:
examples/python/twitch.py - JavaScript:
examples/javascript/twitch.mjs
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/twitch/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/scrapall/scrapall-agent-skills/twitch)