oneringai: Instructions file for Codex

AGENTS.md

oneringai AGENTS.md is an instructions file for Codex, OpenCode from aantich/oneringai. It costs 13,553 tokens per session, scanned A, original, MIT.

Repository instructions for coding agents that use or change the OneRingAI TypeScript package. They explain how to choose the right working mode and use the package's documented public interface.

In plain words
What is it for?
Use them when adding OneRingAI as a dependency or modifying its source repository, especially before writing or reviewing TypeScript code.
Why use it?
They prevent agents from guessing API names, importing private files, or using the wrong integration approach.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aantich/oneringai/agents-md"><img src="https://agentmods.dev/badge/instructions/aantich/oneringai/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13,553 This file is loaded in full into every session.
When invoked 13,553 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.13553 $0.13553
Opus 5.5 $0.05421 $0.05421
Sonnet 5.5 $0.02711 $0.02711
Haiku 4.5 $0.01355 $0.01355

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

Security

Grade A, and why

oneringai 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 3d 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 · 1,156 lines

How it starts

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

OneRingAI Agent Guide

Consumer C5's explicitly selected collections-v1 API is documented in whole collection pages. Use source/account registration and actual selected identity filters before run/session loading. Returned count, provider pagination end and corpus coverage are independent; cursor keys survive catalog/rollover/scopes but not new managers/processes/clear. Evidence is separately opt-in. Keep execution-v1's C4 static semantics unchanged. The capacity inventory distinguishes source, prompt, parser, storage and work bounds; do not raise them indiscriminately.

Consumer C4 is complete on branch under the full sequential authorization. Use ConnectorTools.enhanced(name, { profile: 'execution-v1' }) explicitly and follow the recipe for exact static identity/source/account registration and host approvals. Legacy factories/defaults remain unchanged; catalog/page support is C5. Delivery records review fixes and validation. Continue the ledger without a routine selection stop; this is not a release or consumer upgrade.

This is the canonical, vendor-neutral guide for coding agents that use or modify oneringai. It is written for OpenAI Codex, Claude Code, custom coding agents, and humans delegating integration work to them.

Read this file before generating OneRingAI code. For exhaustive detail, follow the documentation links near the end instead of guessing an API.

Fast facts

  • Package: oneringai
  • Runtime: Node.js 22.13+ or 24+
  • Language: strict TypeScript
  • Package format: ESM with ESM and CJS build outputs
  • Public API: import from oneringai unless a documented subpath is explicitly required
  • Architecture: connector-first, plugin-first context, one shared tool manager

Determine your operating mode

Using OneRingAI as a dependency

  • Import only from the package's public exports.
  • Do not import src/**, dist/**, or undocumented implementation paths.
  • Read the installed package's README.md, AGENTS.md, USER_GUIDE.md, and API_REFERENCE.md when they are available under node_modules/oneringai/.
  • Prefer runnable patterns from examples/ in the repository over invented method names or provider-specific SDK calls.

Read the full file on GitHub · 1,156 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. 3d ago Changed · +663 lines · +9,439 tokens per session ae487c479446
  2. 1mo ago Changed 2fff1ff55110
  3. 2mo ago Changed 4b37c8ee35fa
  4. 2mo ago Changed ed3d2eb7a78c
  5. 2mo ago First seen · 493 lines · 4,114 tokens per session scan A 9c3e5bd2fa12

Subscribe to this mod's changes

oneringai AGENTS.md is an instructions file published in the GitHub repository aantich/oneringai (73 stars, last pushed 4d ago), licensed MIT. It adds 13,553 tokens to every session, about $0.0542 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-08-30.

Related

oneringai AGENTS.md compared with instructions from other repositories

oneringai AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oneringai AGENTS.mdaantich/oneringaiInstructions file734d agoMITA13,553Codex, 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