dotfiles: Instructions file for Claude Code

AGENTS.md

dotfiles AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from sfc-gh-eraigosa/dotfiles. It costs 3,853 tokens per session, scanned B, original, Apache-2.0.

Repository instructions for a collection of personal command-line tools, shell settings, documentation, and Go modules. Dotfiles are configuration files that customise a developer’s computer.

In plain words
What is it for?
Use them when changing shell profiles, utility scripts, documentation, or independently installable Go tools in the repository.
Why use it?
They help an agent navigate the repository and follow its layout, build conventions, and portability rules.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PreToolUse hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is sfc-gh-eraigosa/dotfiles's own configuration. It tells Claude Code, Codex and OpenCode how to work on dotfiles itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dotfiles configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sfc-gh-eraigosa/dotfiles. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sfc-gh-eraigosa/dotfiles/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/sfc-gh-eraigosa/dotfiles

Made for: Claude Code, Codex, OpenCode.

Wrote 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.

agentmods badge for dotfiles AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sfc-gh-eraigosa/dotfiles/agents-md.svg)](https://agentmods.dev/instructions/sfc-gh-eraigosa/dotfiles/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sfc-gh-eraigosa/dotfiles/agents-md"><img src="https://agentmods.dev/badge/instructions/sfc-gh-eraigosa/dotfiles/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,853 This file is loaded in full into every session.
When invoked 3,853 The same file — it is already loaded in full.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.03853 $0.03853
Opus 5 $0.01927 $0.01927
Sonnet 5 $0.00771 $0.00771
Haiku 4.5 $0.00385 $0.00385

Measured 2d ago against content hash ce8757574088, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

dotfiles AGENTS.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 2d 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.

- **Skills are shared**: any `SKILL.md` under `src/` (e.g. `src/ssh-host-finder/SKILL.md`, `src/wispr-flow-debug/SKILL.md`, or a tool's `src/<tool>/skill/`) drives both assistants — `sync-skills` discovers every `SKILL.m
AGENTS.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dotfiles Repository

Welcome to the dotfiles repository. This file serves as the entry point for agent-based discovery of the tools, configurations, and workflows contained within this repo. It is read by both Antigravity CLI (agy, as AGENTS.md) and Claude Code (as CLAUDE.md — a symlink to this file).

Repository Structure

  • opt/bin/: A collection of utility scripts and binaries. See opt/bin/AGENTS.md for a categorized registry of these tools.
  • opt/profiles/: Shell configuration files (.zshrc, .bashrc, .tmux.conf, etc.). See opt/profiles/AGENTS.md for details.
  • opt/etc/: Tracked system config files that scripts copy into place (e.g. keyd/ for the macOS-style keyboard layout). Edit here and re-run the installer — deployed copies are overwritten. See opt/etc/AGENTS.md.
  • opt/docs/: Legacy and reference documentation for various tools and setups. See opt/docs/AGENTS.md.
  • src/: Non-Go custom tools and agent skills (shell/skill tooling). Go code no longer lives here — all Go modules live under sdk/. See src/AGENTS.md.
  • sdk/: Go modules (gss, tmux-mgr, gsl, fleet, gff, wol, and the shared libs), each independently go install-able as github.com/sfc-gh-eraigosa/dotfiles/sdk/<tool>. All Go code lives here, not under src/. sdk/README.md is the user-facing tour (what each tool solves, with demos); sdk/AGENTS.md is the build/maintenance contract — read its "Adding a module" checklist before adding a tool. (Cutover in progress — see docs/mbo/plans/2026-06-04-sdk-migration-plan.md.)
  • sdk/gff/: git fast features — a git-persisted, layered feature-flag engine (proto schema, 5-layer resolver with provenance, cobra CLI, Go SDK) gating install.sh components. See sdk/gff/AGENTS.md.
  • opt/Desktop/Apps/scripts/: Windows-side automation deployed to the Desktop (macOS-style hotkeys + Wispr Flow voice dictation in macos.ahk, PowerToys/app/font setup). See opt/Desktop/Apps/scripts/AGENTS.md for the inventory, the WSL→Windows dev loop, and AutoHotkey v2 gotchas.
  • docker/: All build Dockerfiles — the CI test image (Dockerfile, two-phase deps/config) + the GHCR base (Dockerfile.base) + example/fixture images. Read docker/AGENTS.md before adding any install step, tool, or package — it holds the three-tier layering rule (base vs install.sh --phase deps vs --phase config) that keeps the expensive Build CI job fast.
  • archive/: Retired-but-kept artifacts (not wired into install). See archive/AGENTS.md for the inventory and restore instructions.
  • ai/hooks/: Unified agent hooks (safety, privacy) shared across CLIs.
  • ai/skills/: Shared agent skills (each a SKILL.md folder) linked into Claude + Antigravity by sync-skills; each should ship an evals/evals.json validated by make skill-evals. See ai/skills/AGENTS.md.
  • ai/antigravity/: Antigravity CLI (agy) aliases, hook-wiring template, and sanity-check scripts.
  • ai/claude/: Claude-specific commands, settings, and hook templates.
  • ai/plugins.yaml: Declarative manifest of the Claude Code plugins this repo installs/enables (ensure-only via sync-plugins). See docs/ai-plugins.md for the plugin summary, first-usage examples, and the Antigravity plugin path.
  • ai/teams/: Specialized agent teams installed as native subagents for Claude, Antigravity, and Ollama. Personas declare an abstract tier: resolved via model-map.yaml; install_ai_teams.sh emits each tool's format and /team routes tasks to the right team/member. See ai/teams/AGENTS.md.
  • docs/: Repository documentation. Objective-driven design work — issues, gss draft PRs, new features/skills/CLIs/services — starts in docs/mbo/: the Management-By-Objective design → spec → plan pipeline, per-task skill routing, and the objective tracker (docs/mbo/index.md). See docs/AGENTS.md.

Read the full file on GitHub · 86 lines

Changes

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.

  1. 2d ago Changed · +1 lines · +65 tokens per session ce8757574088
  2. 6d ago First seen · 85 lines · 3,788 tokens per session scan B 2f058433dd3e

Subscribe to this mod's changes

dotfiles AGENTS.md is an instructions file published in the GitHub repository sfc-gh-eraigosa/dotfiles (46 stars, last pushed today), licensed Apache-2.0. It adds 3,853 tokens to every session, about $0.0193 per session on Opus 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.

Related

Other instructions, from other repositories

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.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

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).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

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.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens