← ClaudeAtlas

oatda-video-statuslisted

Use when the user wants to check the status of an asynchronous video generation task from OATDA. Returns the video URL when generation is complete.
devcsde/oatda-skills · ★ 0 · AI & Automation · score 70
Install: claude install-skill devcsde/oatda-skills
# OATDA Video Status Check the status of asynchronous video generation tasks. This is the companion skill to `oatda-generate-video`. ## When to Use Use this skill when the user wants to: - Check if a previously submitted video has finished generating - Retrieve the video URL after generation completes - Get the status of a video generation task by its task ID ## Prerequisites The user needs: - An OATDA API key (`$OATDA_API_KEY` or `~/.oatda/credentials.json`) - A task ID from a previous `/oatda:oatda-generate-video` call ## Step-by-Step Instructions ### 1. Resolve the API key ```bash # Check env var first; if empty, auto-load from credentials file if [[ -z "$OATDA_API_KEY" ]]; then export OATDA_API_KEY=$(cat ~/.oatda/credentials.json 2>/dev/null | jq -r '.profiles[.defaultProfile].apiKey' 2>/dev/null) fi # Verify key exists (show first 8 chars only) echo "${OATDA_API_KEY:0:8}" ``` If the output is empty or `null`, stop and ask the user to configure their API key. **IMPORTANT**: - Never print the full API key. Only show the first 8 characters for verification. - The key resolution script and subsequent `curl` commands **must run in the same shell session**. Each separate bash/terminal invocation starts with an isolated environment where previously exported variables are lost. Either run all commands in one session, or chain them (e.g., `export OATDA_API_KEY=... && curl ...`). ### 2. Get the task ID The user must provide a task ID from a previous video generation