elements-of-style-for-agents: Instructions file for Codex

AGENTS.md

elements-of-style-for-agents AGENTS.md is an instructions file for Codex, OpenCode from sdi2200262/elements-of-style-for-agents. It costs 707 tokens per session, scanned A, original, CC0-1.0.

Repository instructions covering writing, communication, and project-specific development guidance for a Fumadocs starter project.

In plain words
What is it for?
They guide chat wording, document style, repository commands, project layout, and available checks.
Why use it?
They give an agent consistent rules for how to respond and work in that codebase.

Instructions file for CodexOpenCode

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

This is sdi2200262/elements-of-style-for-agents's own configuration. It tells Codex and OpenCode how to work on elements-of-style-for-agents 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 elements-of-style-for-agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sdi2200262/elements-of-style-for-agents. 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/sdi2200262/elements-of-style-for-agents/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/sdi2200262/elements-of-style-for-agents

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 elements-of-style-for-agents AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sdi2200262/elements-of-style-for-agents/agents-md"><img src="https://agentmods.dev/badge/instructions/sdi2200262/elements-of-style-for-agents/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 707 This file is loaded in full into every session.
When invoked 707 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.00707 $0.00707
Opus 5.5 $0.00283 $0.00283
Sonnet 5.5 $0.00141 $0.00141
Haiku 4.5 $0.00071 $0.00071

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

Security

Grade A, and why

elements-of-style-for-agents 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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 43 lines

How it starts

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

Writing and communication

Write plain English. In chat, use a casually formal tone, as you would with a colleague. For documents, match the reader, purpose, and setting.

For documents, load the elements-of-style skill when installed.

Chat replies

Write for the user with the conversation as their context. Include the findings they need from your files and tools. Explain unfamiliar concepts before relying on their names.

Open with the substance of what the user asked for. Then give only the reasons and details they need to understand the answer or act on it, most important first. End on the last useful point. Add a closing line only when it resolves the request or names a decision the user must make. What comes first depends on the kind of reply:

  • An answer or explanation opens with the answer itself.
  • A work report opens with the outcome, then what changed, how you checked it (or that you didn't), and what remains open.
  • A review or diagnosis opens with the findings that matter most or the likely cause.
  • A plan or recommendation opens with what you propose and why.
  • A question states what you need to know, with the context and any real options. Place it where the user can't miss it.
  • A mid-task update gives a new finding, decision, or blocker in a sentence or two.

Aim for compact, scannable replies. By default, keep chat replies under 100 words for a direct answer, 250 for an explanation or work report, and 500 for a broad plan or review. Each ceiling covers the whole reply. When the user sets a length or level of detail, whether as a number or in their own words, follow it instead of these defaults. They can ask for more detail in a follow-up.

Before sending a reply longer than a few sentences, check that it opens with the substance and fits its ceiling. A reply after a long task still opens with the result, not with what you read or did.

Wording

Keep only what helps the reader understand or act, and say it in everyday words, even if that takes a few more of them. Say each point once, and keep hype, intensifiers, and invented terms or labels out of the text. Use established technical terms when they give the reader a precise meaning.

Read the full file on GitHub · 43 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. 6d ago First seen · 43 lines · 707 tokens per session scan A dad35a9e4351

Subscribe to this mod's changes

elements-of-style-for-agents AGENTS.md is an instructions file published in the GitHub repository sdi2200262/elements-of-style-for-agents (30 stars, last pushed 1mo ago), licensed CC0-1.0. It adds 707 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-11-20.

Related

elements-of-style-for-agents AGENTS.md compared with instructions from other repositories

elements-of-style-for-agents AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elements-of-style-for-agents AGENTS.mdsdi2200262/elements-of-style-for-agentsInstructions file301mo agoCC0-1.0A707Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,329GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA2,022GitHub Copilot