local-web-search
Use when the user asks for web search that should run via the local-160 Responses API with web_search tool (base URL like https://proxy.example.com, model gpt-5.2-codex(xhigh)). Includes script to query the local endpoint and return summary + citations; use for periodic news monitoring and on-demand searches.
Best use case
local-web-search is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Use when the user asks for web search that should run via the local-160 Responses API with web_search tool (base URL like https://proxy.example.com, model gpt-5.2-codex(xhigh)). Includes script to query the local endpoint and return summary + citations; use for periodic news monitoring and on-demand searches.
Teams using local-web-search should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/local-web-search/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How local-web-search Compares
| Feature / Agent | local-web-search | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Use when the user asks for web search that should run via the local-160 Responses API with web_search tool (base URL like https://proxy.example.com, model gpt-5.2-codex(xhigh)). Includes script to query the local endpoint and return summary + citations; use for periodic news monitoring and on-demand searches.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
# Local Web Search (local-160)
Use the local Responses API with `web_search` to get web results and citations.
## Quick start
1. Ensure env vars are set **or** Keychain entries are configured (see `references/CONFIG.md`).
2. Run the script:
```bash
/usr/bin/python3 {baseDir}/scripts/local_web_search.py --query "<your query>" --mode live
```
Optional (explicit .env path):
```bash
/usr/bin/python3 {baseDir}/scripts/local_web_search.py \
--env-file ~/.openclaw/workspace/.env \
--query "<your query>" \
--mode cached
```
Timeout default is 1200s. Override via `--timeout` or `LOCAL_160_TIMEOUT`.
Note: web_search responses can be slow; 5–10 minutes is common and up to ~20 minutes is possible. Don’t treat it as failure unless it exceeds your timeout.
## Output handling
- Default output: one-sentence summary + up to 5 citations.
- Use `--json` when you need full tool output for parsing.
- Use `--mode live|cached|disabled` to control external web access.
## When to use
- For web lookups when local-160 supports `web_search`.
- For scheduled news monitoring that should use local-160 search.
## Troubleshooting
- 401/403: key missing/invalid.
- 5xx: local gateway down or base URL wrong.Related Skills
wordpress-skill
WordPress 站点管理 Skill — 通过 CLI 工具管理文章、页面、媒体、分类、标签和搜索
task-reviewer-skill
审查者 Skill — 通过 CLI 工具审查子任务、评分、驳回返工
task-planner-skill
任务规划师 Skill — 通过 CLI 工具创建任务、拆分模块、分配子任务
task-patrol-skill
巡查 Skill — 通过 CLI 工具巡查任务状态、标记异常、发送告警
task-executor-skill
任务执行者 Skill — 通过 CLI 工具领取子任务、提交成果、处理返工
antigravity-gemini-image
Generate or edit images using the Antigravity-hosted Gemini image model via the local gateway. Use when the user asks to create an image, generate an avatar, or edit/transform an existing image with text instructions. Supports text-to-image and image-to-image editing.
local-legal-seo-audit
Audit and improve local SEO for law firms, attorneys, forensic experts and legal/professional services sites with local presence, focusing on GBP, directories, E-E-A-T and practice/location pages.
hig-components-search
Apple HIG guidance for navigation-related components including search fields, page controls, and path controls.
azure-maps-search-dotnet
Azure Maps SDK for .NET. Location-based services including geocoding, routing, rendering, geolocation, and weather. Use for address search, directions, map tiles, IP geolocation, and weather data.
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
Twitter Command Center (Search + Post)
Searches and reads X (Twitter): profiles, timelines, mentions, followers, tweet search, trends, lists, communities, and Spaces. Publishes posts after the user completes OAuth in the browser. Use when the user asks about Twitter/X data, social listening, or posting without sharing account passwords.