therizwan/shellshock/shellshock-video
Claude Code and agent skill by therizwan/shellshock
- community
Checking that the SKILL.md file is still in the repository.
Generate videos via ShellShock /v1/videos/generations using xAI Grok Imagine (grok-imagine-video). Async job flow - submit, poll request_id until done, download MP4. Use when the user wants to create, generate, or render a video, text-to-video (txt2vid), or image-to-video.
Install
npx vskill@latest install therizwan/shellshock/shellshock-videoSKILL.md
The same SKILL.md was published earlier as salaikyaw/sk-shellshock/shellshock-video.
ShellShock — Video Generation (xAI Grok Imagine)
Requires SHELLSHOCK_URL (and SHELLSHOCK_KEY if auth enabled). See https://raw.githubusercontent.com/theRizwan/ShellShock/refs/heads/main/skills/shellshock/SKILL.md for setup.
Requires a connected xAI account in the ShellShock dashboard — either Grok Build OAuth (SuperGrok / X Premium+ subscription sign-in) or a direct xAI API key from console.x.ai. The two are separate auth types with separate billing; the dashboard shows which one each connection uses.
Endpoints (async job flow)
Video generation is asynchronous: the POST returns a request_id immediately, then you poll until the job is done or failed.
| Endpoint | Purpose | |
|---|---|---|
POST /v1/videos/generations | text-to-video / image-to-video | |
POST /v1/videos/edits | edit an existing video | |
POST /v1/videos/extensions | extend an existing video | |
GET /v1/videos/{request_id} | poll job status |
Request fields (passed through to xAI unchanged — see https://docs.x.ai/developers/rest-api-reference/inference/videos):
| Field | Required | Notes | |
|---|---|---|---|
model | no | xai/grok-imagine-video (prefix is stripped before upstream) | |
prompt | yes for T2V | video description | |
duration | no | seconds | |
aspect_ratio | no | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3 | |
resolution | no | 480p, 720p, 1080p | |
image | no | { "url": "https://… or data:image/…;base64,…" } for image-to-video | |
video | edits/extensions | { "url": "…mp4" } or { "file_id": "…" } |
Examples
Submit a job:
Poll until done (echo the connection header back so the same account polls the job):
Download: fetch video.url from the done response.
CLI one-shot
Submits, polls with progress, downloads to video.mp4.part, atomically renames on success. Ctrl+C cancels cleanly; non-zero exit on failure.
Notes & limits
- Jobs are account-bound upstream: poll with the same connection that created the job (
x-connection-idheader, value from the create response'sx-shellshock-connection-id). - Creation POSTs are never auto-retried (a retry could create and bill two videos). Only a 401→token-refresh→single-retry is performed, which upstream rejects before job creation.
- Video models are tagged
kind: "video"and are excluded from chat model lists and chat fallback combos. - Grok Build subscription OAuth tokens are sent to the same
api.x.ai/v1/videosendpoints as API keys; whether a given subscription tier includes video-generation quota is controlled by xAI and is not verified by ShellShock — a403/permission_deniedfrom upstream means the connected account has no video access.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/shellshock-video/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/therizwan/shellshock/shellshock-video)