Borrowing it
Nothing to install: this file belongs to vinta/hal-9000. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/vinta/hal-9000/main/CLAUDE.mdgit clone --depth 1 https://github.com/vinta/hal-9000Wrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/vinta/hal-9000/claude-md)<a href="https://agentmods.dev/instructions/vinta/hal-9000/claude-md"><img src="https://agentmods.dev/badge/instructions/vinta/hal-9000/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/vinta/hal-9000/claude-md"><img src="https://agentmods.dev/badge/instructions/vinta/hal-9000/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00689 | $0.00689 |
| Opus 5.5 | $0.00276 | $0.00276 |
| Sonnet 5.5 | $0.00138 | $0.00138 |
| Haiku 4.5 | $0.00069 | $0.00069 |
Grade B, and why
hal-9000 CLAUDE.md scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **Mirror `dotfiles/.claude/settings.json` edits into `dotfiles/.claude/settings.sandbox.json`**: the sandbox copy is the settings for Claude Code under blackwall and drifts otherwise. Skip what it leaves out on purpose How it starts
The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
macOS dev environment automation: dotfiles, AI agent configs, skills, and dev stacks.
Commands
Run make help to list targets and hal --help for the CLI.
Use make targets instead of running the underlying commands directly. They chain the right tools with the right flags.
Gotchas
- Edit under
dotfiles/, never under~/:hal syncsymlinks everylinksentry indotfiles/hal_dotfiles.jsoninto~/, so an edit to a linked path is live immediately. A new file outside a linked directory needs its own entry plushal syncbefore anything references it. - Mirror
dotfiles/.claude/settings.jsonedits intodotfiles/.claude/settings.sandbox.json: the sandbox copy is the settings for Claude Code under blackwall and drifts otherwise. Skip what it leaves out on purpose: hooks, theasklist, host-pathdenyrules, Ollama-backed plugins and env vars, and its own theme and statusline paths. - Edits under
skills/andplugins/are not live until published: Claude Code loads them from thehal-9000marketplace on GitHub (seedotfiles/.claude/settings.json), and other coding agents installskills/vianpx skills add vinta/hal-9000. Publish with a version bump (thepublish-pluginsskill) for a change to reach either. - All skill descriptions must start with
Use when,Use before, orUse after, except skills withdisable-model-invocation: true, whose description is a human-facing summary. A project-level skill's description may have a(project)prefix. - For generated artifacts such as zsh completion, regenerate them with the repo command instead of editing them by hand (e.g.
make hal-completionafter modifyingbin/hal.py).
External Tool Documentation
Pre-resolved Context7 IDs for the find-docs skill. Pass them to ctx7 docs and skip ctx7 library:
| Tool | libraryId |
|---|---|
| ansible | /websites/ansible_projects_ansible |
| ansible-lint | /ansible/ansible-lint |
| betterleaks | /betterleaks/betterleaks |
| fnm | /schniz/fnm |
| github-actions | /websites/github_en_actions |
| homebrew | /homebrew/brew |
| oh-my-zsh | /ohmyzsh/ohmyzsh |
| ollama | /ollama/ollama |
| pre-commit | /pre-commit/pre-commit.com |
| pytest | /pytest-dev/pytest |
| ruff | /websites/astral_sh_ruff |
| ty | /websites/astral_sh_ty |
| uv | /websites/astral_sh_uv |
| zsh | /websites/zsh_sourceforge_io_doc_release |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 20d ago Changed · +1 lines · +84 tokens per session a98254408f71
- 24d ago Changed · -18 lines · -188 tokens per session f96f72c5b057
- 1mo ago Changed · +19 tokens per session d04859e63414
- 1mo ago Changed · -10 tokens per session dd4c1be7f6df
- 1mo ago Changed · +9 tokens per session b2c126d1a99c
- 1mo ago Changed · -1 lines e6731a11c863
- 1mo ago First seen · 57 lines · 775 tokens per session scan B 164fb04f0a42
hal-9000 CLAUDE.md is an instructions file published in the GitHub repository vinta/hal-9000 (141 stars, last pushed today), licensed MIT. It adds 689 tokens to every session, about $0.0028 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
vscode model-prompts.instructions.md
Model-specific prompt authoring and registry guidelines.