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.
npx skills add volcengine/volcengine-agent-toolkit --skill volcengine-knowledge-searchgit clone --depth 1 https://github.com/volcengine/volcengine-agent-toolkitWrote 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/volcengine/volcengine-agent-toolkit/volcengine-knowledge-search)<a href="https://agentmods.dev/skills/volcengine/volcengine-agent-toolkit/volcengine-knowledge-search"><img src="https://agentmods.dev/badge/skills/volcengine/volcengine-agent-toolkit/volcengine-knowledge-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.
<a href="https://agentmods.dev/skills/volcengine/volcengine-agent-toolkit/volcengine-knowledge-search"><img src="https://agentmods.dev/badge/skills/volcengine/volcengine-agent-toolkit/volcengine-knowledge-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
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.00131 | $0.02653 |
| Opus 5.5 | $0.00052 | $0.01061 |
| Sonnet 5.5 | $0.00026 | $0.00531 |
| Haiku 4.5 | $0.00013 | $0.00265 |
Grade A, and why
volcengine-knowledge-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.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
volcengine-knowledge-search 火山引擎文档检索
通过 ve docs search 检索官方文档,通过 ve docs fetch 获取正文。请求、响应解析、正文清洗和分页由 CLI 处理;本 skill 负责场景判断、query 改写、二次检索和来源引用。
CLI 调用约定
执行 ve 前,遵循 volcengine-cli 的 调用方标识规则。每次调用都必须在进程环境中携带:
VE_CALLER_TYPE=ai_agent。VE_CALLER_NAME:填 Agent 自己的产品名(如codex、claude-code)。Agent 本来就知道自己是谁,直接填写,不需要也不要查看环境变量或主机信息;不使用固定默认值。VE_SKILL_NAME:取当前执行操作的 skill 的 frontmattername。本 skill 执行文档检索或正文读取时,该值为volcengine-knowledge-search;引用 CLI 的调用规则不改变操作所属 skill。
该要求覆盖 --help 检查、首次检索、改写后的检索、正文读取、分页续读及重试。每次工具调用可能启动新的 shell,必须重新传入三项变量,不依赖上一次的 export。下面示例中的 <agent-id> 与 <current-volcengine-skill> 分别替换为 Agent 自己的产品名和当前 skill 的 name,不得原样传入。这些变量仅用于调用来源标识,不改变公开文档命令无需登录的约定。
准备
首次使用时确认本机具备两个子命令:
VE_CALLER_TYPE=ai_agent VE_CALLER_NAME="<agent-id>" VE_SKILL_NAME="<current-volcengine-skill>" \
ve docs search --help
VE_CALLER_TYPE=ai_agent VE_CALLER_NAME="<agent-id>" VE_SKILL_NAME="<current-volcengine-skill>" \
ve docs fetch --help
若 ve 未安装或缺少子命令,加载 volcengine-cli skill,按其 references/install.md 安装最新版,再检查能力。文档命令访问公开服务,无需登录、AK/SK、profile 或地域配置;安装后直接使用,无需执行资源管理的身份初始化流程。
与火山方舟实时查询的分工
- 属于本 skill:方舟的概念、功能用法、计费规则、使用限制、最佳实践,以及方舟文档链接的正文阅读。
- 属于
volcengine-ark:方舟有哪些模型、某个模型的能力和规格、某个模型的价格。这些数据随账号和时间变化,由ve arkcli实时查询,文档检索的结果不能代替。当前没有volcengine-ark时,用volcengine-find-skills安装后再查。
一个问题同时包含两类内容时分别处理,例如“上下文缓存是什么、Seed 2.1 Lite 开启后多少钱”:前半句检索文档,后半句交给 volcengine-ark。
选择流程
- 用户提供具体文章链接:直接
fetch,读取与问题相关的正文。 - 用户提出问题:补全产品名和具体方向后
search,首次检索不带产品过滤。根据标题、摘要和产品编码判断相关性。 - 结果过宽或不相关:改写 query;只有结果中已确认目标产品的
ServiceCodes时,才使用该编码二次检索。不要把无关命中的编码用作过滤条件。 - 需要完整步骤、限制条件、精确计费规则或全文总结:对相关结果的 URL 执行
fetch,按需续读;用户要求全文时,读到没有续读提示或has_more=false。
search:检索文档
VE_CALLER_TYPE=ai_agent VE_CALLER_NAME="<agent-id>" VE_SKILL_NAME="<current-volcengine-skill>" \
ve docs search "对象存储 TOS 如何计费" --limit 3 --output text
搜索文本是位置参数,用引号包住完整问题。用 --output text 获取可直接阅读的 Markdown:每条包含标题、纯净 URL、ServiceCodes 和正文摘要。CLI 默认输出 JSON;需要程序化处理时显式用 --output json,结果在 documents 数组中,字段为 title、url、service_codes、snippet。
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.
- today First seen · 147 lines · 131 tokens per session scan A 840bf2b497e6
volcengine-knowledge-search is a skill published in the GitHub repository volcengine/volcengine-agent-toolkit (41 stars, last pushed today), licensed MIT. It adds 131 tokens to every session and 2,653 once invoked, about $0.0005 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-30.
volcengine-knowledge-search compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| volcengine-knowledge-searchvolcengine/volcengine-agent-toolkit | Skill | 41 | today | MIT | A | 131 | Claude Code, Codex |
| arkcli-deployvolcengine/ark-cli | Skill | 155 | 19d ago | Apache-2.0 | A | 305 | Claude Code, Codex |
| jfrog-reference-architecturejfrog/jfrog-skills | Skill | 27 | 13d ago | Apache-2.0 | A | 165 | Claude Code, Codex |
| deployjaemk/mind | Skill | 2 | yesterday | MIT | A | 14 | Claude Code, Codex |
| author-labelsvercel/vercel | Skill | 17k | 5d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| x-netsx-cmd/x-cmd | Skill | 4.8k | 6d ago | Apache-2.0 | A | 69 | Claude Code, Codex |
| x-osvx-cmd/x-cmd | Skill | 4.8k | 6d ago | Apache-2.0 | A | 72 | Claude Code, Codex |