websearch.en — Claude Code rule: what it does, how to install
websearch.en is a Claude Code rule directing the agent to search the web using a local websearch.py script. It triggers on queries about versions, news, dates, and prices.
Apache-2.0 ★ 262 updated 2026-11-17
.claude/rules/websearch.en.mdWhat websearch.en does
This rule instructs the agent to check the web via websearch.py before answering questions involving time-sensitive facts such as software versions, news, dates, and prices. Execution runs through uv without API keys. The search command outputs titles, links, and text snippets, while fetch <url> retrieves the main text of a target page.
The setup requires uv on the machine and the websearch.py script located in the designated tools folder. The workflow operates free of charge without external search service accounts.
What it helps with
- check latest software versions and releases
- verify current dates and news
- look up prices without an API key
- extract primary text from a page URL
Example prompts for the agent
- What is the latest stable version of React?
- Search for current subscription pricing for Claude Pro
- Fetch text from
<url>and summarize its main points
How to install websearch.en
Manually: put the files in place
.claude/rules/websearch.en.mdThe paths frontmatter field limits the files
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.cursor/rules/websearch.en.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.github/instructions/websearch.en.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.devin/rules/websearch.en.mdManually: put the files in place
.clinerules/websearch.en.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about websearch.en
How to install websearch.en in Claude Code?
Save the rule file to .claude/rules/websearch.en.md.
What does websearch.en do?
It guides the agent to query websearch.py before replying to questions about versions, news, or pricing.
What is required for websearch.en to work?
It requires the uv package manager and the websearch.py script in the tools folder. No API keys are needed.
Source text
websearch.en.md · Apache-2.0
- Web search: `{{UV}} run -q --script {{TOOLS}}/websearch.py search "query" [n]` returns titles, links and snippets (free, no key); `… websearch.py fetch <url>` returns a page's main text. Search before answering anything time-sensitive (news, versions, prices, dates).
© zuiho-kai · Apache-2.0 · zuiho-kai/bothouse