adg AGENTS.md

adg AGENTS.md is an instructions file for Codex, OpenCode from RbBtSn0w/adg. It costs 801 tokens per session, scanned A, original, MIT.

Repository instructions for adg, covering how contributors create branches, commits, pull requests, and releases.

In plain words
What is it for?
Use them when contributing code, preparing commits, opening pull requests, or working with the project's release process.
Why use it?
They explain the project's rules so changes target the right branch and pass the expected checks before review.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rbbtsn0w/adg/agents-md.svg)](https://agentmods.dev/instructions/rbbtsn0w/adg/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/rbbtsn0w/adg/agents-md"><img src="https://agentmods.dev/badge/instructions/rbbtsn0w/adg/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 801 This file is loaded in full into every session.
When invoked 801 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 $0.00801 $0.00801
Opus 5 $0.00400 $0.00400
Sonnet 5 $0.00160 $0.00160
Haiku 4.5 $0.00080 $0.00080

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

Security

Grade A, and why

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

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 · 61 lines

How it starts

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

AGENTS.md

Guidance for AI agents (and humans) contributing to this repository. See CONTRIBUTING.md and docs/branching-and-release.md for the full process.

See docs/agents-spec.md for the canonical authoring and projection model and docs/hooks-strategy.md for the standards-first adapter philosophy.

Branch & PR rules

  • All pull requests must target the beta branch. Never open a PR against main. main is reserved for stable releases and is updated only by a maintainer release PR from beta.
  • Never push directly to main or beta. Both are protected; all changes land via PR + review + passing CI.
  • Branch off beta for new work: git switch beta && git pull && git switch -c <type>/<short-desc>.
  • The CI check Validate base branch fails any PR whose base is not beta (the only exception is the maintainer release PR beta → main).

Commit messages

  • Use Conventional Commits. The version bump, CHANGELOG.md, and GitHub Release notes are derived from them by semantic-release.
  • Type → release notes section: feat:Added, fix:/revert:Fixed, refactor:/perf:Changed. chore:/test:/build:/ci:/ style: are hidden from the notes.
  • Mark breaking changes with ! or a BREAKING CHANGE: footer.

Local checks before opening a PR

npm ci
npm run typecheck
npm run build
npm test

Telemetry

  • OpenTelemetry (OTel): For every new feature or requirement added, ensure you implement corresponding OpenTelemetry instrumentation (spans, events, or metrics) to maintain observability.
  • OTel CLI Compliance: All CLI programs and external subprocess wrappers must strictly follow the official Semantic conventions for CLI programs:
    • Use SpanKind.INTERNAL for the CLI's own execution (callee spans) and SpanKind.CLIENT for subprocess calls (caller spans).
    • Span names must default to {process.executable.name} (e.g. "git", "claude") or documented low-cardinality values.
    • Correctly record all Required attributes: process.executable.name and process.exit.code.
    • Record process.pid when available (Recommended).
    • Correctly record error.type on failure spans (when process.exit.code !== 0) as Conditionally Required.
    • Do NOT collect process.executable.path — it is always PII and provides no analytical value after sanitization.
  • Telemetry Privacy: All telemetry data must comply with privacy standards—never log raw file paths, personally identifiable information (PII), or user secrets/tokens. Sanitization (e.g., sanitizeArgs()) is mandatory before collecting process.command_args.

Read the full file on GitHub · 61 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 · 61 lines · 801 tokens per session scan A 1a4a3cbe2b41

Subscribe to this mod's changes

adg AGENTS.md is an instructions file published in the GitHub repository RbBtSn0w/adg (3 stars, last pushed 1mo ago), licensed MIT. It adds 801 tokens to every session, about $0.0040 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.