Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/magic3007/dotfiles/claude-mdgit clone --depth 1 https://github.com/magic3007/dotfilesWhat 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 | $0.02851 | $0.02851 |
| Opus 5 | $0.01425 | $0.01425 |
| Sonnet 5 | $0.00570 | $0.00570 |
| Haiku 4.5 | $0.00285 | $0.00285 |
Grade A, and why
dotfiles CLAUDE.md scanned grade A with 0 findings 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 yesterday.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Overview
Dotfiles repository using Dotbot for installation. Stores configuration files and symlinks them to their standard locations (~/.zshrc, ~/.gitconfig, ~/.config/nvim, etc.).
Commands
./install # Full installation (idempotent, safe to re-run)
./install -n # Dry run — preview what would be installed
./sync.sh # Quick sync (git pull + cross-platform symlinks only)
./sync.sh --install # Install auto-sync scheduler (every 15 minutes)
git submodule update --init --recursive # Update Vim plugins
⚠️ 重要约束
- 禁止更新 fish 相关配置。 不要修改
fish/目录下的任何文件,也不要在install.conf.yaml中添加 fish 相关的 symlink 或安装步骤。fish 配置保持现状,不再维护。
Architecture
Two-Phase Installation (install.conf.yaml)
- Phase 1 — Local: Defaults, directory creation, submodules, backup existing configs, symlinks. No network required, always succeeds.
- Phase 2 — Network: Homebrew, platform packages, oh-my-zsh + plugins, fzf, Node.js/nvm, GitHub CLI, AI coding tools. All commands use
--connect-timeout/|| trueto avoid blocking without network.
Symlink Model
All configs live in this repo and are symlinked to ~ via Dotbot. The link section in install.conf.yaml is the single source of truth for what gets symlinked where. When adding new configs: add files to the repo, then add symlink entries to install.conf.yaml.
Auto-Sync System
sync.sh provides automatic 15-minute cross-platform sync across all machines (macOS, Linux):
./sync.sh— Git pull + apply only cross-platform symlinks (viasync.conf.yaml)./sync.sh --install— Install scheduler: macOS LaunchAgent or Linux systemd timer- Auto-enabled —
sync.sh --installruns automatically during./install, no manual setup needed - Error notification — On failure, sends alert via wechat-reminder (Feishu/WeChat)
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.
- yesterday First seen · 168 lines · 2,851 tokens per session scan A c7c78d3cd2c8
dotfiles CLAUDE.md is an instructions file published in the GitHub repository magic3007/dotfiles (10 stars, last pushed 6d ago), licensed MIT. It adds 2,851 tokens to every session, about $0.0143 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
dotfiles AGENTS.md
Cross-platform dotfiles managed by Chezmoi with Homebrew/apt and per-language version managers. One-command bootstrap for macOS and Linux with Neovim, Tmux, Zsh, and AI agent skills.
dotfiles CLAUDE.md
Claude Code instructions for ooloth/dotfiles, covering claude.md, uphold project invariants, folder structure, symlink management and claude development workflow.
dotfiles CLAUDE.md
Instructions for nicknisi/dotfiles, covering dotfiles, structure, setup and key conventions.
dotfiles CLAUDE.md
Instructions for IvanWng97/dotfiles, a project described as: macOS dotfiles managed with GNU stow — ghostty, neovim, zsh, tmux, starship, lazygit, homebrew.
j3w1zsh AGENTS.md
AGENTS.md instructions for j3w1/j3w1zsh, covering j3w1zsh agent instructions, purpose and authority, start every run, security and privacy and platform and installer contract.
dotfiles copilot-instructions.md
Copilot instructions for edbizarro/dotfiles, covering agents, what this is, critical: non-obvious patterns, zsh has a special stow structure and multi-distro conditional logic.