MCPInstall

muapi-chat-agents

Run Claude Code or Codex CLI on Muapi (api.muapi.ai) using Muapi credits instead of a separate vendor account. Use when the user wants a local coding agent to use Muapi as its model provider, asks which Muapi models work with Claude Code or Codex, or needs the base URL, API key variable, provider block or model name for either agent. Covers Claude Code (Anthropic Messages) and Codex CLI (OpenAI Responses), model discovery, verification and troubleshooting.

Installs
57
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/samuraigpt/muapi-skills --skill muapi-chat-agents
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads muapi-chat-agents automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Muapi chat agents

Muapi serves coding agents natively, so no translation proxy is needed:

AgentProtocolBase URLModels endpoint
Claude CodeAnthropic Messageshttps://api.muapi.ai/anthropicGET /anthropic/v1/models
Codex CLIOpenAI Responseshttps://api.muapi.ai/openai/v1GET /openai/v1/models

Usage bills against the user's Muapi credits at the same per-model prices as the Muapi API. Auth is always the user's Muapi API key, read from MUAPI_API_KEY (never paste or commit it).

Rules

  • Do not put the full request URL in the base URL. Agents append /v1/messages or /responses themselves.
  • Always read model ids from the models endpoint. Never rely on a remembered list.
  • Put provider settings in user-level config, never in project files.
  • Authenticate with Authorization: Bearer <key> (Claude Code's ANTHROPIC_AUTH_TOKEN does this) or x-api-key.
  • A request is checked against the wallet before it runs, so the balance must cover a worst-case request (a large prompt plus the full output limit on a big model can hold a dollar or more; the unused part is returned).

Setup

  1. export MUAPI_API_KEY=your_key (PowerShell: $env:MUAPI_API_KEY = "your_key" and setx MUAPI_API_KEY "your_key").
  2. List models:
    curl -s -H "Authorization: Bearer $MUAPI_API_KEY" https://api.muapi.ai/anthropic/v1/models
    curl -s -H "Authorization: Bearer $MUAPI_API_KEY" https://api.muapi.ai/openai/v1/models
    
    (Windows PowerShell: use curl.exe.)

Claude Code

Add to ~/.claude/settings.json (or .claude/settings.local.json, never the committed project file):

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.muapi.ai/anthropic",
    "ANTHROPIC_AUTH_TOKEN": "<your Muapi API key>",
    "ANTHROPIC_MODEL": "claude-sonnet-5-5"
  }
}

Or export ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN="$MUAPI_API_KEY" in the shell before starting claude. settings.json env values are literal, so prefer the shell exports to keep the key out of files. Run /status inside Claude Code to confirm the base URL, and claude --debug to see requests.

Uncensored (abliterated) models in Claude Code

GET /anthropic/v1/models also lists the tool-capable abliterated models. Use the same base URL and key, pick one with claude --model <id>, and set ANTHROPIC_DEFAULT_HAIKU_MODEL and ANTHROPIC_SMALL_FAST_MODEL to that same id (otherwise Claude Code's background requests 404). Warn the user: quality varies by model (smaller models can skip steps on multi-file tasks), there is no prompt caching so every turn re-bills the whole conversation, and output is capped at 16,384 tokens per response. Codex CLI can use them too through /openai/v1 (set model to the id); this path is tested with real Codex CLI sessions (file write, shell and apply_patch tool calls on qwen, mimo and glm), but quality varies by model.

Codex CLI

~/.codex/config.toml:

model = "gpt-5-6-sol"
model_provider = "muapi"

[model_providers.muapi]
name = "Muapi"
base_url = "https://api.muapi.ai/openai/v1"
env_key = "MUAPI_API_KEY"
wire_api = "responses"

env_key names the variable that holds the key; it is not the key. Set model explicitly to an id from the models endpoint. Provider ids openai, ollama and lmstudio are reserved, so use muapi. Run codex doctor to verify. Optional: model_reasoning_effort = "high".

Troubleshooting

ProblemFix
401Header must be Authorization: Bearer <key> or x-api-key. Check the key at https://muapi.ai/dashboard
402 / insufficient creditBalance cannot cover the worst case for that request; top up, or lower the output limit
404 model not foundUse an id from the models endpoint
/v1/v1/messages in errorsRemove the path suffix from the base URL
Claude Code asks to log in to AnthropicQuit the terminal, export the variables, reopen it, start claude from that shell
Codex ignores the providerMove settings to ~/.codex/config.toml (user level)
5xx / provider errorRetry; the proxy already retries a backup route once

FAQ

What does the muapi-chat-agents skill do?

Run Claude Code or Codex CLI on Muapi (api.muapi.ai) using Muapi credits instead of a separate vendor account. Use when the user wants a local coding agent to use Muapi as its model provider, asks which Muapi models work with Claude Code or Codex, or needs the base URL, API key variable, provider block or model name for either agent. Covers Claude Code (Anthropic Messages) and Codex CLI (OpenAI Responses), model discovery, verification and troubleshooting.

How do I install muapi-chat-agents?

Run npx skills add https://github.com/samuraigpt/muapi-skills --skill muapi-chat-agents in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/muapi-chat-agents/ (personal) or .claude/skills/muapi-chat-agents/ (project).

Which AI agents can use muapi-chat-agents?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is muapi-chat-agents safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains muapi-chat-agents?

It is published by samuraigpt in samuraigpt/muapi-skills. It has 57 recorded installs.

More from samuraigpt/muapi-skills

View all →

muapi-media-generation

samuraigpt/muapi-skills

Open the skill to read its SKILL.md instructions.

61 installs

muapi-models

samuraigpt/muapi-skills

Discover, price and run AI models on Muapi (api.muapi.ai) — image, video, audio, lipsync, 3D, LLM text, SEO/data tools. Use when the user mentions Muapi or muapi.ai, asks "which Muapi model for X", "list Muapi models", "generate an image/video/song/voiceover with Muapi", wants a model's schema or price, or wants generated media saved into their project. Covers search, schema inspection, cost estimate, file upload, async submit, polling and downloading results.

Media & Creative61 installs

muapi-platform

samuraigpt/muapi-skills

Setup and utility scripts for muapi.ai — configure API keys, test connectivity, and poll for async generation results

Backend & APIs60 installs

muapi-workflow

samuraigpt/muapi-skills

Build, run, and visualize multi-step AI generation workflows. The AI architect translates natural language descriptions into connected node graphs — chain image generation, video creation, enhancement, and editing into automated pipelines.

muapi-media-editing

samuraigpt/muapi-skills

Open the skill to read its SKILL.md instructions.

59 installs

muapi-floor-plan-rendering

samuraigpt/muapi-skills

Design a 2D floor plan and convert it into a realistic, high-quality 3D architectural rendering.

Popular backend & apis skills

View category →

find-skills

vercel-labs/skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

OfficialBackend & APIs4.1M installs

entra-app-registration

microsoft/azure-skills

Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.

OfficialBackend & APIs566.7K installs

This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).

Backend & APIs514.8K installs

embedded-captions

heygen-com/hyperframes

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Backend & APIs453.3K installs

entra-agent-id

microsoft/azure-skills

Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).

OfficialBackend & APIs336.6K installs

neon

neondatabase/agent-skills

Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.

Backend & APIs237.1K installs