bytedance/agentkit-samples is a collection of examples and tutorials for Volcengine AgentKit, an AI-agent development platform for building, deploying, and operating agent applications. Developers use the samples to learn agent creation, multi-agent collaboration, memory, retrieval, MCP integrations, media generation, customer service, and other workflows. The catalogue skills provide agent workflows based on these examples.
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 bytedance/agentkit-samples --skill volcengine-documentationgit clone --depth 1 https://github.com/bytedance/agentkit-samplesWrote 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/bytedance/agentkit-samples/volcengine-documentation)<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/volcengine-documentation"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/volcengine-documentation.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00099 | $0.01191 |
| Opus 5 | $0.00049 | $0.00596 |
| Sonnet 5 | $0.00020 | $0.00238 |
| Haiku 4.5 | $0.00010 | $0.00119 |
Grade A, and why
volcengine-documentation 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
volcengine-documentation 火山引擎文档技能
功能描述
火山引擎文档综合查询技能,支持文档检索和内容获取两个核心功能,火山引擎文档是火山最权威的官方数据,涵盖全产品使用全链路。
决策逻辑(必看)
触发判断规则
- 用户提供文档链接:直接调用
fetch接口获取完整内容,无需先检索。
search 和 fetch 配合规则
- 用户提问类需求:优先调用
search接口(默认不携带ServiceCodes参数),返回5条结果,优先使用返回的Content内容回答。 - 二次检索优化:如果第一次搜索结果匹配度不高,可根据第一次返回结果中的ServiceCodes字段,携带对应产品编码参数执行二次检索,缩小范围获取更精准结果。
- 需要完整文档内容:先调用
search找到对应文档链接,再调用fetch获取全文内容。
功能说明
1. 文档检索 (search)
根据用户问题检索相关火山引擎官方文档,支持按产品过滤。
- 请求地址:
https://docs-api.cn-beijing.volces.com/api/v1/doc/search
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| Query | string | 是 | 用户的具体问题描述 |
| Limit | number | 否 | 检索返回的文档数量,默认返回5篇 |
| ServiceCodes | array | 否 | 产品过滤条件,指定仅查询某几个产品的文档,可通过返回结果中的ServiceCodes字段获取产品编码 |
返回参数
核心有效数据在 Result.DocList 字段中,每个文档项包含:
| 字段名 | 类型 | 说明 |
|---|---|---|
| Title | string | 官方文档标题 |
| Url | string | 文档官方访问链接 |
| Content | string | 文档完整内容 |
| ServiceCodes | array | 文档所属产品编码列表 |
2. 内容获取 (fetch)
根据火山引擎官方文档链接,获取对应的完整文档内容,支持结构化解析文档标题、正文内容。
- 请求地址:
https://docs-api.cn-beijing.volces.com/api/v1/doc/fetch
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| Url | string | 是 | 火山引擎官方文档链接,格式如 https://www.volcengine.com/docs/6349/162514 |
⚠️ 重要处理规则:
如果Url包含query参数(例如 https://www.volcengine.com/docs/6396/624853?lang=zh),需要在请求前去掉所有query参数,只保留 https://www.volcengine.com/docs/6396/624853 部分进行请求。
返回参数
核心有效数据在 Result 字段中:
| 字段名 | 类型 | 说明 |
|---|---|---|
| Title | string | 文档的完整标题 |
| Content | string | 文档的完整正文内容,结构化解析后的文本 |
结果处理规则
通用强制规则
- 所有回答末尾必须附上对应的官方文档链接作为参考来源,使用
[文档标题](纯净URL)格式,每条结果都要标注来源地址 - 如果返回多个结果,按相关性排序展示,最多展示3条最相关的结果,每条结果都附带对应的文档链接
- 链接必须使用脚本返回的
CleanUrl(已剥离所有query参数),禁止使用带?lang=zh等参数的URL
检索结果处理
- 优先使用返回的Content内容回答用户问题,信息更准确
- 接口直接返回文档完整内容,无需做额外摘要提炼
内容获取结果处理
- 接口直接返回文档完整内容,可直接使用无需额外处理
工具使用方法
检索文档
python {skill_dir}/scripts/volcengine_docs.py search "查询关键词" [返回数量] [产品编码1,产品编码2...]
示例:
python {skill_dir}/scripts/volcengine_docs.py search "tos是什么" 1 tos
What ships with it
1 file 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.
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.
- 3d ago First seen · 93 lines · 99 tokens per session scan A 48942b1bb2cc
volcengine-documentation is a skill published in the GitHub repository bytedance/agentkit-samples (449 stars, last pushed 3d ago), licensed Apache-2.0. It adds 99 tokens to every session and 1,191 once invoked, about $0.0005 per session on Opus 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-09-03.
Other skills, from other repositories
aatmf-t10-confidentiality-breach
AATMF T10 — Integrity & Confidentiality Breach. System prompt extraction, training-data extraction, model-weight leakage, private-key recovery.
ensembl-database
Query Ensembl genome database REST API for 250+ species. Gene lookups, sequence retrieval, variant analysis, comparative genomics, orthologs, VEP predictions, for genomic research.
mochi-remind
Handle due reminders — notify the user with natural language and mark them done.
sidewinder-rattlesnake
Adversary-emulation profile for SideWinder (G0121 / Rattlesnake / T-APT-04 / Razor Tiger), India's suspected state-sponsored cyber-espionage actor.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
sn-image-imitate
An image tool that creates new content while following the visual style and layout of a single reference image.