bailian-cli

bailian-cli is a skill for Claude Code, Codex from modelstudioai/cli. It costs 359 tokens per session (3,242 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

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; mentions Codex; built for openclaw.

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 359 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,242 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 16 Oct 2026
  • Snyk warn 16 Oct 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.00359 $0.03242
Opus 5.5 $0.00144 $0.01297
Sonnet 5.5 $0.00072 $0.00648
Haiku 4.5 $0.00036 $0.00324

Measured today against content hash 8ae074e327bd, 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 today.

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 · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 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), 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.

Family hub — This skill owns Bailian resource commands and the hub reference/ (apps, knowledge, 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) · bailian-finetune (training) · bailian-managed-agent (agents.yaml IaC) · bailian-sandbox (Sandbox lifecycle) · bailian-web-search (web search routing). Do not invoke it for ordinary reasoning, coding, writing, translation, summarization, generic research, or image understanding the host agent can complete directly.

Install (supported): bl skill init

Command reference (authoritative)

Hub-owned commands, flags, usage strings, and examples are documented in:

Domain skills own their own generated reference trees (soft hand-off — do not require them for hub work):

  • bailian-gen → image / video / speech / omni / vision (fallback: bl image\|video\|speech\|omni\|vision --help)
  • bailian-finetune → dataset / finetune / deploy (fallback: bl dataset\|finetune\|deploy --help)
  • bailian-managed-agent → managed-agent (fallback: bl managed-agent --help)
  • bailian-sandbox → sandbox (fallback: bl sandbox --help)
  • bailian-web-search → web search routing (hub still owns reference/search.md flags; must route via this skill before bl search web)

Read the full file on GitHub · 142 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. today Changed 8ae074e327bd
  2. 2d ago Changed · +2 lines · +9 tokens per session b8f43ebf1205
  3. 4d ago Changed 5df57f085dc2
  4. 18d ago Changed a942661b14ba
  5. 24d ago Changed · +3 lines 9a193359b91d
  6. 26d ago Changed d39095d88b5e
  7. 28d ago Changed · +3 lines ceb5c4798fe1
  8. 29d ago Changed cd9a916cf1b5
  9. 1mo ago Changed · +1 lines d2a78ad6cbbf
  10. 1mo ago First seen · 133 lines · 350 tokens per session scan A 934ac23f2e92

Subscribe to this mod's changes

bailian-cli is a skill published in the GitHub repository modelstudioai/cli (478 stars, last pushed yesterday), licensed Apache-2.0. It adds 359 tokens to every session and 3,242 once invoked, about $0.0014 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

Other skills, from other repositories

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

graphify

Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community…

Graphify-Labs/graphify · 76 tokens

google-cloud-solution-rag-enterprise-search-gke-sqldb

Discovers requirements, and generates architectural, design, and deployment guidance for a retrieval-augmented generation (RAG)-capable enterprise search system in Google Cloud. Use when users need a vector-enabled SQL database as the store and index for the embedding vectors, an open model and open-source inferencing…

google/skills · 114 tokens

gpt-image-2

A skill for generating or editing images with GPT Image 2 across local, host-provided, or advisory setups.

ConardLi/garden-skills · 177 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens

kb-retriever

A retrieval and question-answering assistant for a local folder of documents, including Markdown, text, PDFs, and spreadsheets.

ConardLi/garden-skills · 105 tokens