bailian-web-search

bailian-web-search is a skill for Claude Code, Codex from modelstudioai/cli. It costs 247 tokens per session (2,391 once invoked), scanned A, original, Apache-2.0.

A routing skill for web searches through Alibaba Cloud Bailian. It chooses between Bailian's search service and a model's built-in web-search tool based on the active account and connection.

In plain words
What is it for?
Use it when a Bailian workflow needs current information from the web, especially to determine the correct search command for the current model identity and credentials.
Why use it?
It prevents searches from being sent through the wrong account or an incompatible endpoint. It also defines a fallback when the primary search path cannot authenticate or connect.

Skill for Claude CodeCodex

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

Good fit Use it when a Bailian workflow needs current information from the web, especially to determine the correct search command for the current model identity and credentials.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/modelstudioai/cli/bailian-web-search
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-web-search
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-web-search

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/modelstudioai/cli/bailian-web-search"><img src="https://agentmods.dev/badge/skills/modelstudioai/cli/bailian-web-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 247 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,391 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 25 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.00247 $0.02391
Opus 5.5 $0.00099 $0.00956
Sonnet 5.5 $0.00049 $0.00478
Haiku 4.5 $0.00025 $0.00239

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

Security

Grade A, and why

bailian-web-search 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/bailian-web-search/SKILL.md · 139 lines

How it starts

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

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-web-search; replace codex with this host). bl config / bl text chat are owned by bailian-cli. 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-web-search BAILIAN_SKILL_VERSION=<metadata.version> bl search web --query "阿里云百炼最新功能"

Scope: model-aware routing for web search inside Agent-driven bl workflows — this skill owns the routing decision only. Command flags / usage / examples: Read skill bailian-cli reference if installed; else bl search web --help / bl text chat --help — do not guess flags.

Install (supported): bl skill init

Token Plan keys do not authorize Bailian MCP search — never route them to bl search web --mode mcp (the default model mode works for Token Plan).

Routing workflow

Step 1 — Identify the active model identity

Wrap with Call attribution (BAILIAN_SKILL_NAME=bailian-cli). No auth needed:

bl config show --output json

Treat the connection as Token Plan when either condition holds — this mirrors the CLI's own endpoint detection (usesTokenPlanEndpoint), so routing stays consistent with command behavior:

Read the full file on GitHub · 139 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 0b22f8499412
  2. 4d ago Changed 964934496e67
  3. 6d ago Changed c563f589537d
  4. 7d ago Changed c869732f8f81
  5. 8d ago Changed cffab65642df
  6. 11d ago Changed b61e4cd0ba28
  7. 13d ago Changed 419ec3fc16f6
  8. 14d ago Changed 578b4e6af4f4
  9. 18d ago Changed 6d2b45d145a7
  10. 19d ago First seen · 139 lines · 247 tokens per session scan A c6dce84c4a7a

Subscribe to this mod's changes

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

bailian-web-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bailian-web-searchmodelstudioai/cliSkill377todayApache-2.0A247Claude Code, Codex
obsidian-baseskepano/obsidian-skillsSkill55k5d agoMITA63Claude Code
officecli-academic-paperiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A141Claude Code, Codex
officecliiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A56Claude Code, Codex
skillsharerunkids/skillshareSkill3.5ktodayMITA103Claude Code
skillshare-implement-featurerunkids/skillshareSkill3.5ktodayMITA114Claude Code
skillshare-code-reviewrunkids/skillshareSkill3.5ktodayMITA124Claude Code