dots: Instructions file for Claude Code

AGENTS.md

dots AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from drn/dots. It costs 4,781 tokens per session, scanned B, original, MIT.

A set of project instructions for AI coding assistants working on the dots command-line tool, including its planning rules, setup steps, and development commands.

In plain words
What is it for?
Use it when developing, building, testing, or planning changes for the dots repository. It covers Go installation, linting, testing, and the dots install and update commands.
Why use it?
It gives an assistant the project context and tells it when to read specifications before making changes, reducing guesswork during coding.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: dynamic context !`command`, but also reads $CODEX_HOME. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is drn/dots's own configuration. It tells Claude Code, Codex and OpenCode how to work on dots 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 dots configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/darrencheng/.dots/.

View source ↗ drn/dots
Reuse

Borrowing it

Nothing to install: this file belongs to drn/dots. 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/drn/dots/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/drn/dots

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 dots AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/drn/dots/agents-md/github.svg)](https://agentmods.dev/instructions/drn/dots/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/drn/dots/agents-md"><img src="https://agentmods.dev/badge/instructions/drn/dots/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 dots AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/drn/dots/agents-md"><img src="https://agentmods.dev/badge/instructions/drn/dots/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,781 This file is loaded in full into every session.
When invoked 4,781 The same file — it is already loaded in full.
Security scan B 2 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.04781 $0.04781
Opus 5.5 $0.01912 $0.01912
Sonnet 5.5 $0.00956 $0.00956
Haiku 4.5 $0.00478 $0.00478

Measured 1mo ago against content hash 287a1d144053, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

dots AGENTS.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 1mo 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.

| agents | Agent skills, custom agents, hooks, and status lines (symlinks agents/skills → ~/.claude/skills + ~/.agents/skills, agents/custom → ~/.claude/agents, agents/AGENTS.md → ~/.claude/CLAUDE.md, registers Claude ho

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| pi | pi.dev coding agent CLI + config (installs pi via curl pi.dev/install.sh, symlinks pi/agent/models.json → ~/.pi/agent/models.json, and seeds defaultProvider/defaultModel for Ollama qwen3:32b in ~/.pi/agent/setting
AGENTS.md · 306 lines

How it starts

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

OpenSpec Instructions

These instructions are for AI assistants working in this project.

Always open @/openspec/AGENTS.md when the request:

  • Mentions planning or proposals (words like proposal, spec, change, plan)
  • Introduces new capabilities, breaking changes, architecture shifts, or big performance/security work
  • Sounds ambiguous and you need the authoritative spec before coding

Use @/openspec/AGENTS.md to learn:

  • How to create and apply change proposals
  • Spec format and conventions
  • Project structure and guidelines

Keep this managed block so 'openspec update' can refresh the instructions.

AGENTS.md

This file provides essential context for AI assistants working with the dots repository.

Quick Start

Build and run the CLI:

go install ./...
dots

Essential Commands for Development

Building & Testing

go install ./...                              # Build all binaries
revive -set_exit_status ./...                # Run linter

Core CLI Commands

dots install all                              # Full system setup
dots install <component>                      # Install specific component
dots update                                   # Update configuration
dots doctor                                   # Run diagnostics

Spec-Driven Development (OpenSpec)

Route every spec-worthy change through openspec/ before writing code. Any behavioral change — new CLI command or component, changed install/update behavior, new skill/custom agent/hook, an altered convention or invariant — gets a change folder first:

  1. Create openspec/changes/<name>/ with proposal.md, delta specs under specs/<capability>/spec.md, and tasks.md. Use a kebab-case, verb-led change-id (add-, update-, remove-, refactor-).
  2. Run openspec validate <name> --strict and get approval before implementing.
  3. Implement against the tasks, keeping deltas in sync as requirements shift.
  4. Archive within the same PR, before merge — run openspec archive <name> --yes (or apply it by hand: merge the delta requirements into the base specs under openspec/specs/<capability>/ and move the change folder to openspec/changes/archive/<YYYY-MM-DD>-<name>/) and commit the result on the change branch. Squash-merge applies the work immediately, so the base-spec update must land atomically with the PR — do NOT leave archiving as a separate post-merge step (that strands the base specs behind shipped code).

Read the full file on GitHub · 306 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. 1mo ago Changed · +1 lines · +40 tokens per session 287a1d144053
  2. 2mo ago Changed · +12 lines · +114 tokens per session 673faab20f00
  3. 2mo ago First seen · 293 lines · 4,627 tokens per session scan B b588d666d9e0

Subscribe to this mod's changes

dots AGENTS.md is an instructions file published in the GitHub repository drn/dots (23 stars, last pushed 2d ago), licensed MIT. It adds 4,781 tokens to every session, about $0.0191 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

dots AGENTS.md compared with instructions from other repositories

dots AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dots AGENTS.mddrn/dotsInstructions file232d agoMITB4,781Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot