dotfiles: Instructions file for Codex

AGENTS.md

dotfiles AGENTS.md is an instructions file for Codex, OpenCode from luizomf/dotfiles. It costs 689 tokens per session, scanned A, original, MIT.

Repository instructions for a personal configuration and setup project. They describe the project's purpose, file layout, supported systems, safety boundaries, and rules an automated coding agent must follow.

In plain words
What is it for?
Use them when editing the dotfiles repository, checking supported platforms, tracing conflicting documentation, or working within a directory with more specific instructions.
Why use it?
They give an agent project-specific context that generic coding rules do not include. This reduces the risk of changing shared setup, documentation, or user configuration incorrectly.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is luizomf/dotfiles's own configuration. It tells 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 luizomf/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/luizomf/dotfiles/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/luizomf/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/luizomf/dotfiles/agents-md/github.svg)](https://agentmods.dev/instructions/luizomf/dotfiles/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/luizomf/dotfiles/agents-md"><img src="https://agentmods.dev/badge/instructions/luizomf/dotfiles/agents-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.

agentmods 80×15 button for dotfiles AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/luizomf/dotfiles/agents-md"><img src="https://agentmods.dev/badge/instructions/luizomf/dotfiles/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 689 This file is loaded in full into every session.
When invoked 689 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00689 $0.00689
Opus 5.5 $0.00276 $0.00276
Sonnet 5.5 $0.00138 $0.00138
Haiku 4.5 $0.00069 $0.00069

Measured 29d ago against content hash b8de54413a07, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

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.

AGENTS.md · 59 lines

How it starts

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

Dotfiles

Personal dotfiles, bootstrap automation, and standalone utilities for macOS, Ubuntu, and traditional Fedora/Asahi—not a unified application or framework. Preserve personal preferences and keep changes focused on the requested task.

Working style

  • Keep going while the next step is clear and within scope. Ask when missing information blocks progress or an action has destructive consequences the user has not already authorized. No mandatory planning or orchestration flow.
  • Prefer code that is easy to understand and maintain. Add abstractions, dependencies, or shared helpers only when they solve a concrete current need.
  • Do not grow this file with task history, obvious advice, or speculative rules. Put lasting technical details in docs/, preferably beside existing guidance.

Real safety boundaries

  • Tracked files and commits are public. Keep secrets, private host details, credentials, sessions, logs, and machine-local state out of Git. Personal Pi configuration lives outside this repository and is managed by synchosts.
  • Deployed configs are often symlinks into this checkout: edits can affect the live environment immediately. Check affected consumers before changing paths, arguments, defaults, or environment-variable contracts.
  • Never run install.sh as a check. Do not trigger sync, upload, SSH, queue, remote changes, or live reloads merely to validate code; those effects need task authorization. Prefer isolated checks.
  • Preserve unrelated work. Clean up only task-owned temporary artifacts, processes, branches, and worktrees; preserve their useful work first.

Repository conventions

  • README.md covers installation and safety; docs/ holds maintenance details. Correct affected documentation when changing behavior.
  • config/paths.sh owns shared host paths. Preserve supported OM_PATHS_FILE overrides, platform compatibility, interpreter contracts, executable bits, and unattended execution requirements. Prefer $HOME and existing path variables over machine-specific absolute paths.
  • Keep persistent scratch notes in ./.scratch/, never in commits.
  • Create worktrees under ~/sannux-data/worktrees/<repo>/<worktree_name>.

Read the full file on GitHub · 59 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. 29d ago Changed · +7 tokens per session b8de54413a07
  2. 1mo ago Changed · -193 lines · -2,381 tokens per session 6f2e489482dd
  3. 1mo ago Changed · +13 lines · +131 tokens per session 54b66616d073
  4. 1mo ago Changed · +18 lines · +99 tokens per session 5095bb816a29
  5. 1mo ago Changed · +77 lines · +1,054 tokens per session 5acb035ac93e
  6. 1mo ago Changed · +3 lines · +62 tokens per session 7be3040c3adf
  7. 1mo ago Changed · +63 lines · +842 tokens per session aa9fb993c047
  8. 2mo ago First seen · 78 lines · 875 tokens per session scan A 6e0f2e11ded1

Subscribe to this mod's changes

dotfiles AGENTS.md is an instructions file published in the GitHub repository luizomf/dotfiles (53 stars, last pushed yesterday), licensed MIT. It adds 689 tokens to every session, about $0.0028 per session on Opus 5.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-09-06.

Related

dotfiles AGENTS.md compared with instructions from other repositories

dotfiles AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dotfiles AGENTS.mdluizomf/dotfilesInstructions file53yesterdayMITA689Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode