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/fredrikaverpil/dotfiles/claude-mdgit clone --depth 1 https://github.com/fredrikaverpil/dotfilesWrote 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/fredrikaverpil/dotfiles/claude-md)<a href="https://agentmods.dev/instructions/fredrikaverpil/dotfiles/claude-md"><img src="https://agentmods.dev/badge/instructions/fredrikaverpil/dotfiles/claude-md.svg" alt="Measured on agentmods" 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 | $0.01865 | $0.01865 |
| Opus 5 | $0.00932 | $0.00932 |
| Sonnet 5 | $0.00373 | $0.00373 |
| Haiku 4.5 | $0.00186 | $0.00186 |
Grade B, and why
dotfiles CLAUDE.md scanned grade B with 2 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- **Full rebuild (Darwin)**: `sudo darwin-rebuild switch --flake Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **No curl|bash installers in activation**: AI/agent CLIs must come from How it starts
The opening of the file, as written. The whole thing — 133 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.
Core Commands
- Full rebuild (Darwin):
sudo darwin-rebuild switch --flake ~/.dotfiles#"$(hostname -s)"(hosts:zap,plumbus) - Full rebuild (NixOS):
sudo nixos-rebuild switch --flake ~/.dotfiles#"$(hostname -s)"(host:rpi5-homelab) - Symlink dotfiles only (GNU Stow, no Nix rebuild):
cd ~/.dotfiles; then runstow --dir=stow --target="$HOME" --restow --no-folding --adopt shared && stow --dir=stow/platform --target="$HOME" --restow --no-folding --adopt "$(uname -s)"; host="$(hostname -s)"; [ -d "stow/host/$host" ] && stow --dir=stow/host --target="$HOME" --restow --no-folding --adopt "$host"(shared first, then platform, then the optional host package) - Update all flake inputs:
nix flake update, then rebuild - Update only unstable-pinned inputs:
nix flake update nixpkgs-unstable nix-darwin home-manager-unstable llm-agents dotfiles, then rebuild - Refresh package-managed CLI tools after an update:
uv tool upgrade --allandnpm-tools-upgrade - Upgrade Homebrew packages (Darwin):
brew update && brew upgrade— rebuilds only install/remove to match the declared set, they never bump versions (add--greedyto also bump self-updating casks) - Nix rebuild: ask user to run this, NEVER run it yourself
- Nix validation:
nix flake checkornix flake check --all-systems - Nix builds:
nix build .#darwinConfigurations.<host>.system(hosts:zap,plumbuson Darwin;rpi5-homelabon NixOS) - Format Nix files:
nix fmt(uses nixfmt-rfc-style) - CI testing: Follow
.github/workflows/test.ymlworkflow - Toolchain outside Neovim: language toolchains (go, python3, node, ruby,
rustup, elixir, tree-sitter, ...) are NOT on the base PATH —
shell/bin/nviminjects them into Neovim only. When running outside Neovim (e.g. Claude Code under Remote Control) and needing them, use the devshell:nix develop ~/.dotfiles#dev -c <cmd>(or enter withnix develop ~/.dotfiles#dev). Defined once innix/shared/toolchain.nix, shared by the devshell and Neovim'snvim-deps-path.
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 Changed · +2 lines · +65 tokens per session c071e3cfbcef
- 5d ago First seen · 131 lines · 1,800 tokens per session scan B 39a8820b5e46
dotfiles CLAUDE.md is an instructions file published in the GitHub repository fredrikaverpil/dotfiles (257 stars, last pushed today), licensed MIT. It adds 1,865 tokens to every session, about $0.0093 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
dotfiles AGENTS.md
AGENTS.md instructions for sfc-gh-eraigosa/dotfiles, covering dotfiles repository, repository structure, usage guidelines, asking the user (blocking questions must be colorized) and portability & best practices.
dotfiles CLAUDE.md
Claude Code instructions for denolfe/dotfiles, covering claude.md, repository overview, git flow, build & development commands and installation.
dotfiles CLAUDE.md
Claude Code instructions for sfc-gh-eraigosa/dotfiles, a project described as: Ubuntu Bash Home profile setup, includes vimrc's profiles some git commands.
dotfiles CLAUDE.md
Instructions for joshukraine/dotfiles, covering claude.md, about this repository, repository structure, common commands and setup and installation.
dotfiles AGENTS.md
AGENTS.md instructions for magic3007/dotfiles, covering agents.md, commands, architecture, two-phase installation (install.conf.yaml) and symlink model.
dotfiles AGENTS.md
AGENTS.md instructions for AdityaZxxx/dotfiles, covering dotfiles — agent guide, rules and useful scripts.