Pi Anthropic Tool Search — Development skill for Claude Code
Anthropic native tool-search policy extension for the pi coding agent.
How to install Pi Anthropic Tool Search
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open code-yeongyu/pi-anthropic-tool-search and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pi Anthropic Tool Search does
Anthropic native tool-search policy extension for the pi coding agent. Conditionally injects Anthropic tool-search tools based on PI_ANTHROPIC_TOOL_SEARCH and appends tool-search guidance to the system prompt.
Alternatives in Development
- Claude Coder — Kodu is an autonomous coding agent that lives in your IDE 5.2k ★
- Zeron — A native control plane for Claude Code, Codex, Cursor, Devin and other coding agents 1.4k ★
- Projectmem — Open-source coding agent memory 766 ★
README
pi-anthropic-tool-search
[](https://github.com/code-yeongyu/pi-anthropic-tool-search/actions/workflows/ci.yml) [](LICENSE)
Anthropic native tool-search extension for the [pi coding agent](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent).
This package is the standalone extraction of senpi's former builtin `anthropic-tool-search` extension.
Behavior
The extension does not register new local tools. It intercepts Anthropic requests and conditionally adds native Anthropic tool-search tools based on `PI_ANTHROPIC_TOOL_SEARCH`.
Supported modes:
off(default): no changesregex: injecttool_search_tool_regexbm25: injecttool_search_tool_bm25both: inject both tools
Function-style variants with the same names are stripped when native types are not used. Invalid env values are treated as `off`; the extension emits one warning notification per session for invalid values.
It also appends a system-prompt section for Anthropic sessions when tool search mode is enabled.
Installation
The package targets the [`pi`](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent) coding agent. Pi loads extensions from `~/.pi/agent/extensions/`, project `.pi/extensions/`, or via the `--extension` / `-e` CLI flag.
# From git
pi install git:github.com/code-yeongyu/pi-anthropic-tool-search
# Dev / one-shot test
pi -e /path/to/pi-anthropic-tool-search/src/index.ts
After installation, restart pi or run `/reload` inside an interactive session.
Development
npm install
npm test
npm run typecheck
npm run check
pi -e ./src/index.ts
The test suite uses vitest. TypeScript is strict, Node-only, and uses ESM imports with `.js` suffixes.
Origin
Ported from `packages/coding-agent/src/core/extensions/builtin/anthropic-tool-search/index.ts` i
Related Skills
Pi Anthropic Web Search
Anthropic native web search policy extension for the pi coding agent. Ensures native web_search tools are pres
Pi Anthropic Bash
Anthropic native bash policy extension for the pi coding agent. Ensures native bash tools are present on anthr
Remind Cursor Rules
Claude Code hook that injects Cursor rules for contextual coding assistance
Claude Code Config Dir Patcher VSCode
This VS Code extension lets you run multiple Claude Code accounts by patching Anthropic's anthropic.claude-cod
Token 2022
Comprehensive guide to SPL Token-2022 (Token Extensions) — transfer hooks, confidential transfers, metadata, t
Pi Squad Loader
GSD-PI extension that loads the Squads ecosystem as native Pi SDK subagents
Related Agents
Claude Mem
A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresse
YouTube Updater
YouTube Video Updater Agent — bulk-optimises your product/brand videos for CTR, search rank, and LLM discovera
UX Builder
Builder for the UX Orchestrator. Executes exactly one task file under docs/ux/tasks/ and appends a Result sect