native-web-search

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Native Web Search

原生网页搜索

Use this skill to run a fast model with native web search enabled and get a concise research summary with explicit full URLs.
使用此skill运行启用原生网页搜索的快速模型,并获取包含明确完整URL的简洁研究摘要。

Script

脚本

  • search.mjs
  • search.mjs

Usage

使用方法

Run from this skill directory:
bash
node search.mjs "<what to search>" --purpose "<why you need this>"
Examples:
bash
node search.mjs "latest python release" --purpose "update dependency notes"
node search.mjs "vite 7 breaking changes" --purpose "prepare migration checklist"
Optional flags:
  • --provider openai-codex|anthropic
  • --model <model-id>
  • --timeout <ms>
  • --json
从该skill目录运行:
bash
node search.mjs "<what to search>" --purpose "<why you need this>"
示例:
bash
node search.mjs "latest python release" --purpose "update dependency notes"
node search.mjs "vite 7 breaking changes" --purpose "prepare migration checklist"
可选参数:
  • --provider openai-codex|anthropic
  • --model <model-id>
  • --timeout <ms>
  • --json

Output expectations

输出预期

The script instructs the model to:
  • search the internet for the requested topic
  • provide a concise summary for the given purpose
  • include full canonical URLs (
    https://...
    ) for each key finding
  • highlight disagreements between sources
该脚本指示模型:
  • 针对请求的主题搜索互联网
  • 为给定用途提供简洁摘要
  • 为每个关键发现包含完整的规范URL(
    https://...
  • 突出显示来源之间的分歧

Notes

注意事项

  • No extra npm install is required.
  • If module resolution fails, set
    PI_AI_MODULE_PATH
    to
    @mariozechner/pi-ai
    's
    dist/index.js
    path.
  • If OAuth helper resolution fails, set
    PI_AI_OAUTH_MODULE_PATH
    to
    @mariozechner/pi-ai
    's
    dist/oauth.js
    path.
  • For OAuth providers, the script can fall back to a still-valid cached
    access
    token from
    ~/.pi/agent/auth.json
    .
  • 无需额外执行npm install。
  • 如果模块解析失败,请将
    PI_AI_MODULE_PATH
    设置为
    @mariozechner/pi-ai
    dist/index.js
    路径。
  • 如果OAuth助手解析失败,请将
    PI_AI_OAUTH_MODULE_PATH
    设置为
    @mariozechner/pi-ai
    dist/oauth.js
    路径。
  • 对于OAuth提供商,脚本可以回退到
    ~/.pi/agent/auth.json
    中仍有效的缓存
    access
    令牌。