/volcengine-core:volcengine-knowledge-searchfrom volcengine-core
检索火山引擎官方文档并获取全文,处理产品概念、用法、计费规则、部署步骤、最佳实践或服务条款等咨询。
Ships in volcengine-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
通过 ve docs search 检索官方文档,通过 ve docs fetch 获取正文。请求、响应解析、正文清洗和分页由 CLI 处理;本 skill 负责场景判断、query 改写、二次检索和来源引用。
执行 ve 前,遵循 volcengine-cli 的 调用方标识规则。每次调用都必须在进程环境中携带:
VE_CALLER_TYPE=ai_agent。VE_CALLER_NAME:填 Agent 自己的产品名(如 codex、claude-code)。Agent 本来就知道自己是谁,直接填写,不需要也不要查看环境变量或主机信息;不使用固定默认值。VE_SKILL_NAME:取当前执行操作的 skill 的 frontmatter name。本 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 或地域配置;安装后直接使用,无需执行资源管理的身份初始化流程。
volcengine-ark:方舟有哪些模型、某个模型的能力和规格、某个模型的价格。这些数据随账号和时间变化,由 ve arkcli 实时查询,文档检索的结果不能代替。当前没有 volcengine-ark 时,用 volcengine-find-skills 安装后再查。一个问题同时包含两类内容时分别处理,例如“上下文缓存是什么、Seed 2.1 Lite 开启后多少钱”:前半句检索文档,后半句交给 volcengine-ark。
fetch,读取与问题相关的正文。search,首次检索不带产品过滤。根据标题、摘要和产品编码判断相关性。ServiceCodes 时,才使用该编码二次检索。不要把无关命中的编码用作过滤条件。fetch,按需续读;用户要求全文时,读到没有续读提示或 has_more=false。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。
| 参数 | 用途 |
|---|---|
--limit N | 返回文档数,正整数;一般先取 3 条 |
--service-code CODE | 限定产品,编码取自已确认相关的结果;多个产品重复传此选项 |
--snippet-length N | 每条摘要的最大 Unicode 字符数,正整数;用它控制上下文体积 |
语义检索需要贴近文档表述。将口语、简称或营销名补成产品全称 + 能力描述 + 具体问题,例如把「Coding Plan 多少钱」改写为「火山方舟 Coding Plan AI 编程订阅套餐如何计费」。首搜跑偏时,换全称、近义描述或功能描述再搜。
VE_CALLER_TYPE=ai_agent VE_CALLER_NAME="<agent-id>" VE_SKILL_NAME="<current-volcengine-skill>" \
ve docs search "火山方舟 Coding Plan AI 编程订阅套餐如何计费" --limit 3 --output text
先宽搜,确认相关结果的 ServiceCodes 为 tos 后,按产品精搜:
VE_CALLER_TYPE=ai_agent VE_CALLER_NAME="<agent-id>" VE_SKILL_NAME="<current-volcengine-skill>" \
ve docs search "跨区域复制如何配置" --limit 5 --snippet-length 300 --output text
VE_CALLER_TYPE=ai_agent VE_CALLER_NAME="<agent-id>" VE_SKILL_NAME="<current-volcengine-skill>" \
ve docs search "对象存储 TOS 跨区域复制如何配置" --limit 3 --service-code tos --output text
多个产品编码使用 --service-code <code-a> --service-code <code-b>,每个编码单独传递。
支持 https://www.volcengine.com/docs/... 和 https://docs.volcengine.com/docs/...。CLI 会去掉 URL 的 query 和 fragment,text 输出依次为标题、纯净 URL、当前页正文及续读提示。
VE_CALLER_TYPE=ai_agent VE_CALLER_NAME="<agent-id>" VE_SKILL_NAME="<current-volcengine-skill>" \
ve docs fetch "https://www.volcengine.com/docs/6349/162514?lang=zh" --output text
| 参数 | 用途 |
|---|---|
--start-index N | 从第 N 个 Unicode 字符开始,索引从 0 起 |
--max-length N | 当前页最多返回的 Unicode 字符数,正整数;默认 5000 |
长文末尾会提示下一页的 --start-index。用同一个 URL 和返回的索引继续读,避免漏读或重复。以下示例先取 300 字,若续读提示为 --start-index 300,再读取下一页:
VE_CALLER_TYPE=ai_agent VE_CALLER_NAME="<agent-id>" VE_SKILL_NAME="<current-volcengine-skill>" \
ve docs fetch "https://www.volcengine.com/docs/6349/162514" --max-length 300 --output text
VE_CALLER_TYPE=ai_agent VE_CALLER_NAME="<agent-id>" VE_SKILL_NAME="<current-volcengine-skill>" \
ve docs fetch "https://www.volcengine.com/docs/6349/162514" --start-index 300 --max-length 300 --output text
程序化分页使用 --output json,读取 content、start_index、next_start_index、remaining_characters、has_more 和 has_content。has_more=true 时用 next_start_index 续读;结束时该字段为 null。
/docs/{产品编号}/{文档ID} 是具体文章路径。/docs/{产品编号} 是产品文档导航页,没有单篇文章正文。识别到这种链接时,按产品名和用户关心的方向 search,从结果定位具体文章再 fetch,并向用户说明链接类型。has_content=false 表示没有取得正文,不能据此编造内容。检查链接是否为导航页、过期或错误地址,再用 search 定位替代文档。[文档标题](URL)。优先展示最多 3 条最相关来源,每个结论都能对应到已读取的内容。--limit 和 --snippet-length,fetch 用 --max-length 和 --start-index。CLI 不提供旧脚本的临时文件预览机制,续读依赖分页参数。documents 为空时,改写 query 或放宽产品过滤;这不代表服务故障。--help 修正参数;数量和长度必须为正数,起始索引非负。DownstreamError 等暂时性故障可重试一两次;持续失败时说明失败原因,不把失败当成无结果。公开文档请求失败无需补充云账号凭据。What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
volcengine, docs-search, knowledge-retrieval, volcengine-ark
npx claudepluginhub volcengine/volcengine-agent-toolkit --plugin volcengine-core6 skills in this plugin
/volcengine-billing-and-cost-management查询与分析火山引擎账单、费用和当前账户资金状态。适用于账单查询与导出、费用变化分析、账务对账、欠费核实、财务托管关系与付费归属,以及资源包和代金券的状态与抵扣核查。不执行预算、支付、充值、购买或资源变更。/volcengine-cliCreate and manage Volcengine cloud resources using the Volcengine CLI (`ve` command). Supports all Volcengine services including ECS, VPC, CLB, RDS, Redis, and more. Trigger this skill whenever the user asks to create, query, modify, or delete cloud resources on Volcengine, mentions the `ve` command, says "volcengine CLI", or describes infrastructure tasks such as "create an ECS instance", "set up a VPC", "list security groups", "allocate an EIP". Also trigger on Chinese prompts mentioning "火山引擎" or "火山" (e.g., "火山引擎上有哪些 ECS"、"查一下我火山的云服务器"、 "火山引擎创建一个 VPC"), on `ve` command errors, and for account real-name verification (实名认证) or extended OpenAPIs missing from CLI metadata. Also use for TOS bucket/object operations, tosutil (sometimes written tosutils), Ark (方舟) / arkcli models, prices, API Keys, inference, generation, endpoints, plans, or usage, and TLS (日志服务) / volclog log search, analysis, ingest, export, or LogCollector collection, through `ve tosutil`, `ve arkcli` and `ve volclog`./volcengine-feedbackHelp users draft and, when authorized, submit feedback to volcengine/volcengine-agent-toolkit: skill problems, missing capabilities, cloud scenarios, and successful Agent workflows. Use for explicit feedback or sharing requests, or an optional invitation at a natural summary after Volcengine CLI errors or an incompletely solved task. Feedback never blocks the main task./volcengine-find-skillsList, select, and install Volcengine skills from the volcengine-skills marketplace. Use when a user asks which Volcengine skill or plugin handles a task, wants to browse every available skill, needs an optional skill that is not currently installed, or asks to install or check the installation status of a Volcengine skill. Also use to discover any core skill, including this finder. Use as a fallback during a Volcengine operation when the currently loaded or installed skills cannot cover the required product, tool, or workflow; inspect the full catalog, select the missing capability, and install it./volcengine-troubleshootingUse when the user encounters VolcEngine errors or needs local troubleshooting for OpenAPI, Python SDK, CLI, IAM, billing, compute, networking, storage, database, CDN, media, AI, security, or VKE cases.Other plugins' skills for the same job