bailian-cli

bailian-cli is a skill for Claude Code, Codex from modelstudioai/cli. It costs 556 tokens per session (5,314 once invoked), scanned A, original, Apache-2.0.

A command-line hub for Alibaba Cloud Bailian and DashScope resources. It covers applications, models, knowledge bases, usage, authentication, files, MCP services, pipelines, and installing or updating related agent skills.

In plain words
What is it for?
Use it to manage Bailian resources, configure access, inspect models and quotas, upload files, work with applications and knowledge bases, and install or maintain Bailian skills.
Why use it?
It gives one interface for common Bailian tasks and directs specialized work to the appropriate skill. Its shared setup rules help avoid guessing authentication, consent, versions, or command options.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Shared protocol → [`../bailian-protocol/SKILL.md`](../bailian-protocol/SKILL.md) (install the full family with `bl skill init`)..

Good fit Use it to manage Bailian resources, configure access, inspect models and quotas, upload files, work with applications and knowledge bases, and install or maintain Bailian skills.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/modelstudioai/cli
agentmods
npx agentmods add skills/modelstudioai/cli/bailian-cli

Made for: Claude Code, 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 bailian-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/modelstudioai/cli/bailian-cli/github.svg)](https://agentmods.dev/skills/modelstudioai/cli/bailian-cli)
Your own site
<a href="https://agentmods.dev/skills/modelstudioai/cli/bailian-cli"><img src="https://agentmods.dev/badge/skills/modelstudioai/cli/bailian-cli/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 bailian-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/modelstudioai/cli/bailian-cli"><img src="https://agentmods.dev/badge/skills/modelstudioai/cli/bailian-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 556 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,314 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. Third-party audits
  • Socket pass 27 Nov 2026
  • Snyk fail 27 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00556 $0.05314
Opus 5.5 $0.00222 $0.02126
Sonnet 5.5 $0.00111 $0.01063
Haiku 4.5 $0.00056 $0.00531

Measured 3d ago against content hash e8a5dcc0641e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bailian-cli 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 3d 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/bailian-cli/SKILL.md · 186 lines

How it starts

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

Aliyun Model Studio CLI (bl)

CRITICAL — Before executing, MUST read the shared protocol in ../bailian-protocol/SKILL.md: Provider selection and consent, Version & updates (pre-flight checklist), Call attribution (every Agent bl command), Setup & auth, and CLI errors: report an issue. If that protocol file is missing, stop and run bl skill init; do not guess auth/consent.

Call attribution: Examples below and in reference/ stay bare bl …. When running a command, wrap it with bailian-protocol → Call attribution (bash or PowerShell). One sample for this skill (BAILIAN_SKILL_NAME=bailian-cli; replace codex with this host). When copying commands into a reusable script / template / task definition, switch to the protocol script template (never keep agent); the sample below is for this-turn inline execution only. Strip attribution when handing a command to the user to paste.

BAILIAN_CALLER_TYPE=agent BAILIAN_CALLER_NAME=codex BAILIAN_SKILL_NAME=bailian-cli BAILIAN_SKILL_VERSION=<metadata.version> bl text chat --message "Write a poem about spring"

Family hub — This skill owns Bailian resource commands and the hub reference/ (apps, usage, auth, config, …). Shared protocol → ../bailian-protocol/SKILL.md (install the full family with bl skill init). Soft hand-offs by skill name (Read if installed; else bl … --help / prompt bl skill init): bailian-gen (media / image·doc·PDF translation) · bailian-finetune (training) · bailian-opd (guided end-to-end OPD distillation workflow) · bailian-managed-agent (agents.yaml IaC) · bailian-sandbox (Sandbox lifecycle) · bailian-web-search (web search routing) · bailian-knowledge (personal documents in everyday tasks and knowledge workflows). Tasks that need the user’s own historical documents belong to bailian-knowledge; ordinary writing does not itself select a cloud provider. Do not invoke it for ordinary reasoning, coding, writing, host-capable plain-text translation, summarization, generic research, or image understanding the host agent can complete directly. Named Bailian / Qwen-MT / bl text translate text translation stays here; image / document / PDF translation → bailian-gen.

Install (supported): bl skill init

Read the full file on GitHub · 186 lines

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. 3d ago Changed · +5 lines · +14 tokens per session e8a5dcc0641e
  2. 5d ago Changed 32d549b049e5
  3. 6d ago Changed 0c42f76612f0
  4. 7d ago Changed · +6 lines · +96 tokens per session 2fd26b40e12e
  5. 10d ago Changed · +1 lines 76c30a967921
  6. 12d ago Changed e4511d09db88
  7. 13d ago Changed 84bc67257381
  8. 17d ago Changed · +2 lines · +10 tokens per session 69d85a4956e5
  9. 18d ago Changed · +11 lines · +21 tokens per session b7b6345bed32
  10. 20d ago First seen · 161 lines · 415 tokens per session scan A 329864e5fc8b

Subscribe to this mod's changes

bailian-cli is a skill published in the GitHub repository modelstudioai/cli (376 stars, last pushed yesterday), licensed Apache-2.0. It adds 556 tokens to every session and 5,314 once invoked, about $0.0022 per session on Opus 5.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-30.

Related

bailian-cli compared with skills from other repositories

bailian-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bailian-climodelstudioai/cliSkill376yesterdayApache-2.0A556Claude Code, Codex
apigee-agent-gateway-governancegoogle/skillsSkill25ktodayApache-2.0A222Claude Code, Codex
agent-platform-rag-engine-managementgoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
graphifyGraphify-Labs/graphifySkill155ktodayApache-2.0B76Claude Code
graphifyGraphify-Labs/graphifySkill155ktodayApache-2.0B76Claude Code
google-cloud-solution-rag-enterprise-search-gke-sqldbgoogle/skillsSkill25ktodayApache-2.0A114Claude Code, Codex
gpt-image-2ConardLi/garden-skillsSkill16k12d agoMITA177Claude Code, Codex