agent-tools: Instructions file for Codex

AGENTS.md

agent-tools AGENTS.md is an instructions file for Codex, OpenCode from adadiamonds/agent-tools. It costs 1,026 tokens per session, scanned B, original, MIT.

A repository guide for AI coding agents working on the Ada Diamonds plugin, a package that connects agents to Ada Diamonds' services.

In plain words
What is it for?
Use it when editing the plugin, working with its shopping, API, MCP connection, or checkout instructions, or validating changes before committing.
Why use it?
It explains the repository's files, available skills, service connections, and validation rules so agents can make appropriate changes.

Instructions file for CodexOpenCode

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

This is adadiamonds/agent-tools's own configuration. It tells Codex and OpenCode how to work on agent-tools 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 agent-tools configures →

Reuse

Borrowing it

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

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 agent-tools AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/adadiamonds/agent-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/adadiamonds/agent-tools/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,026 This file is loaded in full into every session.
When invoked 1,026 The same file — it is already loaded in full.
Security scan B 1 finding. 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.01026 $0.01026
Opus 5.5 $0.00410 $0.00410
Sonnet 5.5 $0.00205 $0.00205
Haiku 4.5 $0.00103 $0.00103

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

Security

Grade B, and why

agent-tools AGENTS.md scanned grade B 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 2mo 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 MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

- `mcp.json` servers must have `type` and an absolute `https` `url` (for `streamable-http` / `sse`); no secrets in headers.
AGENTS.md · 55 lines

How it starts

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

AGENTS.md

Guidance for AI coding agents working in this repository.

What this repository is

adadiamonds/agent-tools is the official, public Ada Diamonds plugin for AI agents. It contains no application code. It is:

  • plugin.json: an Agent Plugins 1.0.0 manifest.
  • mcp.json: the two Ada Diamonds MCP servers (ada-diamonds at https://www.adadiamonds.com/mcp, ada-diamonds-docs at https://www.adadiamonds.com/mcp/docs), Streamable HTTP, anonymous.
  • skills/<name>/SKILL.md: four Agent Skills:
    • ada-diamonds-shopping: search the catalog and quote a complete ring (setting plus loose diamond, USD).
    • ada-diamonds-api: the public REST API reference (endpoints, auth, scopes, sandbox key, rate limits, errors, versioning).
    • ada-diamonds-mcp: connecting to and using the MCP servers from Claude Code, Claude Desktop, Cursor, ChatGPT, or any client.
    • ada-diamonds-commerce: agentic checkout (ACP checkout sessions, product feed, UCP discovery, sandbox vs live, webhooks).
  • scripts/validate.mjs: the test suite. Plain Node, no dependencies.

The live source of truth for every fact in the skills is https://www.adadiamonds.com/developers (also served as markdown with Accept: text/markdown), https://www.adadiamonds.com/openapi.json, and https://www.adadiamonds.com/agents.md. When a skill and the live docs disagree, the live docs win; fix the skill.

How to use the skills here

Consumers install them with npx skills add adadiamonds/agent-tools (see README). Inside this repo, when you are asked a question about Ada Diamonds' API or checkout, read the relevant SKILL.md before answering; do not answer from memory.

Editing rules

  • Keep every fact consistent with the live docs above. Do not invent endpoints, parameters, scopes, or prices.
  • Prices in every example are US dollars as decimals, never cents.
  • An engagement ring is a setting plus a loose diamond, priced separately. Every example that quotes a ring must show both numbers and the sum.
  • Frontmatter: name must equal the directory name; description non-empty and at most 1024 characters, written as "what it does and when to use it"; keep license: MIT and metadata.homepage. Single-line values only (no YAML block scalars).
  • Keep each SKILL.md under 500 lines. Long tables go in references/ inside the same skill directory and are linked relatively.
  • Only the keys allowed by the Agent Plugins closed schema may appear in plugin.json ($schema, name, version, description, author, homepage, repository, license, keywords, extensions). Skills and MCP servers are never declared inline in plugin.json.
  • mcp.json servers must have type and an absolute https url (for streamable-http / sse); no secrets in headers.
  • Prose style: no em dashes; use commas, periods, or parentheses.
  • Bump version in plugin.json and add a line to CHANGELOG.md for any user-visible change.

Read the full file on GitHub · 55 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. 2mo ago First seen · 55 lines · 1,026 tokens per session scan B 457e4dc0e18f

Subscribe to this mod's changes

agent-tools AGENTS.md is an instructions file published in the GitHub repository adadiamonds/agent-tools (2 stars, last pushed 2mo ago), licensed MIT. It adds 1,026 tokens to every session, about $0.0041 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

agent-tools AGENTS.md compared with instructions from other repositories

agent-tools AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-tools AGENTS.mdadadiamonds/agent-toolsInstructions file22mo agoMITB1,026Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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