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.
git clone --depth 1 https://github.com/modelstudioai/clinpx agentmods add skills/modelstudioai/cli/bailian-opdWrote 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.
[](https://agentmods.dev/skills/modelstudioai/cli/bailian-opd)<a href="https://agentmods.dev/skills/modelstudioai/cli/bailian-opd"><img src="https://agentmods.dev/badge/skills/modelstudioai/cli/bailian-opd/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.
<a href="https://agentmods.dev/skills/modelstudioai/cli/bailian-opd"><img src="https://agentmods.dev/badge/skills/modelstudioai/cli/bailian-opd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00138 | $0.02586 |
| Opus 5.5 | $0.00055 | $0.01034 |
| Sonnet 5.5 | $0.00028 | $0.00517 |
| Haiku 4.5 | $0.00014 | $0.00259 |
Grade A, and why
bailian-opd 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 2d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- bailian-opd — 89% identical, 89 lines differ
How it starts
The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bailian OPD Distillation Workflow
Create a pure Model OPD training job (training_type=pg_opd, top-level
teacher_model, no rollout/reward functions, no Function Compute) with the
highest possible first-run success rate. Gate logic lives in deterministic
scripts under scripts/; the agent orchestrates, presents findings, and obtains
consent — it does not re-implement gates or guess flags.
CRITICAL — shared protocol first. Before executing anything, Read
../bailian-protocol/SKILL.mdand follow it: mandatory version pre-flight before the firstblcall, consent classes, attribution, error reporting, output conventions. If the protocol skill is missing, stop and promptbl skill init. Business context for OPD flags lives in skillbailian-finetune(itsreference/finetune.md) orbl finetune opd --help— never guess flags.
Attribution
Bundled scripts already carry the protocol script attribution
(BAILIAN_CALLER_TYPE=script, BAILIAN_CALLER_NAME from --caller-name).
For inline bl commands the agent runs itself, use the protocol agent
template, e.g.:
BAILIAN_CALLER_TYPE=agent BAILIAN_CALLER_NAME=codex BAILIAN_SKILL_NAME=bailian-opd BAILIAN_SKILL_VERSION=2.10.2 bl finetune opd authorize --authorize --yes
Prerequisites
blinstalled and up to date (protocol version pre-flight);node>= 18 on PATH.- Two logins: API key (
bl auth login --api-key) for data/params/create, and Console (bl auth login --console) for the OPD feature authorize probe. - OPD is invite-only (邀测): the account whitelist must be enabled. Published student/teacher pairs and sizing: the official OPD docs "模型与训练单元" section (the CLI warns on unpublished pairs).
Workflow (steps 0–7)
0. Protocol pre-flight
Run the protocol version pre-flight; check node --version (>= 18) and
bl auth status. Missing Console login blocks only the authorize stage — the
preflight report still surfaces everything else.
1. Chain-start authorization
What ships with it
10 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.
- assets/baseline-9b-from-397b.hyper_parameters.json 819 B
- assets/baseline-9b-from-397b.resource_config.json 85 B
- assets/baseline-9b-from-flash.hyper_parameters.json 531 B
- assets/baseline-9b-from-flash.resource_config.json 85 B
- README.md 4.6 KB
- README.zh.md 4.2 KB
- scripts/lib.mjs 10 KB runs code
- scripts/opd-preflight.mjs 15 KB runs code
- scripts/opd-submit.mjs 5.9 KB runs code
- scripts/opd-wait.mjs 4.8 KB runs code
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.
- 2d ago Changed 90c5215cb65e
- 4d ago Changed 90827cfcb993
- 5d ago Changed 15e6637fdb87
- 6d ago Changed 975c0fdaf55b
- 9d ago First seen · 205 lines · 138 tokens per session scan A 9ae5b9583811
bailian-opd is a skill published in the GitHub repository modelstudioai/cli (376 stars, last pushed 2d ago), licensed Apache-2.0. It adds 138 tokens to every session and 2,586 once invoked, about $0.0006 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-11-21.
bailian-opd compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bailian-opdmodelstudioai/cli | Skill | 376 | 2d ago | Apache-2.0 | A | 138 | Claude Code, Codex |
| yao-geo-brand-graphyaojingang/yao-geo-skills | Skill | 939 | 2mo ago | MIT | A | 67 | Claude Code, Codex |
| qianwen-model-selectorQianWen-AI/qianwen-ai | Skill | 129 | 1mo ago | Apache-2.0 | A | 101 | Claude Code, Codex |
| qianwen-textQianWen-AI/qianwen-ai | Skill | 129 | 1mo ago | Apache-2.0 | A | 111 | Claude Code, Codex |
| qianwen-visionQianWen-AI/qianwen-ai | Skill | 129 | 1mo ago | Apache-2.0 | A | 118 | Claude Code, Codex |
| ai-ml-api-automationranbot-ai/awesome-skills | Skill | 15 | yesterday | none | A | 30 | Claude Code, Codex |
| gemini-nano-bananaaiagenta2z/onekey-gateway | Skill | 52 | 7mo ago | none | A | 19 | Claude Code, Codex |