Skills Explorer Add Skills

agent-web-search-setup

An agent skill by daymade, from daymade/claude-code-skills. Tags: api, automation, setup, troubleshooting, web.

What it does

Sets up working web search on an agent whose model backend cannot run it. Resellers and relays that proxy Claude or Codex to another cloud (Vertex AI, Bedrock, or an OpenAI-compatible layer) do not execute the server-side web_search and web_fetch tools, so those return empty instead of failing and the model reports that recent things do not exist. Use this skill whenever searches come back with nothing, a model insists a shipped product was never released, web search appears to do nothing at all, someone wants to give an agent internet access, or the person is on a third-party base URL, a relay, or a 中转站. It works out which built-in tools are actually dead, removes them so the model stops reaching for them, installs a replacement the model can really call, and proves it with a live query. It configures the agent; it is not itself a search engine.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add daymade/claude-code-skills --skill agent-web-search-setup

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/daymade/claude-code-skills
cp -r claude-code-skills/daymade-claude-code/agent-web-search-setup ~/.claude/skills/agent-web-search-setup

Safety box score

Grade D, elevated risk: 46 of 100 risk points, rated 2026-09-20. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill diagnoses whether web search is broken on a relay and then changes Claude/Codex configuration to disable built-in tools and register a replacement MCP backend. The main risks are live network probing with user credentials, persistent edits to home-directory config files, and changes to the agent’s allowed tool set.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution1 (low)It ships a runnable Python probe (`scripts/diagnose.py`) and the workflow relies on shell commands like `python3 ...`, `claude mcp add ...`, and `codex exec ...`, but it does not execute arbitrary downloaded code.
Network access2 (moderate)`scripts/diagnose.py` POSTs to remote endpoints such as `/v1/messages` and `/v1/responses`, and the workflow explicitly performs live web queries and `curl` checks against third-party services.
Filesystem reach2 (moderate)It reads and writes user config in `~/.claude/settings.json`, `~/.claude.json`, `~/.codex/config.toml`, `~/.codex/auth.json`, and project `.mcp.json` / `.claude` files to register servers and change permissions.
Secrets & credentials2 (moderate)The probe reads API keys from `ANTHROPIC_AUTH_TOKEN`, `ANTHROPIC_API_KEY`, and `OPENAI_API_KEY`, plus config files, and sends them in request headers (`x-api-key`, `authorization`).
Privilege & persistence1 (low)It does not need sudo or global installs, but it does alter user-level agent settings and can move config roots/permissions in ways that persist across sessions.
Instruction hijack surface1 (low)The docs are highly directive and tell the agent to ignore misleading signals and use specific file sources, but there is no obvious hidden payload, remote prompt-following, or malicious instruction injection.
Irreversible actions2 (moderate)The skill can add MCP servers and grant `permissions.allow` entries, which persistently changes what tools the agent may call and can enable autonomous web access.
Transparency0 (none)All shipped files are readable markdown or Python; there are no binaries, base64 blobs, downloaded installers, or decoded-at-runtime code.

Before installing

Rated 2026-09-20 by an automated review of 4 files from the skill's repository.

Source

Repository
daymade/claude-code-skills (all skills from this repository)
Path
daymade-claude-code/agent-web-search-setup/SKILL.md
Branch
main
Updated
2026-09-20