Official Model Studio CLI(阿里云百炼 CLI)built for AI Agent frameworks, exposing models, search, multimodal, and workflow capabilities as structured tool calls.
# Add to your Claude Code skills
git clone https://github.com/modelstudioai/cliLast scanned: 6/11/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-11T08:49:35.673Z",
"npmAuditRan": false,
"pipAuditRan": true,
"promptInjectionRan": true
}See how cli compares with popular alternatives.
cli is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by modelstudioai. Official Model Studio CLI(阿里云百炼 CLI)built for AI Agent frameworks, exposing models, search, multimodal, and workflow capabilities as structured tool calls. It has 363 GitHub stars.
Yes. cli passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/modelstudioai/cli" and add it to your Claude Code skills directory (see the Installation section above).
cli is primarily written in TypeScript. It is open-source under modelstudioai on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh cli against similar tools.
No comments yet. Be the first to share your thoughts!
30 days in the Featured rail · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
The official command-line interface for Aliyun Model Studio (DashScope) AI Platform
Aliyun Model Studio CLI Site · 中文文档 · API Documentation · Get API Key
Chat with Qwen, generate and edit images and videos, understand images, synthesize and recognize speech, call apps, manage memory, retrieve knowledge, search the web — every AI capability, one command away.
Built for AI Agents. Every command works as a structured tool call.
Note: App orchestration, native MCP setup, training & deployment, account operations, and plan onboarding are currently available only to China site (aliyun.com) account holders and are not yet supported for international / global site accounts.
A complete 2-minute, 16:9 cinematic short film — produced end-to-end from a single natural-language sentence, with zero manual editing. This showcase demonstrates how an AI Agent can compose a multi-step creative pipeline by orchestrating three primitives:
"Generate a roughly 2-minute video in Japanese cinematic style — a sweet, innocent first-love story about a high-school girl. The plot should be heart-fluttering enough to make viewers want to fall in love. Aspect ratio: 16:9."
One sentence builds a reusable cloud-side short-film director for storyboarding, storyboard image generation, and video creation:
"Build me a Managed Agent app that can produce short films — a director expert that generates videos and can also design the matching storyboards."
Agent install (recommended)
Send the following to your Agent — it will detect your environment, then install and verify the CLI for you:
Please read https://bailian.aliyun.com/cli/install.md and install the Aliyun Model Studio CLI for me
Install with NPM
npm install -g bailian-cli
bl skill init
Requires Node.js >= 18.17.
Install on macOS/Linux
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
No Node.js required. The installer automatically installs Bailian Skills.
Install on Windows
irm https://bailian.aliyun.com/cli/install.ps1 | iex
No Node.js required. The installer automatically installs Bailian Skills.
Once installed, just describe your task to your AI Agent — no need to assemble commands by hand.
| Scenario | What to say to your Agent |
|---|---|
| Managed Agent | "Create a Managed Agent that can generate short-film storyboards and videos." |
| Image & video generation | "Generate an image of a cat in a spacesuit on Mars, then turn it into a video." |
| Speech recognition | "Transcribe this audio; if proper nouns are wrong, add hot words and try again." |
| Usage & quota | "Show my recent model usage, free-tier quota, and rate limits." |
| Monitoring & alerts | "Show my model call stats, failures and logs, and create an alert rule." |
| Throughput reservations | "List my throughput reservations and capacity instances, then scale, renew or release capacity and wait for the operation to finish." |
| Model selection | "Recommend a model for image understanding and customer support." |
| Decision model | "Use the Bailian decision model to route this ticket and assess whether it needs escalation." |
| About Bailian CLI | "Tell me what Bailian CLI can do for me, and suggest how to use it for my needs." |
More examples and scenarios: Aliyun Model Studio CLI Site
Required for console capability commands (model list, app list, MCP list, workspace, usage queries, rate-limit increases, direct console calls). It can create an ordinary API key when needed. Token Plan and other subscription plans cannot use --console; use the API Key login below.
bl auth login --console
Use --console-site international for the international console.
The CLI always prints the login URL. To choose a browser yourself, keep the command running and open the URL on the same machine:
bl auth login --console --no-browser --console-site international
If the browser blocks the local callback, check the console site's local-network permission or try Firefox. The PNA compatibility header does not bypass Chrome's local-network permission or Safari's mixed-content restrictions. No callback within 15 minutes is a failure (exit code 5), not a successful login.
If you already have a valid console access token, import it via stdin without a browser or local callback server. Specify the token's actual region and site; for example, in a POSIX shell:
bl auth login --console --token-stdin --console-site international --console-region ap-southeast-1 < /path/to/console-token.txt
Input must be one raw token (up to 64 KiB), not JSON or Bearer ...; interactive terminal input is rejected to avoid echoing secrets. Use a protected file or trusted pipe, never put the token in command arguments or shell history, and remove temporary secret files after use. The CLI validates the token before saving; failure leaves existing credentials and the active Profile unchanged. Add --config <name> to save and activate a specific Profile on success. This imports only the console session, not a model API key.
To use an existing ordinary API key or a Token Plan subscription key, run the same command:
bl auth login --api-key <API_KEY>
Get an ordinary key from the DashScope Console, or a Token Plan key from the [subscription ov