CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

aimlapi/skills

Skills for AI/ML API, one API for 10,000+ AI models and tools: choosing models, chat on any protocol, images, video and audio jobs, speech, decision models, webhooks, batches, errors, costs and sandbox testing

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

AI/ML API Skills

Agent Skills that teach coding agents to build on AI/ML API: one OpenAI-compatible API for 10,000+ AI models and tools across chat, image, video, music, speech and embeddings.

With them installed, an agent reads models, parameters and prices from the live catalogue instead of guessing, waits on long jobs the way the API expects, retries only what is safe to retry, and tests your code in sandbox mode before it spends anything.

Works with Claude Code, Cursor, Codex, OpenCode, Gemini CLI, Windsurf and any other agent that supports the Agent Skills format.

Install

Any agent

npx skills add aimlapi/skills

The skills CLI asks which agent to install for (Claude Code, Cursor, Codex, Gemini CLI, OpenCode and others) and copies the skills into its folder. Requires Node.js 22.20 or later.

Claude Code

/plugin marketplace add aimlapi/skills
/plugin install aimlapi@aimlapi

Claude Code updates third-party marketplaces only when you turn it on: /plugin → Marketplaces → aimlapi → auto-update. Otherwise run /plugin marketplace update aimlapi to get a new version.

One command, no Node.js

macOS and Linux:

curl -fsSL https://aimlapi.com/skills/install.sh | sh

Windows (PowerShell):

irm https://aimlapi.com/skills/install.ps1 | iex

Both install every skill into the current repository for Claude Code. They download the @ai-ml.api/skills package from npm and check its sha512 before writing anything. Options go after sh -s --, for example curl -fsSL https://aimlapi.com/skills/install.sh | sh -s -- --agent cursor --scope user aimlapi-models.

npm (any agent)

Requires Node.js 18 or later.

npx @ai-ml.api/skills install

This installs every skill into the current repository for Claude Code. Choose the agent with --agent cursor (or codex, gemini, opencode, copilot, universal), install for every project with --scope user, or name the skills you want: npx @ai-ml.api/skills install aimlapi-models aimlapi-chat. Run the same command again to update. npx @ai-ml.api/skills list shows what is in the package.

Gemini CLI

gemini extensions install https://github.com/aimlapi/skills

Gemini CLI asks for your AI/ML API key once and keeps it in the system keychain. gemini extensions update aimlapi gets a new version.

Codex

codex plugin marketplace add aimlapi/skills
codex plugin add aimlapi@aimlapi

Start a new Codex session after installing. codex plugin marketplace upgrade gets a new version.

Antigravity

agy plugin install https://github.com/aimlapi/skills

GitHub CLI (any agent)

Requires GitHub CLI 2.90 or later.

gh skill install aimlapi/skills --all --agent claude-code

Without --all or a skill name, a non-interactive shell only lists the skills. One skill only:

gh skill install aimlapi/skills aimlapi-async-jobs

Add --scope user to install for every project, or --agent cursor (or codex, opencode, …) to target one agent.

Cursor

In Customize, add a plugin From GitHub Repository with aimlapi/skills, then Install it for the project or for your user.

Manual

git clone --depth 1 https://github.com/aimlapi/skills.git /tmp/aimlapi-skills
cp -r /tmp/aimlapi-skills/skills/* ~/.config/opencode/skills/   # or your agent's skills folder
rm -rf /tmp/aimlapi-skills

Skills

Agents load a skill on their own when your request matches its description.

SkillUse it to
aimlapi-setupConnect a coding agent to AI/ML API with the aimlapi CLI, without the agent ever touching your API key
aimlapi-modelsFind, compare and price models from the live catalogue, read the exact parameters a model accepts, and check deprecations
aimlapi-chatCall text models through Chat Completions, Responses or Messages: OpenAI and Anthropic SDKs, streaming, tools, structured output, image, PDF, audio and video input
aimlapi-protocolsRun any chat model through Chat Completions, Responses or Messages: DeepSeek or Gemini behind the Anthropic SDK or Claude Code, Claude behind the Responses API or Codex, and what a translated route does not keep
aimlapi-imagesGenerate and edit images
aimlapi-async-jobsRun video and music jobs and background responses: submit, poll, download
aimlapi-speechText-to-speech and speech-to-text: synthesize audio, transcribe files and URLs
aimlapi-errorsRead error responses, decide what to retry and how, and avoid the mistakes that get requests refused
aimlapi-costsGet the cost of each call, trace requests end to end, and report usage and spend
aimlapi-sandboxTest an integration for free: live response formats, scripted errors and slow answers
aimlapi-webhooksGet async results as signed webhooks instead of polling: signing secret, receiver, signature check, rotation, delivery log
aimlapi-batchRun large chat-completion jobs through the OpenAI-format Batch API at the batch price: JSONL, Files and Uploads, limits, results
aimlapi-decisionsGet typed answers with calibrated probabilities from decision models, and use routers that pick a model per request

Requirements

  • An AI/ML API key in the AIMLAPI_API_KEY environment variable for the scripts and the code the skills write. Create one at aimlapi.com/app/keys and set it in your shell or secret store. aimlapi-setup is a different thing: it connects the agent itself to AI/ML API models and keeps the key out of the agent's reach, so it does not set AIMLAPI_API_KEY.
  • Scripts need only curl, python3 (3.9+, standard library) or node (18+). Nothing to npm install or pip install.

The catalogue and deprecation feed need no key.

Your key and your data

The skills hold no key and collect nothing. Their scripts and the code they write read your key from AIMLAPI_API_KEY and send it only to AI/ML API (api.aimlapi.com), in the Authorization header of the requests you ask for. Result files are downloaded from the links the API returns, without the key. The model catalogue, prices and live speed are read without a key. The scripts name themselves in the User-Agent and x-aimlapi-client headers (for example aimlapi-skills/<version> try.py) so these requests can be told apart; nothing else about you or your machine is sent. Nothing is sent anywhere else, and no telemetry is collected. See the privacy policy.

How the skills are written

Model lists, prices and per-model parameters change weekly, so no skill copies them. The agent reads them from GET /v1/models and the model's docsJson when it needs them, and a skill says what to do when the API refuses something rather than listing what it accepts today.

No skill asks for, prints or stores an API key.

CI checks every route a skill names against the public API description and runs the examples in sandbox mode every night. Each skill was also tested on a fresh agent, once without it and once with it: the scenarios and results are in tests/skill-scenarios.md.

Other ways to connect an agent

WayWhere
MCP server (OAuth, no key to paste)https://mcp.aimlapi.com/mcp
aimlapi CLI: configures Claude Code, Codex, OpenCode, Cline and moredocs
Docs for agentsllms.txt; append .md to any docs URL for Markdown

Contributing

See CONTRIBUTING.md. Report a security issue as described in SECURITY.md.

License

Apache License 2.0. The license does not grant rights to the AI/ML API name or logo.

Workspace
aimlapi
Visibility
Public
Created
Last updated
Source
CLI
Repository
https://github.com/aimlapi/skillsUnverified
Badge
aimlapi/skills badge