ares 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; 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/okfriansyah-moh/ares/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.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.svg" alt="Measured on agentmods" 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. 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.01516 $0.01516
Opus 5 $0.00758 $0.00758
Sonnet 5 $0.00303 $0.00303
Haiku 4.5 $0.00152 $0.00152

Measured 5d ago against content hash 1963b69d7209, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

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. 5d 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 2mo ago), licensed Apache-2.0. It adds 1,516 tokens to every session, about $0.0076 per session on Opus 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.