Agent skill

Bailian Managed Agent CLI

by modelstudioai in modelstudioai/cli

Manages Alibaba Cloud Bailian managed agents as infrastructure as code with the bl managed-agent command, previewing every change before apply or destroy.

Apache-2.0Auto-check: notesDevOps & Cloud

SKILL.md written in Chinese; this summary is our English description.

Install Bailian Managed Agent CLI

skills CLI
$ npx skills add modelstudioai/cli --skill bailian-managed-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install modelstudioai/cli bailian-managed-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/modelstudioai/cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/bailian-managed-agent .claude/skills/bailian-managed-agent && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bailian-managed-agent
GitHub stars
542
Token cost
~3.5k tokens
SKILL.md length
1,287 words
Files
3
Skills in repo
8
Repo updated
First seen
Licence
Apache-2.0

At a glance

Manages Alibaba Cloud Bailian managed agents as infrastructure as code with the bl managed-agent command, previewing every change before apply or destroy.

  • Works in 4 steps: For agents.yaml resource changes, always… → A single-resource create command… → Only after explicit user confirmation,… → …
  • Scaffolding an agents.yaml for a new managed agent
  • SKILL.md covers Safety guardrail (the most…, IaC lifecycle, Directory projects, Workbench,… and Scoped single-resource create, plus 6 more sections
  • Calls vault; needs PROD_API_TOKEN and API_TOKEN

What it does

A Chinese-language guide to the bl managed-agent command of the Model Studio CLI. The file agents.yaml is the single source of truth: you initialize it, validate it offline, preview changes with plan and then apply or destroy, covering agents, environments, skills, vaults and deployments. Directory projects can be built, published and edited in Workbench, with local snapshot versions.

Query commands list, get, search, show versions and download resources, and runtime commands manage sessions, events, files and deployment run, pause and unpause. Apply, destroy and other destructive API commands sit behind a high-risk confirmation gate: always show the preview first and never add --yes before the user confirms. It points to a shared bailian-protocol skill, which must be read first, and to bailian-app-call and bailian-gen for other jobs.

When your agent uses it

  • Scaffolding an agents.yaml for a new managed agent
  • Previewing a configuration change before applying it
  • Listing agents, environments, skills or deployments
  • Pausing or running a deployment

Example prompts

  • “Initialize an agents.yaml for a new Bailian managed agent.”
  • “Run a plan on my agents.yaml and show the diff before applying anything.”
  • “List the deployments in my Bailian account and pause the support one.”

Requirements

  • The bl CLI from the Model Studio CLI
  • The shared bailian-protocol skill, installed with bl skill init

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. For agents.yaml resource changes, always run bl managed-agent plan first and show the diff to the user.
  2. A single-resource create command previews its scoped plan when --yes is absent; show that preview before retrying it with --yes.
  3. Only after explicit user confirmation, retry apply / destroy / single-resource create with --yes.
  4. Never add --yes on your own initiative before the user has confirmed.

What it can do on your machine

Read from SKILL.md and the folder at commit 8bbbbc7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • vault

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • PROD_API_TOKEN
    • API_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bailian Managed Agent CLI loads about 3.5k tokens when it runs. Until then it costs about 143 tokens; SKILL.md has 1,287 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~143
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:69
    r shared `vault.json` into project-root `.env`, replacing them with generated environment references. Existing reference
  • NoteMentions a .env fileSKILL.md:70
    Agent 本地或共享 `vault.json` 中的明文密钥移入项目根目录 `.env`,再写回环境变量引用;保留已有引用和变量,重名时生成后缀。预览不写文件或输出密钥。`.env` 不进入版本快照,也不加密;请自行备份并加入 Git
  • NoteMentions a .env fileSKILL.md:101
    ecret 可来自 Shell export、CI Secret 注入或可选的 `.env`;CLI 会从当前目录向上自动加载最近的 `.env`,用户不必创建该文件。
  • NoteMentions a .env fileSKILL.md:113
    - 不要提交 `.env`;若使用 `.env`,先确认项目 `.gitignore` 已忽略它。

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from modelstudioai/cli at commit 8bbbbc7, republished under its Apache-2.0 licence (© modelstudioai). 1,287 words, ~3,546 tokens.

Download SKILL.mdSave it as .claude/skills/bailian-managed-agent/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
bailian-managed-agent
description
阿里云百炼托管 Agent 声明式基础设施与 API 命令入口:用户要创建agent、初始化 agents.yaml、校验或预览配置变更、 创建/更新/销毁托管 Agent 或 Deployment、在 Workbench 编辑和调试目录项目、管理本地快照版本,或查询 Agent/Environment/Skill/Vault/Deployment、管理 Session/Event/File、运行/暂停 Deployment 时使用 `bl managed-agent`。持久资源仍以 agents.yaml 为唯一事实源做 IaC;公开 API 能力按资源透出 list/get/search/versions/download、数据面和运行时动作命令。apply / destroy 与破坏性 API 命令受统一高风险确认闸门保护; 务必先展示预览再让用户确认,禁止自动添加 `--yes`。 反触发:调用已上线的百炼应用/智能体走 bailian-app-call 或 `bl app`;宿主 agent 自身的记忆、技能、 子代理不走本 skill;生图生视频走 bailian-gen。 官方安装:`bl skill init`(与共享协议 bailian-protocol 同装)。
metadata.version
2.1.0

Bailian managed agent IaC (bl managed-agent)

CRITICAL — Before executing, MUST read the shared protocol in ../bailian-protocol/SKILL.md: High-risk operation confirmation, Version & updates (pre-flight checklist), and CLI errors: report an issue. Command details are authoritative in reference/managed-agent.md and bl managed-agent --help — do not guess flags. If that protocol file is missing, stop and run bl skill init; do not guess auth/consent.

Safety guardrail (the most important rule)

apply / destroy and single-resource create --yes mutate persistent remote resources:

  1. For agents.yaml resource changes, always run bl managed-agent plan first and show the diff to the user.
  2. A single-resource create command previews its scoped plan when --yes is absent; show that preview before retrying it with --yes.
  3. Only after explicit user confirmation, retry apply / destroy / single-resource create with --yes.
  4. Never add --yes on your own initiative before the user has confirmed.

API-oriented commands do not replace IaC. Agent / Environment / Skill / Vault / Deployment 的 create 命令仍通过 agents.yaml → scoped plan → scoped apply 管理;查询命令和 Session、Event、File、Deployment 运行时动作直接调用 API。 session archive|delete、file delete、deployment run|pause|unpause 也需要先 --dry-run,确认后才传 --yes。

state rm, session archive|delete, file delete, deployment run|pause|unpause, and future risk: high commands follow the shared protocol: show the risk message and exact scope, then wait for explicit confirmation before re-running with --yes.

IaC lifecycle

1. Init      bl managed-agent init          # scaffold agents.yaml
2. Validate  bl managed-agent validate      # offline, no network calls
3. Preview   bl managed-agent plan          # show the pending change diff
4. Confirm   show the plan and ask the user # no automatic --yes
5. Apply     bl managed-agent apply --yes   # only after explicit confirmation
6. Destroy   bl managed-agent destroy --yes # separate explicit confirmation

Directory projects, Workbench, and local versions

IntentCommand
Create or convert a directory projectbl managed-agent project init
Validate and Build directory sourcebl managed-agent project validate / build
Publish the current immutable Buildbl managed-agent project publish --yes
Launch project resource editingbl managed-agent project workbench
Launch one Agent Session Previewbl managed-agent playground --agent <id>
Enable/disable project versionsbl managed-agent project version enable / disable
Inspect local version state and historybl managed-agent project version status / list
Preview or restore project sourcebl managed-agent project version preview / restore
  • Bailian CLI and Workbench use the same .openagentpack/versions/project store and enable switch. Git is not required.
  • Directory projects always use Bailian. project.json does not declare a Provider; Build supplies the Bailian Provider configuration automatically.
  • Fresh project init includes complete Skill/File/Vault/Environment examples with bilingual README files under agents/assistant/<resource-type>/_examples/. They are not linked in agent.json and are excluded from Build discovery, Workbench declarations, and remote Publish. Copy a resource outside _examples/ and configure its Agent reference to use it. Examples remain local versioned source; never put real secrets into them. / 新项目的四类资源示例默认不启用、不发布;请按 README 复制到 _examples/ 外再配置引用,不要向示例写入真实密钥。
  • project init, validate, build, and version commands are local-only. Publish and Workbench resolve credentials from Bailian CLI flags, shell environment, or the active Profile; project initialization does not write credentials into the project directory.
  • Build is local-only. Publish never runs Build implicitly and consumes only a current .openagentpack/build/agents.yaml plus manifest.
  • Build moves literal Vault secret_value / access_token values from Agent-local or shared vault.json into project-root .env, replacing them with generated environment references. Existing references and .env entries are preserved; conflicts receive suffixed variable names. Preview/dry-run never write or print secrets. Publish and Workbench read the selected project's root .env as a fallback to inherited environment variables, even when invoked elsewhere. .env is private plaintext storage, excluded from local versions but not automatically ignored by Git; keep it backed up securely.
  • Build 会将 Agent 本地或共享 vault.json 中的明文密钥移入项目根目录 .env,再写回环境变量引用;保留已有引用和变量,重名时生成后缀。预览不写文件或输出密钥。.env 不进入版本快照,也不加密;请自行备份并加入 Git 忽略规则。
  • Agent-local File and Skill content supports Build-time association. A File may be copied directly into agents/<agent>/files/, or placed in agents/<agent>/files/<id>/ when that directory contains exactly one content file; Build generates file.json and a /mnt/<filename> entry in agent.json.files. A directory under agents/<agent>/skills/<id>/ containing SKILL.md generates skill.json and its agent.json.skills entry. Explicit JSON always wins; shared root resources remain explicit. Resources referenced by multiple Agents are promoted to the corresponding root shared directory during Build.
  • A successful Publish versions the canonical YAML and the complete project source tree, including Skill scripts/assets and binary files. Remote State is never versioned or restored.
  • project version restore restores source files to the working directory, invalidates Build, and does not move version history or remote State.
  • managed-agent playground remains the standalone agents.yaml Session Preview path; directory Workbench is only under managed-agent project workbench.

Scoped single-resource create

以下命令都先构造 agents.yaml 声明,再通过 SDK 的定向 Plan/Apply 创建远端资源,不绕过 State:

ResourceCommand
Agentbl managed-agent agent create
Environmentbl managed-agent environment create
Custom Skillbl managed-agent skill create
Empty Vaultbl managed-agent vault create
Credential in a Vaultbl managed-agent vault credential create
Deploymentbl managed-agent deployment create
  • 用户只提供资源 name;CLI 自动生成稳定的 YAML 逻辑 key,同名资源用递增后缀并存。Credential 追加到指定 Vault,不单独生成 key。
  • agent create --skill <id> 直接绑定已存在的远端 Skill,不要求顶层 skills 声明;默认写为 type: custom,平台 Skill 显式增加 --type official。同一次命令中的全部 --skill 共用该类型。
  • agent create --skill-dir <path> 接收可重复的本地 Skill 目录或 ZIP:CLI 从其中的 SKILL.md 读取 name,自动生成顶层 skills.<key> 声明,并把该 key 写入 Agent 的 skills 列表;定向 Apply 会先上传 custom Skill,再创建 Agent。--type 只作用于 --skill <id>,不改变本地 Skill 的 custom 类型。
  • Environment 和 Vault 属于 Session/Deployment 运行时绑定,不是 Agent 创建参数;在 session create|run 或 deployment create 中传入。
  • 默认只预览自动 key 和定向计划;--dry-run 完全离线,只有显式 --yes 才写 YAML 并创建远端资源。
  • 定向流程只刷新目标资源及其传递依赖;无关资源不检测 Drift、不产生 action,也不阻塞。
  • 目标资源必须是 create,相关依赖必须已经处于 no-op;项目级 Drift 和删除仍由全量 plan/apply 处理。
  • 远端创建失败时保留 YAML 声明;修复相关依赖或 Provider 错误后,重复相同命令会复用待创建 key。
  • skill create 接受本地目录、ZIP 或单个 SKILL.md;远程 URL 仍需手工声明到 YAML,再执行全量 Apply。
Show full SKILL.md (472 more words)Show less
Credential secret input

vault credential create --secret-env <ENV_NAME> 中的参数是变量名,不是 Secret 明文。Secret 可来自 Shell export、CI Secret 注入或可选的 .env;CLI 会从当前目录向上自动加载最近的 .env,用户不必创建该文件。

bash
export PROD_API_TOKEN="..."
bl managed-agent vault credential create \
  --vault production \
  --name api-token \
  --secret-name API_TOKEN \
  --secret-env PROD_API_TOKEN
  • YAML 只保存 secret_value: ${PROD_API_TOKEN},输出、诊断和 State 都不保存明文。
  • 不要提交 .env;若使用 .env,先确认项目 .gitignore 已忽略它。
  • 预览后再带 --yes 重试。后续执行全量 Apply 时也必须提供同名环境变量。

具体 flags、usage 和 examples 以 reference/ 或对应命令的 --help 为准。

Deployment as IaC

Deployment 与 Agent 一样声明在 agents.yaml 中,并复用同一条 validate → plan → apply → destroy IaC 链路; deployment create 可追加一条声明并走定向 Apply;CLI 不提供绕过 state 的 Deployment create/update/delete。最小配置:

yaml
deployments:
  daily-report:
    agent: assistant
    initial_events:
      - type: user.message
        content: "Generate today's report."
  • apply 会在百炼创建原生 Deployment;destroy 会归档已跟踪的远端 Deployment。
  • schedule 会在 apply 后由百炼服务端执行。若旧流程已有外部 cron / CI,先检查 plan,避免重复触发。
  • initial_events 至少包含一个 user.message 或 system.message;user.define_outcome 在百炼会被丢弃并产生诊断。
  • 本地文件资源在 apply 时上传,mount_path 必须位于 /mnt,且归一化后不能重复。
  • 旧版模拟 Deployment 的 state 可能记录空 remote_id;升级后 plan 会显示 materialize 更新,确认后再 apply。

Session interaction (chat with a deployed managed agent)

IntentCommand
Create + send + stream in one stepbl managed-agent session run
Send a message to an existing sessionbl managed-agent session send
Create / inspect / list sessionsbl managed-agent session create / get / list
List session event historybl managed-agent session events
Delete a sessionbl managed-agent session delete

规范路径是 session event list|send|stream;session events 保留为 session event list 的兼容别名。 Managed Agents 的子线程通过 Event 中的 session_thread_id 暴露;公开 API 当前没有独立 Thread 资源 CRUD, 不要构造 session thread list|get|archive|events 命令。

API-oriented resource commands

IntentCommand family
Discover agents and versionsagent list, agent get, agent search, agent versions
Discover environmentsenvironment list, environment get, environment search
Discover skills and download a versionskill list, skill get, skill search, skill versions, skill download
Inspect vault envelopesvault list, vault get, vault search
Inspect deployments and run historydeployment list, deployment get, deployment search, deployment runs list, deployment runs get
Run or pause deploymentsdeployment run, deployment pause, deployment unpause
Manage session metadata/lifecyclesession list, session get, session search, session update, session archive, session delete
Work with raw eventssession event send, session event list, session event stream
Diagnose/export a sessionsession debug, session export
Work with filesfile upload, file list, file get, file search, file download, file delete
  • 所有 Cursor 都是不透明字符串:只回传 next_page,不得转换为数字页码。
  • 客户端搜索默认最多扫描 10 页;需要扩大范围时显式传 --page-limit。Deployment 搜索直接映射服务端 keyword。
  • 下载必须给出 --output-file;默认不覆盖已有文件,只有用户确认后才可加 --force。
  • session export 只导出诊断元数据,不含 File 正文,并会脱敏凭证类字段。
  • 公开 Managed Agents API 没有模型 Catalog,也没有 MCP OAuth Login;CLI 不注册对应命令。

Local state management

IntentCommand
Inspect tracked resourcesbl managed-agent state list / show
Adopt an existing remote resource to statebl managed-agent state import
Untrack only (do not destroy remotely)bl managed-agent state rm
  • Always make the difference clear to the user: state rm only edits the local state file, while destroy deletes the remote resource.

Flags, usage, and examples: see reference/ or bl <command> --help — do not guess flags.

Common hand-offs

软 hand-off(按 skill 名;已安装则 Read,否则 --help / 提示 bl skill init):

  • Call an already published Bailian app/assistant → bailian-app-call, or skill bailian-cli (bl app list / call; fallback: bl app --help).
  • Choosing the model referenced in agents.yaml → bailian-model-recommend.
  • Deployment quota / billing questions → skill bailian-cli (fallback: bl quota / bl usage --help).

references

© modelstudioai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in skills/bailian-managed-agent of modelstudioai/cli.

  • SKILL.md
  • reference/index.md
  • reference/managed-agent.md

Open the folder on GitHubat commit 8bbbbc7

Compare with similar skills

Bailian Managed Agent CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bailian Managed Agent CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bailian Managed Agent CLI this skillmodelstudioai/cli542—~3.5kAutomated safety check: NotesApache-2.0
Deploying Scalable Agentsmicrosoft/ai-agents-for-beginners77k—~1.5kAutomated safety check: PassMIT
Deploying Scalable Agentsmicrosoft/ai-agents-for-beginners77k—~1.6kAutomated safety check: PassMIT
AWS Cdk Developmentzxkane/aws-skills3672 repos~2.5kAutomated safety check: PassMIT
Senior DevOps Toolkitmaslennikov-ig/claude-code-orchestrator-kit2606 repos~1.1kAutomated safety check: NotesCustom licence
Azure Architecture Autopilotgithub/awesome-copilot40k1 repos~1.9kAutomated safety check: PassMIT

Similar skills

  • Deploying Scalable Agents

    microsoft/ai-agents-for-beginners

    Official

    Take a working agent prototype to a scalable, observable production deployment on Microsoft Foundry.

    77k GitHub stars~1.5k tokensUpdated 19 days ago
    DevOps & CloudAuto-check passed
  • Deploying Scalable Agents

    microsoft/ai-agents-for-beginners

    Official

    Take one working agent prototype go scalable, observable production deployment for Microsoft Foundry.

    77k GitHub stars~1.6k tokensUpdated 19 days ago
    DevOps & CloudAuto-check passed
  • AWS Cdk Development

    zxkane/aws-skills

    AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.

    367 GitHub starsUsed in 2 repos~2.5k tokens
    DevOps & CloudAuto-check passed
  • Senior DevOps Toolkit

    maslennikov-ig/claude-code-orchestrator-kit

    Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…

    260 GitHub starsUsed in 6 repos~1.1k tokens
    DevOps & CloudAuto-check: notes
  • Azure Architecture Autopilot

    github/awesome-copilot

    Official

    Designs Azure infrastructure from a natural-language description, or diagrams an existing resource group, then refines the design through conversation and deploys it with Bicep.

    40k GitHub starsUsed in 1 repo~1.9k tokens
    DevOps & CloudAuto-check passed
  • Spa Create Config

    splunk/splunk-platform-automator

    A skill your agent uses when creating or updating splunkconfig.yml, designing Splunk Enterprise lab topology, multisite IDXC, SHC layout, architecture plan before config, or AWS Terraform block for…

    137 GitHub stars~3.5k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed

More from modelstudioai/cli

All 8 skills in this repo
  • Bailian Media Generation

    modelstudioai/cli

    Chinese-language entry point into Alibaba Cloud Bailian's image, video and speech generation and understanding, routed through separate image, video, speech and vision commands.

    542 GitHub stars~2k tokensUpdated 8 days ago
    Auto-check passed
  • Bailian Shared Protocol

    modelstudioai/cli

    Shared execution protocol for the Alibaba Cloud Bailian bl skill family, covering consent, version checks, authentication and install, issue reporting and output conventions.

    542 GitHub stars~2.9k tokensUpdated 8 days ago
    Auto-check passed
  • Aliyun Model Studio CLI

    modelstudioai/cli

    Hub for the bl CLI of Alibaba Cloud Model Studio (Bailian): app calls, knowledge bases, model catalog, usage and quota, workspaces, MCP market, auth and skill installs.

    542 GitHub stars~4.2k tokensUpdated 8 days ago
    Auto-check passed
  • Drives fine-tuning on Alibaba Cloud Model Studio with the bl CLI: validate and upload data, create a job, watch it, export results and deploy the model.

    542 GitHub stars~1.8k tokensUpdated 8 days ago
    Auto-check passed
  • Manages Alibaba Cloud Bailian knowledge bases with the bl command line: create bases, upload documents, deploy search services, fix chunks and handle data center files.

    542 GitHub stars~1.5k tokensUpdated 8 days ago
    Auto-check passed
  • Decides whether a web search in Alibaba Cloud Bailian (Model Studio) workflows uses the model's built-in search or the Bailian MCP, based on the connection type.

    542 GitHub stars~1.8k tokensUpdated 8 days ago
    Auto-check passed

Works with

Questions about Bailian Managed Agent CLI

What does Bailian Managed Agent CLI do?

Manages Alibaba Cloud Bailian managed agents as infrastructure as code with the bl managed-agent command, previewing every change before apply or destroy. A Chinese-language guide to the bl managed-agent command of the Model Studio CLI.yaml is the single source of truth: you initialize it, validate it offline, preview changes with plan and then apply or destroy, covering agents, environments, skills, vaults and deployments.

When should I use Bailian Managed Agent CLI?

Bailian Managed Agent CLI fits situations like: scaffolding an agents.yaml for a new managed agent; previewing a configuration change before applying it; listing agents, environments, skills or deployments; pausing or running a deployment.

How do I install Bailian Managed Agent CLI in Claude Code?

Run `npx skills add modelstudioai/cli --skill bailian-managed-agent -a claude-code`. Or copy the skill folder (skills/bailian-managed-agent in modelstudioai/cli) into .claude/skills/bailian-managed-agent in your project. Claude Code loads it when a task matches its description.

How do I install Bailian Managed Agent CLI in Codex?

Run `npx skills add modelstudioai/cli --skill bailian-managed-agent -a codex`. Or copy the skill folder (skills/bailian-managed-agent in modelstudioai/cli) into .agents/skills/bailian-managed-agent in your project. Codex loads it when a task matches its description.

Can I use Bailian Managed Agent CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add modelstudioai/cli --skill bailian-managed-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bailian-managed-agent, .gemini/skills/bailian-managed-agent, .github/skills/bailian-managed-agent and .opencode/skills/bailian-managed-agent in your project.

What does Bailian Managed Agent CLI need to run?

Going by SKILL.md and its folder, Bailian Managed Agent CLI needs the command-line tools its instructions call (vault) and credentials named PROD_API_TOKEN and API_TOKEN. Our summary lists: The bl CLI from the Model Studio CLI; The shared bailian-protocol skill, installed with bl skill init.

Does Bailian Managed Agent CLI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bailian Managed Agent CLI safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Bailian Managed Agent CLI use?

Bailian Managed Agent CLI is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bailian Managed Agent CLI use?

About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bailian Managed Agent CLI?

Skills that share tags, products or a category with Bailian Managed Agent CLI: Deploying Scalable Agents (microsoft/ai-agents-for-beginners, 77k stars), Deploying Scalable Agents (microsoft/ai-agents-for-beginners, 77k stars), AWS Cdk Development (zxkane/aws-skills, 367 stars) and Senior DevOps Toolkit (maslennikov-ig/claude-code-orchestrator-kit, 260 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bailian Managed Agent CLI?

modelstudioai (a GitHub organization) maintains it in modelstudioai/cli, which has 542 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 30, 2026.

Source: modelstudioai/cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.