Pi Anthropic Bash — Development skill for Claude Code
Anthropic native bash policy extension for the pi coding agent.
How to install Pi Anthropic Bash
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open code-yeongyu/pi-anthropic-bash and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pi Anthropic Bash does
Anthropic native bash policy extension for the pi coding agent. Ensures native bash tools are present on anthropic-messages payloads when opt-in is enabled and appends bash guidance to the system prompt.
Alternatives in Development
- Domxss — Confirm DOM XSS in a real headless browser — injects canary payloads into params + URL fragment and only repor 4.5k ★
- MCP Language Server — mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, a 1.5k ★
- Module Status — Show status of all modules or a specific module (enabled/disabled, version, routes, migrations) 407 ★
README
pi-anthropic-bash
[](https://github.com/code-yeongyu/pi-anthropic-bash/actions/workflows/ci.yml) [](LICENSE)
Anthropic native bash 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-bash` extension.
Behavior
The extension does not register a new tool. It intercepts Anthropic requests before they are sent and ensures a native `bash_*` tool is present for `anthropic-messages` payloads only when bash support is explicitly enabled.
| Case | Result |
|---|---|
PI_ANTHROPIC_BASH is enabled, API is anthropic-messages, and no native bash_* tool exists |
injects { type: "bash_20250124", name: "bash" } |
PI_ANTHROPIC_BASH is enabled and a native bash_* tool already exists |
preserves existing native tool (no duplication) |
PI_ANTHROPIC_BASH is enabled and a function variant named bash is present |
strips function variant and keeps/uses native variant |
PI_ANTHROPIC_BASH is disabled or unset |
no-op |
| API is non-Anthropic | no-op |
Truthy values for `PI_ANTHROPIC_BASH` are: `1`, `true`, `yes`, `on` (case-insensitive, surrounding whitespace allowed).
It also appends a system-prompt section for Anthropic sessions indicating native `bash_20250124` availability when enabled. The tool remains stateless and the `restart` flag has no effect.
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 npm (once published)
pi install npm:pi-anthropic-bash
# From git
pi install git:github.com/code-yeongyu/pi-anthropic-bash
# Manual placement
git
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 Tool Search
Anthropic native tool-search policy extension for the pi coding agent. Conditionally injects Anthropic tool-se
Governor
Propose (and, only when explicitly enabled, apply) policy-gated, reversible governance actions.
Jev Brig
A Claude Code hook that judges Bash commands against a session policy level, and answers allow/ask/deny with a
MCP Intruder Skills
Bundle de skills MCP-Intruder — adoption curatee de Claude-BugHunter (MIT/CC-BY) + Anthropic-Cybersecurity-Ski
Nanopi
Tiny Rust port of Pi — a ~4 MB statically-linked coding agent CLI for old/low-resource Linux boxes. OpenAI + A
Related Agents
Infra Base Scaffolder
Genera la infraestructura base del consumidor (8 modulos Terraform + esqueleto del entorno con outputs) en un
Research Backlink Detector
Reads a research entry's Cross-References section and appends reciprocal backlink rows to each cited entry. En
Team Codex Verifier
Codex-delegated verify stage. Forwards the dispatch to the packaged Codex verify wrapper via one Bash call and