_head.en · zuiho-kai, tools — Claude Code rule: what it does, how to install
_head.en is a Claude Code rule that exposes CLI scripts from {{TOOLS}} for shell execution. Their first run installs dependencies.
Apache-2.0 ★ 262 updated 2026-11-17
.claude/rules/_head.en.mdWhat _head.en does
The _head.en rule tells the agent about command-line tools stored in {{TOOLS}} and allows it to run their scripts through the shell tool when they help with a task. No separate approval is requested.
The first execution installs the scripts' dependencies, so it takes longer than later runs. For Claude Code, place the file at .claude/rules/_head.en.md. Cursor uses .cursor/rules/_head.en.mdc, while GitHub Copilot uses .github/instructions/_head.en.instructions.md.
What it helps with
- run available CLI scripts through the shell tool
- use tools from
{{TOOLS}}without a separate approval request - install script dependencies on the first run
Example prompts for the agent
- Run a suitable script from
{{TOOLS}}through the shell tool. - Use a command-line tool from
{{TOOLS}}if it helps complete the task. - Execute the relevant CLI script without asking for separate approval.
How to install _head.en
Manually: put the files in place
.claude/rules/_head.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/_head.en.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.github/instructions/_head.en.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.devin/rules/_head.en.mdManually: put the files in place
.clinerules/_head.en.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about _head.en
How do I install _head.en in Claude Code?
Place the file at .claude/rules/_head.en.md.
What does _head.en do?
It tells the agent about CLI scripts in {{TOOLS}} and permits shell-tool execution without a separate approval request.
What does _head.en require to work?
It requires scripts in {{TOOLS}} and the shell tool. The scripts install their dependencies on the first run.
Source text
_head.en.md · Apache-2.0
## Small tools
This machine has a few command-line tools installed for you (scripts in `{{TOOLS}}`; run them with your shell tool; the first run installs their dependencies and is slower). Use them whenever they help, without asking first.
© zuiho-kai · Apache-2.0 · zuiho-kai/bothouse
Similar IDE rules
All IDE rules for Agent setup: memory, context, orchestration →_head.en by other authors comes first.