Agent skill
native-web-search
Trigger native web search. Use when you need quick internet research with concise summaries and full source URLs.
Stars
1,802
Forks
123
Install this agent skill to your Project
npx add-skill https://github.com/mitsuhiko/agent-stuff/tree/main/skills/native-web-search
SKILL.md
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.
Script
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
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
Notes
- No extra npm install is required.
- If module resolution fails, set
PI_AI_MODULE_PATHto@mariozechner/pi-ai'sdist/index.jspath. - If OAuth helper resolution fails, set
PI_AI_OAUTH_MODULE_PATHto@mariozechner/pi-ai'sdist/oauth.jspath. - For OAuth providers, the script can fall back to a still-valid cached
accesstoken from~/.pi/agent/auth.json.
Didn't find tool you were looking for?