Use Cases
Prerequisites
- Install at least one Skills-capable AI Agent, such as Codex, Claude Code, Cursor, Cline, Gemini CLI, or OpenCode.
- Make sure Python 3.8 or later is available locally.
- For real model calls, prepare an AIHubMix API Key.
- To query balance, Key lists, or models callable by the current account, install and log in to the official
aihubmixCLI.
Installation
Option 1: Let the Agent Install It
Give this instruction to your current AI Agent:Option 2: Manual Installation
Optional: Install AIHubMix CLI
TheAiHubMixAPI script can read public model and protocol information. Account balance, Key management, and models actually callable by the current account require the official CLI after login.
How to Use
After installation, you usually do not need to remember commands. Describe the task directly in your agent:Command Line Usage
You can also run the script directly from the Skill directory:--lang zh or set:
Capability Quick Reference
FAQ
The Agent Does Not Trigger the Skill Automatically
Different agents have different Skill-triggering strategies. You can first call/AiHubMixAPI explicitly, or describe the task more directly with keywords such as “AIHubMix”, “model”, “Base URL”, “API Key”, or “error code”.
A Model Appears in the Public List, but My Key Cannot Call It
The public model list only means the model exists on the platform. It does not guarantee that the current account has permission or balance to call it. Useaihubmix models list or candidates --mine to check the account’s real callable range, then use doctor --model <model-id> for a real verification.
When Do I Need the aihubmix CLI
You do not need it for public information. You need to install and log in to the CLI for account-related capabilities such as balance, Key management, callable models, and --mine filtering.
Will the API Key Be Exposed
The Skill script redacts secrets. Still, avoid writing real Keys into repository files, issues, PR descriptions, or chat logs. Use environment variables for local debugging.Related Resources
- Skill repository: https://github.com/AIhubmix/skills
- AIHubMix CLI: https://github.com/AIhubmix/platfrom-cli
- AIHubMix model marketplace: https://aihubmix.com/models