Skip to main content
rule CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/websearch.en.md
Open on GitHub

What 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.md

The paths frontmatter field limits the files

Step 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

Similar IDE rules

All IDE rules for Agent setup: memory, context, orchestration →

From the same set14

The whole set →
_head.en _head.en is a Claude Code rule that exposes CLI scripts from {{TOOLS}} for shell execution. Their first run installs dependencies. CX Codex +1 ★ 262repo stars peek.en peek.en is a Claude Code rule that tracks teammates' progress. Running peek.py inspects bot activity and recent actions without searching through session logs. CX Codex +1 ★ 262repo stars watchvid.en watchvid.en is a Claude Code rule that processes video links through a script and an index of materials to read. It activates when the agent receives a video link. CX Codex +1 ★ 262repo stars dsh-cc-compat.en dsh-cc-compat.en is a Claude Code rule that keeps DSH role switches, tool names, and Stop conversion aligned across sessions. CX Codex +1 ★ 262repo stars codemap-inject.en codemap-inject.en is a Claude Code rule that injects codebase maps into subagent prompts matching map keywords. The subagent reads the map first and lists new symbols to append upon completion. CX Codex +1 ★ 262repo stars choice-ask-guard.en choice-ask-guard.en is a Claude Code rule that checks agent questions against decisions already made and leaves open choices to the user. CX Codex +1 ★ 262repo stars param-source-guard.en The param-source-guard.en rule for Claude Code requires every new numeric parameter in code to include a source comment. It tracks limits, thresholds, and windows to ensure they trace back to user input, specs, or measurements. CX Codex +1 ★ 262repo stars wiki-context.en wiki-context.en is a Claude Code rule that reads relevant wiki hints and lesson entries during a terminal session. CX Codex +1 ★ 262repo stars

Project sponsors

Companies that keep this analytics open