返回顶部
v

volcengine-ark-web-search

Use when you need fresh web results through Volcengine ARK Responses API, especially for today's news, recent updates, fact checks, topic monitoring, or Chinese-language search workflows powered by ARK_API_KEY.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.2
安全检测
已通过
309
下载量
0
收藏
概述
安装方式
版本历史

volcengine-ark-web-search

# Volcengine Ark Web Search ## Overview Use this skill when the task needs up-to-date public web information and the runtime should go through Volcengine ARK Responses API instead of the model's built-in browsing. The bundled script wraps ARK `responses` with the `web_search` tool, defaults to Chinese-friendly output, and is suitable for repeatable automation or local agent workflows. Default markdown output is stabilized into three sections: - title - summary - sources ## When to Use - The user asks for today's news, recent updates, current public coverage, or live fact checks. - You want fresh web results but must route them through Volcengine ARK with `ARK_API_KEY`. - You need a reusable local command that can be shared in scripts, cron jobs, or other skills. - The answer should prefer Chinese output, explicit dates, and source links. - You need to compare or verify public web information before answering. ## When Not to Use - `ARK_API_KEY` is missing. - The task is static and does not need current web information. - You need browser automation, authenticated sessions, or site-specific interaction rather than search. - A different provider is mandatory. ## Quick Start 1. Confirm `ARK_API_KEY` is set. 2. Run the bundled script. 3. Summarize the returned answer with explicit dates and source links. Basic usage: ```bash python3 scripts/ark_web_search.py "What are today's AI news headlines?" ``` Chinese query: ```bash python3 scripts/ark_web_search.py "今天有什么热点新闻" ``` Custom model: ```bash python3 scripts/ark_web_search.py "OpenAI latest announcements" \ --model doubao-seed-1-6-250615 ``` Structured JSON output: ```bash python3 scripts/ark_web_search.py "latest semiconductor policy news" \ --format json ``` Longer timeout with quick retries: ```bash python3 scripts/ark_web_search.py "OpenAI latest news" \ --timeout 90 \ --retries 2 ``` Dry run without network: ```bash python3 scripts/ark_web_search.py "today's EV market news" \ --dry-run ``` ## Core Workflow 1. Rewrite the user request into a direct search question when needed. Prefer explicit entities, topics, and time windows. 2. Use the default system prompt unless the task requires raw passthrough behavior. 3. Run `scripts/ark_web_search.py`. 4. If the script returns enough signal, summarize in Chinese unless the user asked for another language. 5. For relative-time prompts such as "today" or "recently", write absolute dates in the final answer. ## Output Requirements - Prefer concise summaries with links. - Default markdown output should be stable and easy to scan: title, summary, then sources. - Preserve uncertainty when the search result is thin or conflicting. - If sources are present, include them. - Convert relative date language into explicit dates whenever possible. - If the API result is insufficient, say so instead of inventing facts. ## Files - `scripts/ark_web_search.py`: ARK Responses API runner with `web_search`, dry-run support, streaming support, and source extraction. - `references/ark-responses-api.md`: Notes on request shape, model drift, tool naming drift, and maintenance references. ## Maintenance Notes - Prefer overriding the model with `--model` or `ARK_MODEL`. ARK model availability changes over time. - `--timeout` is per attempt. Use `--retries` for quick retry behavior on transient failures. - Some ARK environments reject `search_context_size` with HTTP `400`. This script now retries automatically without that field if the server reports it as unsupported. - The default system prompt asks the model to return summary body only. Title and source sections are added by the script to keep output stable. - The Volcengine docs have shown both `web_search` and `web_search_preview` historically. This skill defaults to `web_search` and should only change if official docs for the target environment require it. - If response parsing breaks after an upstream API change, update the normalization logic in `scripts/ark_web_search.py` and keep `references/ark-responses-api.md` in sync.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 volcengine-ark-web-search-1776101943 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 volcengine-ark-web-search-1776101943 技能

通过命令行安装

skillhub install volcengine-ark-web-search-1776101943

下载 Zip 包

⬇ 下载 volcengine-ark-web-search v0.1.2

文件大小: 9.89 KB | 发布时间: 2026-4-15 14:53

v0.1.2 最新 2026-4-15 14:53
Enhancement: stabilize default markdown output into title, summary, and sources sections, and tighten the default system prompt so layout drift is lower while JSON/raw output stays unchanged.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部