用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/phoroth/AGENTIC --skill runapi-cli命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | runapi-cli |
| description | Generate AI images, videos, and music/audio from agents using the RunAPI CLI. |
| category | development |
| risk | critical |
| source | official |
| source_repo | runapi-ai/cli-skill |
| source_type | official |
| date_added | 2026-06-07 |
| author | runapi-ai |
| tags | ["runapi","cli","models","automation","codex","claude","gemini"] |
| tools | ["claude","codex","gemini","cursor","antigravity"] |
| license | Apache-2.0 |
| license_source | https://github.com/runapi-ai/cli-skill/blob/main/LICENSE |
The runapi CLI is the execution layer for RunAPI model tasks. Use it when an agent needs to generate AI images, videos, or music/audio, run a one-off model job, pass a JSON request body, wait for an async task, or script RunAPI from a terminal, server, or CI job.
Source repository: github.com/runapi-ai/cli-skill (Apache-2.0)
brew install runapi-ai/tap/runapi
Download the installer, inspect it, then run it locally.
curl -fsSL https://runapi.ai/cli/install.sh -o runapi-install.sh
less runapi-install.sh
sh runapi-install.sh
To pin a specific version:
sh runapi-install.sh --version v0.1.0
The installer detects OS and architecture, verifies the SHA-256 checksum from https://runapi.ai/cli/latest.json, and refuses to write the binary if verification fails.
Treat RunAPI authentication and generation as security-sensitive: commands can call remote services, consume credits, and expose account state. Review installer scripts before running them and keep API keys in enprojectnment variables or stdin, not shell history.
Check the current state first:
runapi auth status
| Source | How |
|---|---|
| Enprojectnment | Read RUNAPI_API_KEY from the enprojectnment |
| Saved config | printf '%s' "$RUNAPI_API_KEY" | runapi auth import-token --token - |
| Browser login | runapi login only when the user explicitly wants browser auth |
RUNAPI_BASE_URL overrides the default base URL.
Avoid passing secrets directly in command arguments. Prefer or stdin token import with .
RUNAPI_API_KEY--token -The CLI is JSON-first. Every service exposes typed commands, and each command documents its request fields through --help. Inspect command help before composing a request.
runapi --help
runapi suno --help
runapi suno text-to-music --help
Pass the request body as JSON through --input-file, --input, or stdin. The default flow is synchronous and polls until the task completes.
runapi suno text-to-music --input-file request.json
runapi suno text-to-music --async --input-file request.json
runapi wait <task-id> --service suno --action text-to-music
runapi get <task-id> --service suno --action text-to-music
JSON responses go to stdout; progress lines go to stderr. Pipe to jq for downstream parsing.
runapi account info
runapi account balance
runapi agent install-skill --target claude
runapi agent install-skill --target codex
runapi agent install-skill --target gemini
runapi agent install-skill --target openclaw
runapi agent list-targets
runapi agent install-skill --target-dir <path>
--async plus runapi wait.RUNAPI_API_KEY or stdin token import instead of command-line secrets.runapi login by default from an agent.