dotfiles AGENTS.md

dotfiles AGENTS.md is an instructions file for Codex, OpenCode from IvanKuzyshyn/dotfiles. It costs 3,221 tokens per session, scanned C, original, Unlicense.

A guide for AI coding agents working in a personal dotfiles repository, which stores computer configuration files. It explains the repository layout, setup commands, and tools such as Homebrew and GNU Stow, which installs configurations through symbolic links.

In plain words
What is it for?
Use it when editing shell or application settings, installing tools listed in the repository, or deploying configuration files across macOS computers.
Why use it?
It gives the agent the project context needed to change configuration safely and follow the repository's installation process. It also documents how software installation and configuration deployment are separated.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/ivankuzyshyn/dotfiles/agents-md
Clone the repo
git clone --depth 1 https://github.com/IvanKuzyshyn/dotfiles

Made for: 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/ivankuzyshyn/dotfiles/agents-md.svg)](https://agentmods.dev/instructions/ivankuzyshyn/dotfiles/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ivankuzyshyn/dotfiles/agents-md"><img src="https://agentmods.dev/badge/instructions/ivankuzyshyn/dotfiles/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,221 This file is loaded in full into every session.
When invoked 3,221 The same file — it is already loaded in full.
Security scan C 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 $0.03221 $0.03221
Opus 5 $0.01611 $0.01611
Sonnet 5 $0.00644 $0.00644
Haiku 4.5 $0.00322 $0.00322

Measured 4d ago against content hash 5bcea13a92a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

dotfiles AGENTS.md scanned grade C 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 4d 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.

Enumerates the file system for secretshighData exfiltration

Searching home directories for .env, .ssh, .aws or credential files is reconnaissance for credential theft.

3. Verify symlinks: `ls -la ~/ | grep newtool`
AGENTS.md · 359 lines

How it starts

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

AGENTS.md

This file provides guidance to AI coding agents when working with code in this repository.

Repository Overview

This is a personal dotfiles repository for managing user configuration files across macOS systems. It uses GNU Stow for symlink management and Homebrew for tool installation.

Architecture Philosophy:

  • Simple and maintainable over complex abstractions
  • Transparent symlink management (no templates)
  • Monolithic configuration files (single .zshrc)
  • Tool-centric directory structure

Repository Structure

dotfiles/
├── .gitignore              # Excludes IDE/OS files
├── .stowrc                 # Stow configuration (dir=configs, target=$HOME)
├── .githooks/
│   └── pre-commit          # gitleaks secret scan on staged changes
├── .github/
│   └── workflows/
│       └── gitleaks.yml    # CI secret scan on push/PR
├── Brewfile                # Homebrew packages and casks (single source of truth)
├── install.sh              # Tool installation via Homebrew
├── bootstrap.sh            # Config deployment via Stow
├── README.md               # User-facing documentation
├── AGENTS.md               # This file
├── LICENSE                 # Unlicense (public domain)
├── lib/
│   └── menu.sh             # Shared confirmation prompt library
└── configs/                # Tool configurations (stow packages)
    ├── zsh/
    │   └── .zshrc             # Shell config (~150 lines)
    ├── git/
    │   ├── .gitconfig         # Git settings
    │   └── .gitignore_global  # Global ignores
    ├── vim/
    │   └── .vimrc             # Minimal Vim config
    ├── ghostty/
    │   └── .config/ghostty/config
    ├── k9s/
    │   └── .config/k9s/config.yaml
    └── mise/
        └── .config/mise/config.toml

Setup Workflow

The repository provides a two-step setup process:

  1. ./install.sh - Installs tools via Homebrew
    • Detects platform (macOS only currently)
    • Prompts [Y/n] for each tool (Enter = yes, n = skip)
    • Installs Homebrew if missing
    • Installs packages: stow, k9s, kubectl, kubectx, helm, kind, ko, oras, kluctl, awscli, gh, jq, yq, ncdu, git, go, mise, gitleaks
    • Installs casks: ghostty (terminal emulator), raycast (productivity launcher), cursor (AI code editor), docker (Docker Desktop)
    • Installs Rust via rustup
    • Installs oh-my-zsh with plugins (zsh-autosuggestions, zsh-syntax-highlighting)
    • Installs nvm and Node.js LTS
    • Installs Claude Code via npm
    • Configures this repo's pre-commit hook (core.hooksPath=.githooks) for gitleaks scanning
    • Idempotent (safe to re-run)
    • --all flag skips prompts (installs everything)

Read the full file on GitHub · 359 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. 4d ago First seen · 359 lines · 3,221 tokens per session scan C 5bcea13a92a4

Subscribe to this mod's changes

dotfiles AGENTS.md is an instructions file published in the GitHub repository IvanKuzyshyn/dotfiles (5 stars, last pushed 2mo ago), licensed Unlicense. It adds 3,221 tokens to every session, about $0.0161 per session on Opus 5. A static security scan graded it C with 1 finding (enumerates the file system for secrets). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.