apiany-integration

apiany-integration is a skill for Codex from ailingqu/ApiAny.AI-MCP. It costs 62 tokens per session (1,026 once invoked), scanned A, original, MIT.

A guide for connecting software to APIAny, a service that provides access to different AI models through an OpenAI-compatible interface.

In plain words
What is it for?
It supports model discovery, integration examples, usage estimates, documentation lookup, and confirmed image or video generation tasks.
Why use it?
It helps developers choose models, estimate usage costs, and move existing OpenAI-style integrations to APIAny without exposing keys.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It supports model discovery, integration examples, usage estimates, documentation lookup, and confirmed image or video generation tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ailingqu/apiany.ai-mcp/apiany-integration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ailingqu/ApiAny.AI-MCP --skill apiany-integration
Clone the repo
git clone --depth 1 https://github.com/ailingqu/ApiAny.AI-MCP

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for apiany-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/ailingqu/apiany.ai-mcp/apiany-integration/github.svg)](https://agentmods.dev/skills/ailingqu/apiany.ai-mcp/apiany-integration)
Your own site
<a href="https://agentmods.dev/skills/ailingqu/apiany.ai-mcp/apiany-integration"><img src="https://agentmods.dev/badge/skills/ailingqu/apiany.ai-mcp/apiany-integration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apiany-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/ailingqu/apiany.ai-mcp/apiany-integration"><img src="https://agentmods.dev/badge/skills/ailingqu/apiany.ai-mcp/apiany-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,026 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.01026
Opus 5 $0.00031 $0.00513
Sonnet 5 $0.00012 $0.00205
Haiku 4.5 $0.00006 $0.00103

Measured 11d ago against content hash 1a3ba659387f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

apiany-integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/apiany-integration/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

APIAny Integration Skill

Use this skill when a user asks an agent to integrate with APIAny, choose an APIAny model, compare APIAny pricing, migrate an OpenAI-compatible client to APIAny, or estimate APIAny credits.

Core Rules

  • Prefer APIAny's OpenAI-compatible base URL: https://apiany.ai/v1.
  • Never reveal or log API keys. Use placeholders such as <APIANY_API_KEY>.
  • For model discovery, prefer the APIAny MCP server tools when available:
    • list_models
    • search_models
    • get_model
    • get_model_usage
    • estimate_cost
    • get_integration_examples
    • get_docs_context
    • create_image_task
    • create_video_task
    • get_task_status
  • If MCP is not available, use public docs and https://apiany.ai/api/v1/models.
  • Treat pricing as an estimate unless returned by the live API at request time.
  • For image/video/audio generation, explain async task behavior: create task, poll status or use callback, charge on success, refund on failure.
  • Do not call paid generation endpoints unless the user explicitly asks, provides an API key, and confirms the paid request. For MCP tools, pass confirm_paid_request=true only after confirmation.

Workflow

  1. Understand the user's target workflow:
    • Chat / text
    • Image generation or editing
    • Video generation
    • Audio or music
    • Cost comparison
    • Migration from OpenAI-compatible client
  2. Select candidate models:
    • Search by modality, provider, model family, or capability.
    • Compare model pricing and capabilities.
    • Prefer stable public model ids.
  3. Provide integration code:
    • Use get_model_usage for the selected model whenever the MCP server is available.
    • Use the OpenAI-compatible SDK for chat models when applicable.
    • Use APIAny media endpoints for image/video models and explain task polling.
    • Set base_url / baseURL to https://apiany.ai/v1.
    • Set API key from environment, not inline.
  4. Estimate cost:
    • Use estimate_cost when available.
    • Mention that server-side billing rules are authoritative.
  5. Provide verification steps:
    • Check API key.
    • Run a small request.
    • Inspect task status or response.
    • Confirm credit usage in dashboard.

Read the full file on GitHub · 129 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 129 lines · 62 tokens per session scan A 1a3ba659387f

Subscribe to this mod's changes

apiany-integration is a skill published in the GitHub repository ailingqu/ApiAny.AI-MCP (0 stars, last pushed 2mo ago), licensed MIT. It adds 62 tokens to every session and 1,026 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

aurora-sdks

Integrate an application with the aurora-agent backend over HTTP or stdio. Use when asked to start or configure the bioprism-api gateway, call the backend from TypeScript or Python, pick between REST and MCP transports, or test MCP wiring without building the Rust binary.

AURORA-NEURO/aurora-agent · 62 tokens

api-services

API reference for built-in service providers (LLM, Speech, Graph). Use when looking up service interfaces, provider capabilities, or integration patterns.

cyanheads/secedgar-mcp-server · 32 tokens

opik-instrument

Add Opik tracing to an existing app and verify a real trace lands. Installs the Opik package, detects the language and LLM framework, adds the minimum tracing, runs a safe representative path, confirms a trace in Opik, and returns the trace link. Use for "instrument my code", "add opik tracing", "add observability"…

comet-ml/opik-mcp · 101 tokens

aba-precision-protocol

FOUNDATIONAL BEHAVIORAL PROTOCOL — ABA-based precision execution rules. Every prompt processed must follow these rules. Mistakes caught late create intermittent reinforcement of wrong patterns. Stop-fix-verify before proceeding.

dcostenco/prism-coder · 48 tokens

add-provider

Add a new storage or service provider to the core package. Use when implementing a new backend for StorageService (e.g., a new database) or a new service provider (e.g., a new LLM backend).

cyanheads/mcp-ts-core · 47 tokens

local-rag-search

Efficiently perform web searches using the mcp-local-rag server with semantic similarity ranking. Use this skill when you need to search the web for current information, research topics across multiple sources, or gather context from the internet without using external APIs. This skill teaches effective use of…

nkapila6/mcp-local-rag · 80 tokens