dotrepo AGENTS.md

dotrepo AGENTS.md is an instructions file for Codex, OpenCode from maxwellsantoro/dotrepo. It costs 2,834 tokens per session, scanned A, original, MIT.

Repository instructions for dotrepo, an open metadata format and toolchain for describing software repositories, their ownership, documentation, and build information.

In plain words
What is it for?
Use it when working on the dotrepo schema, Rust tools, MCP server, language server, public repository index, or related documentation.
Why use it?
They identify the authoritative project documents and explain the commands and concepts coding agents should follow.

Instructions file for CodexOpenCode

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

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/maxwellsantoro/dotrepo/agents-md
Clone the repo
git clone --depth 1 https://github.com/maxwellsantoro/dotrepo

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/maxwellsantoro/dotrepo/agents-md.svg)](https://agentmods.dev/instructions/maxwellsantoro/dotrepo/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/maxwellsantoro/dotrepo/agents-md"><img src="https://agentmods.dev/badge/instructions/maxwellsantoro/dotrepo/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,834 This file is loaded in full into every session.
When invoked 2,834 The same file — it is already loaded in full.
Security scan A 0 findings. 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.02834 $0.02834
Opus 5 $0.01417 $0.01417
Sonnet 5 $0.00567 $0.00567
Haiku 4.5 $0.00283 $0.00283

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

Security

Grade A, and why

dotrepo 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 5d 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 · 179 lines

How it starts

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

AGENTS.md

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

What This Is

dotrepo is an open metadata protocol for software repositories. It has three interlinked deliverables:

  1. A .repo schema — versioned TOML manifests that encode provenance, trust, owners, docs, and build/test metadata
  2. A reference toolchain — Rust CLI, stdio MCP server, and LSP for importing, validating, querying, syncing, and generating compatible surfaces
  3. A public index — a Git-backed collection of evidence-backed overlays and maintainer authority context at index/repos/<host>/<owner>/<repo>/ that makes public repos mechanically visible whether or not maintainers have adopted dotrepo natively

The public overlay index is generated and refreshed through an autonomous, evidence-constrained conveyor. Deterministic parsers run first; unresolved fields may escalate through progressively stronger model tiers; routine generated records do not wait for human review.

Documentation Authority

  • README.md — project overview and shipped capabilities
  • ROADMAP.md — strategy, active execution order, and milestone gates
  • CHANGELOG.md — release history
  • docs/README.md — documentation map
  • RFCs — design records and accepted contracts, not live task lists

When documentation conflicts, prefer current code and contracts, then README.md for shipped behavior and ROADMAP.md for direction.

Commands

All Python tooling in this repository uses uv. Create the repository environment with uv venv, then run Python commands, scripts, and tests with uv run. Never invoke python, python3, pip, or pytest directly, and preserve this convention in documentation, automation, subprocesses, and examples.

uv venv                              # Create the repository Python environment
uv sync --dev                       # Install locked Python development dependencies
cargo fmt --all -- --check          # Format check (CI enforced)
cargo test --workspace              # Run all tests
cargo build -p <crate-name>        # Build specific crate
uv run python scripts/check_release_version.py  # Release-version parity

# CLI
cargo run -p dotrepo-cli -- --root <path> validate
cargo run -p dotrepo-cli -- --root <path> query repo.name
cargo run -p dotrepo-cli -- --root <path> import --mode native
cargo run -p dotrepo-cli -- --root <path> generate --check
cargo run -p dotrepo-cli -- --root <path> trust
cargo run -p dotrepo-cli -- --root <path> doctor
cargo run -p dotrepo-cli -- validate-index
cargo run -p dotrepo-cli -- public export --index-root index --out-dir public --generated-at <time> --stale-after <time>

# MCP server (stdio JSON-RPC)
cargo run -p dotrepo-mcp

# LSP server (stdio JSON-RPC)
cargo run -p dotrepo-lsp

# Public export packaging
uv run python scripts/package_public_export.py --input public --output-dir dist

# Autonomous index batch (local, explicit opt-in)
uv run python scripts/run_autonomous_index_batch.py --skip-automation-enabled-check --output-dir /tmp/dotrepo-autonomous-batch

# Canonical public release gate
uv run python scripts/check_release_gate.py --output-root /tmp/dotrepo-release-gate --skip-vsix

# Python tests
uv run pytest

Read the full file on GitHub · 179 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. 5d ago First seen · 179 lines · 2,834 tokens per session scan A 768056384293

Subscribe to this mod's changes

dotrepo AGENTS.md is an instructions file published in the GitHub repository maxwellsantoro/dotrepo (1 stars, last pushed 27d ago), licensed MIT. It adds 2,834 tokens to every session, about $0.0142 per session on Opus 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-08-31.