twitch-clip
Installation
SKILL.md
Twitch Clip Skill
Creates a clip of the last 30–60 seconds of a live Twitch stream via the Twitch Clips API. Includes a 30-second cooldown to prevent accidental spam clipping.
Setup
1. Create a Twitch app
- Go to https://dev.twitch.tv/console/apps
- Register a new app (OAuth Redirect URL:
http://localhost, Category: Other) - Copy your Client ID and generate a Client Secret
2. Get an OAuth token
Visit this URL in your browser (replace YOUR_CLIENT_ID):
https://id.twitch.tv/oauth2/authorize?client_id=YOUR_CLIENT_ID&redirect_uri=http://localhost&response_type=token&scope=clips:edit
Copy the access_token from the redirect URL.