bailian-managed-agent

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

A command-line tool for managing Alibaba Cloud Bailian hosted agents and deployments from an agents.yaml file. This file acts as the single description of the remote resources, similar to infrastructure-as-code configuration.

In plain words
What is it for?
Use it to create a starter configuration, validate it offline, preview changes, create or update hosted agents, remove them, chat with them, inspect session history, or track remote resources.
Why use it?
It lets you review configuration changes before they affect remote agents. Applying or destroying resources requires explicit confirmation, which helps prevent accidental changes.

Skill for Claude CodeCodex

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

Good fit Use it to create a starter configuration, validate it offline, preview changes, create or update hosted agents, remove them, chat with them, inspect session history, or track remote resources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/modelstudioai/cli/bailian-managed-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add modelstudioai/cli --skill bailian-managed-agent
Clone the repo
git clone --depth 1 https://github.com/modelstudioai/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-managed-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/modelstudioai/cli/bailian-managed-agent"><img src="https://agentmods.dev/badge/skills/modelstudioai/cli/bailian-managed-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 287 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,523 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 26 Nov 2026
  • Snyk fail 27 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 128
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00287 $0.05523
Opus 5.5 $0.00115 $0.02209
Sonnet 5.5 $0.00057 $0.01105
Haiku 4.5 $0.00029 $0.00552

Measured today against content hash 405e0e005183, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bailian-managed-agent 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-managed-agent/SKILL.md · 252 lines

How it starts

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

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), Call attribution (every Agent bl command), and CLI errors: report an issue. Command details are authoritative in reference/managed-agent.md and bl managed-agent --help — do not guess flags. Examples in reference/ stay bare; wrap with Call attribution when running. 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-managed-agent; replace codex with this host). When copying commands into a reusable script / template / task definition (including project scripts), 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-managed-agent BAILIAN_SKILL_VERSION=<metadata.version> bl managed-agent plan

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.

Read the full file on GitHub · 252 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 405e0e005183
  2. 4d ago Changed 19196dee381a
  3. 6d ago Changed 9808056d1b99
  4. 7d ago Changed fb72f0f38eb0
  5. 8d ago Changed 0efc4566d153
  6. 11d ago Changed d4c639d6a111
  7. 13d ago Changed 68c431b9ccd2
  8. 14d ago Changed 13ac22d5094d
  9. 18d ago Changed · +1 tokens per session 9c6e429cfbb9
  10. 19d ago First seen · 252 lines · 286 tokens per session scan A 10c2eaa6e10a

Subscribe to this mod's changes

bailian-managed-agent is a skill published in the GitHub repository modelstudioai/cli (377 stars, last pushed today), licensed Apache-2.0. It adds 287 tokens to every session and 5,523 once invoked, about $0.0011 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-managed-agent compared with skills from other repositories

bailian-managed-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bailian-managed-agentmodelstudioai/cliSkill377todayApache-2.0A287Claude Code, Codex
alibabacloud-ecs-windows-os-troubleshootingaliyun/alibabacloud-ecs-troubleshoot-skillsSkill14826d agoApache-2.0A215Claude Code, Codex
alibabacloud-ecs-linux-os-troubleshootingaliyun/alibabacloud-ecs-troubleshoot-skillsSkill14826d agoApache-2.0A87Claude Code, Codex
doris-debug-cloudapache/doris-skillsSkill525d agoApache-2.0A40Claude Code, Codex
generate-terraform-providerspeakeasy-api/skillsSkill189mo agoApache-2.0A73Claude Code
zeabur-deployzeabur/agent-skillsSkill382mo agononeA67Claude Code
zeabur-object-storagezeabur/agent-skillsSkill382mo agononeA88Claude Code