360 Secure SkillHub
360 安全技能中心

Anspire Web Search

该 Skill 在用户需要实时网络信息时,把请求整理成简短查询词,用 curl 调用 Anspire 搜索接口取回 JSON 结果,再以中文汇总标题、摘要等要点并标注来源;若接口失败或无有效结果,会明确说明而不编造实时答案。

Gavin-guq
Gavin-guq
热度 41.40
最近更新 2026-03-19 22:26:46
分类:搜索依赖:第三方 API / 代码执行应用场景:研究 / 摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add anspire-web-search
Metadata
name
anspire-web-search
slug
anspire-web-search
version
1.0.3
description
Use when the user asks for up-to-date web information, recent news, current events, policy changes, market signals, or other real-time information that requires web search.
user-invocable
false
homepage
https://github.com/Gavin-guq/anspire-web-search
metadata
{"openclaw":{"emoji":"🔎","homepage":"https://github.com/Gavin-guq/anspire-web-search","primaryEnv":"ANSPIRE_API_KEY","requires":{"env":["ANSPIRE_API_KEY"],"bins":["curl"]}}}

Anspire Web Search

Use the Anspire search API when the request depends on real-time web information.

When to use

  • The user asks to search the web, browse, look up, or verify recent information
  • The question depends on current events, recent news, policy changes, market updates, releases, or other time-sensitive facts
  • The answer would be unreliable without live internet access

When not to use

  • The request can be answered from stable knowledge alone
  • The user only wants rewriting, translation, brainstorming, or code edits unrelated to live information
  • ANSPIRE_API_KEY is unavailable

Required behavior

  1. Build a concise search query from the user's request.
  2. Call the Anspire API with curl --get --data-urlencode so the query is encoded safely.
  3. Read the JSON response and extract the most relevant items, typically title, url, and snippet.
  4. Summarize the results in Chinese unless the user asks for another language.
  5. Mention the source domains or titles for important claims.
  6. If the API call fails or returns no useful results, say so clearly and do not fabricate a live answer.

API call

QUERY="latest OpenClaw releases"
curl --silent --show-error --fail --location --get \
  "https://plugin.anspire.cn/api/ntsearch/search" \
  --data-urlencode "query=$QUERY" \
  --data-urlencode "top_k=10" \
  --header "Authorization: Bearer $ANSPIRE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Accept: application/json"