Introduction¶
When handling “web access” tasks within an Agent, the common practice is to fixate on a single tool: either relying solely on a search API or strictly using a browser. While search is suitable for finding entry points and summaries, it often falls short for single-page body text, sites requiring JS rendering, or logged-in scenarios. Conversely, while browsers offer extensive permissions, they are costly and prone to overuse for simple URL reading. Furthermore, when a tool errors out, there is often a lack of a unified degradation and retry strategy.
The following introduces the Web Search Tool · Web Assistant (Coordinate: @laoxi/adaptive-web-router-shangwangzhushou, also known as Adaptive Web Router) available on SkillHub. Instead of relying on a single tool to handle all web requirements, it distributes tasks across web_search, web_fetch, opencli, browser, or equivalent capabilities within the host environment based on intent, capability, risk, and cost.
What is this¶
Web Search Tool · Web Assistant is a SKILL.md type skill designed for Agents: it uses rules and strategies to guide the model in selecting web-side tools, rather than replacing the host’s built-in search, fetch, or browser implementations.
- Maintainer: Laoxi (SkillHub Publisher)
- Version: 1.0.2 (Source labeled as enterprise)
- Category: ai-agent
- Tags:
requires_api_key=false(The skill itself does not require separate API Key configuration)
It aims to solve the problem of how to route paths, control permissions and retries, explain progress to users, and verify sources when multiple web-related tools coexist. It also attempts to recover from web tool failures rather than binding every request to a single channel.
Core Features¶
The following capabilities are derived from the official SkillHub description and will be executed by the Agent according to the skill instructions after installation and activation.
Task Routing¶
Distributes work based on user intent and page characteristics to:
| Direction | Typical Use |
|---|---|
web_search |
Web search, news, hot topics, retrieval entry points for current information |
web_fetch |
Reading URLs, scraping web page body text, accessing structured sites (static or directly fetchable content) |
opencli |
Equivalent network-related capabilities on the host or CLI side |
browser |
JS-rendered pages, sites requiring login, screenshots, web interaction |
Routing weighs whether capabilities are sufficient, risk, and cost, favoring least privilege: if web_fetch can solve the problem, it will not default to using the browser.
Scenario Coverage¶
Applicable directions listed officially include: search, web access, information retrieval, opening websites, scraping web pages, news and hot topics; web search and obtaining current information; reading URLs; structured site access; pages requiring JS rendering or login; screenshots and web interaction; and recovery from web tool failures.
Optimization Goals¶
Practical goals emphasized in the skill instructions include:
- Least Privilege: Select tools based on the task to avoid unnecessary browser or high-permission operations.
- Limited Retries: Perform bounded retries upon failure rather than infinite loop calls.
- Concise Progress Updates: Use brief explanations to indicate current actions during execution.
- Source Verification: Ensure traceability and verification for conclusions derived from the web.
- Platform Compatibility: On hosts with different tool sets like Cursor, Codex, or Claude Code, prioritize using host equivalent tools rather than assuming a specific fixed runtime.
Explicitly Not For¶
- Not for pure local file tasks (reading repositories, modifying local configs, etc., should use file-based tools).
- Does not automatically install software (e.g., it will not install browsers or CLIs for you).
Installation and Activation¶
The installation method provided on the SkillHub page is: instruct the Agent to install the coordinate @laoxi/adaptive-web-router-shangwangzhushou following the official installation documentation.
1. Prepare SkillHub CLI (if not already installed)¶
First, check if the CLI is present:
command -v skillhub && skillhub --version
If not installed, you can perform a full installation via the SkillHub installation documentation (recommended) or install only the CLI:
# Full installation (CLI + Default Skills, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
# Install CLI only
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Full installation instructions can be found at: https://skillhub.cn/install/skillhub.md.
2. Install this skill to the current Agent’s skills directory¶
During installation, you must use --dir to point to the actual skills directory read by the current Agent; installing to the default ./skills/ might not be recognized.
skillhub install @laoxi/adaptive-web-router-shangwangzhushou --dir <skills directory>
Common paths (subject to SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
You can also send the installation prompt to the AI on the SkillHub skill page, allowing the Agent to complete the installation according to the documentation above. After installation, refresh or restart the Agent as required by your client to enable the skill.
Typical Usage¶
This skill does not have a separate “Business API”; its enablement is reflected in web access requests within conversations. The Agent selects the tool chain according to the policies in the SKILL, rather than the user manually specifying web_search or browser.
Reproducible interaction examples (phrasing may vary by host, but logic remains consistent):
- Research / Hot Topics: e.g., “What are the authoritative sources for a recent topic?” — Prioritize search capabilities to summarize entry points, then fetch specific URLs as needed.
- Read Specific Links: Provide a full URL and request a summary of the body text — Prioritize
web_fetchcapabilities for static page scenarios; upgrade to the browser if content relies on frontend rendering. - Pages Requiring Interaction or Login: When explicitly stating login, clicking, or screenshot requirements, routing favors the browser, combined with limited retries and progress updates.
- Recovery after Tool Failure: If a
web_fetchfails, the skill guides the Agent to switch channels or degrade/upgrade tools rather than repeating the same failed call.
The specific tool types called at each step depend on the installed SKILL.md and the tool names registered in the host.
Applicable Scenarios and Notes¶
Who is it for¶
- Teams or individuals who frequently perform search, web reading, and following hot topics within Agents but do not want to maintain a long list of “use A then use B” prompts themselves.
- Developers using environments like Cursor, Codex CLI, Claude Code, who already possess or plan to configure capabilities like
web_search,web_fetch, browser, etc. (or host equivalents).
Usage Notes¶
- Depends on Host Tools: The skill is a routing and strategy layer; if the host does not provide browser or fetch capabilities, corresponding branches cannot be magically filled.
- Permissions and Compliance: Browser and login scenarios involve accounts and site terms; manual confirmation is still required. The skill emphasizes least privilege but does not replace your compliance judgment.
- Boundary with Local Tasks: Do not expect this skill to handle reading files within repositories, running tests, or modifying code.
- Data Subject to SkillHub: Ratings, download counts, etc., change over time; refer to the real-time information on the skill page when consulting.
Conclusion¶
Web Search Tool · Web Assistant (Adaptive Web Router) transforms “web access” from a single tool call into a strategy that is routable, degradable, and recoverable: selecting options based on intent and cost among search, fetch, CLI, and browser, while considering source verification and cross-platform compatibility. If you wish to stably handle research, URL reading, and complex pages within an Agent, you can install @laoxi/adaptive-web-router-shangwangzhushou (v1.0.2) from SkillHub.