muapi-platform — Claude Code skill: muapi.ai keys and polling
Configures your muapi.ai API key, checks connectivity, and waits for async generation results by request ID.
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-platform -a claude-code
npx skills add SamurAIGPT/Generative-Media-Skills --skill platform -a claude-codeWhat muapi-platform does
The skill drops two bash scripts into your project. setup.sh saves a muapi.ai key, prints the current config, and tests whether the key works. check-result.sh polls the platform by request ID: run it plain and it waits for completion, add --once and it checks a single time.
Install goes through npx skills add, so the scripts land in your platform's skills directory. The only stated requirement is curl — without it neither script runs. You also need a muapi.ai key before the first setup.sh --add-key, since there is nothing to save otherwise.
This is for the case where muapi.ai generation runs async and you want the result without hand-rolling the polling loop. The scripts are plain shell, so you can read exactly what they do before trusting them with a key.
What it helps with
- store a muapi.ai API key in the config
- verify the key is accepted by the platform
- inspect current settings without editing files
- wait for an async generation result by request ID
- run a single status check instead of waiting
Example prompts for the agent
- save my muapi.ai key with setup.sh
- test whether my muapi.ai key is valid
- poll for the result of this request ID and show the output
How to install muapi-platform
1Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-platform -a claude-codenpx skills add SamurAIGPT/Generative-Media-Skills --skill platform -a claude-code2Manually: put the files in place
~/.claude/skills/platform/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/platform/
1Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill platform -a codex2Manually: put the files in place
.agents/skills/platform/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill platform -a cursor2Manually: put the files in place
.cursor/skills/platform/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install SamurAIGPT/Generative-Media-Skills platform2Manually: put the files in place
.github/skills/platform/SKILL.md1Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill platform -a gemini-cli2Platform CLI
gemini skills install https://github.com/SamurAIGPT/Generative-Media-Skills --path core/platformManually: put the files in place
.devin/skills/platform/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill platform -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about muapi-platform
How do I install muapi-platform in Claude?
Run npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-platform -a claude-code. The skill then sits at ~/.claude/skills/platform/SKILL.md.
What does muapi-platform do?
It ships two scripts: setup.sh for the API key and config checks, and check-result.sh for polling async generation results by request ID.
What do I need before using it?
curl on the machine and a muapi.ai API key. Save the key with bash setup.sh --add-key "YOUR_MUAPI_KEY".
Source text
SKILL.md · MIT
--- name: muapi-platform version: 0.1.0 description: Setup and utility scripts for muapi.ai — configure API keys, test connectivity, and poll for async generation results --- # ⚙️ MuAPI Platform Utilities **Setup and polling utilities for the muapi.ai platform.** Configure your API key, verify connectivity, and poll for async generation results. ## Available Scripts | Script | Description | | :--- | :--- | | `setup.sh` | Configure API key, show config, test key validity | | `check-result.sh` | Poll for async generation results by request ID | ## Quick Start ```bash # Save your API key bash setup.sh --add-key "YOUR_MUAPI_KEY" # Show current configuration bash setup.sh --show-config # Test API key validity bash setup.sh --test # Poll for a result (waits for completion) bash check-result.sh --id "your-request-id" # Check once without polling bash check-result.sh --id "your-request-id" --once ``` ## Requirements - `curl`
© SamurAIGPT · MIT · SamurAIGPT/Generative-Media-Skills