ares: Instructions file for Codex

AGENTS.md

ares AGENTS.md is an instructions file for Codex, OpenCode from okfriansyah-moh/ares. It costs 1,516 tokens per session, scanned C, original, Apache-2.0.

Repository instructions for ares, describing how project guidance and reusable knowledge are organized in files such as manifest.yaml, instructions, agents, skills, and prompts.

In plain words
What is it for?
Use them when adding or updating repository instructions, agent roles, skills, prompts, or the project manifest.
Why use it?
They give contributors a shared structure for finding the source of truth and keeping repository guidance consistent.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions subagents; reads ~/.codex paths.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/okfriansyah-moh/ares/agents-md"><img src="https://agentmods.dev/badge/instructions/okfriansyah-moh/ares/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,516 This file is loaded in full into every session.
When invoked 1,516 The same file — it is already loaded in full.
Security scan C 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.01516 $0.01516
Opus 5.5 $0.00606 $0.00606
Sonnet 5.5 $0.00303 $0.00303
Haiku 4.5 $0.00152 $0.00152

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

Security

Grade C, and why

ares AGENTS.md scanned grade C 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- ars:source .ai/instructions/architecture.md -->
AGENTS.md · 192 lines

How it starts

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

ares

Repository Instructions

Repository Knowledge Architecture

Purpose

Define the structure and ownership model of .ai/. See mission.md for the problem statement, product scope, and portability rationale.

Principles

  • Markdown is the source of truth. manifest.yaml is the only required configuration file.
  • Prefer convention over configuration. Choose obvious file names and locations over extra metadata.
  • Keep file count low and information density high.
  • A single opened file should explain its topic without requiring a chain of lookups.

Structure

  • manifest.yaml stores minimal repository identity and defaults.
  • instructions/ holds repository-wide guidance.
  • agents/<name>/AGENT.md defines a thin role and points to the skills it uses.
  • skills/<name>/SKILL.md is the authoritative source for reusable knowledge.
  • prompts/ contains reusable prompts that invoke skills without duplicating them.

Ownership

  • instructions/ own repository-level rules and ARES-specific guidance.
  • agents/ own role boundaries and skill references.
  • skills/ own reusable methods, checklists, and output expectations.
  • prompts/ own reusable request templates.

Change Rules

  • Put durable knowledge in the narrowest file that owns it.
  • Prefer updating an existing file over creating a new one.
  • Add references/ under a skill only when it removes real duplication.
  • Keep agents thin, skills universal, and prompts reusable.

Contribution Guidelines

How To Change .ai/

  1. Find the file that already owns the knowledge.
  2. Update that file directly.
  3. Prefer refining existing guidance over adding new files.
  4. Keep the result concise enough to scan quickly.

Ownership Rules

  • instructions/mission.md owns ARES-specific purpose, scope, and portability rationale.
  • instructions/architecture.md owns .ai/ structure and file ownership.
  • instructions/ owns repository-wide rules.
  • skills/ own reusable methods, checklists, and output expectations.
  • agents/ define roles, boundaries, and skill references.
  • prompts/ provide reusable request templates and should stay lean.

Read the full file on GitHub · 192 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 · 192 lines · 1,516 tokens per session scan C 1963b69d7209

Subscribe to this mod's changes

ares AGENTS.md is an instructions file published in the GitHub repository okfriansyah-moh/ares (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 1,516 tokens to every session, about $0.0061 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.