codex-agy-worker: Instructions file for Codex

AGENTS.md

codex-agy-worker AGENTS.md is an instructions file for Codex, OpenCode from cagdasyurekli/codex-agy-worker. It costs 3,316 tokens per session, scanned C, original, MIT.

A project instruction file for codex-agy-worker, an add-on that lets Codex use the Antigravity CLI to explore projects and carry out bounded or large implementation tasks.

In plain words
What is it for?
It helps guide repository inspection, implementation, quality checks, verification, and ownership of project files.
Why use it?
It gives the worker rules for choosing a workflow, checking changes, running project checks, repairing visible failures, and reporting whether the work was verified or blocked.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 codex-agy-worker AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cagdasyurekli/codex-agy-worker/agents-md"><img src="https://agentmods.dev/badge/instructions/cagdasyurekli/codex-agy-worker/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,316 This file is loaded in full into every session.
When invoked 3,316 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.03316 $0.03316
Opus 5.5 $0.01326 $0.01326
Sonnet 5.5 $0.00663 $0.00663
Haiku 4.5 $0.00332 $0.00332

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

Security

Grade C, and why

codex-agy-worker 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 1mo 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

Do not refuse a task merely because its final file list, architecture, or test command
AGENTS.md · 243 lines

How it starts

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

AGENTS.md — codex-agy-worker

Product purpose

agy-worker lets Codex use Antigravity CLI (agy) for broad exploration, bounded tasks, and project-scale implementation. Optimize for a useful working result:

  1. Dispatch the workflow that matches the user's intent. Normal use delegates substantial exploration and implementation to AGY before Codex duplicates it. Codex reads only scope and authority necessities, then spot-checks material findings and reviews the actual diff.
  2. Have Codex inspect the diff and run driver-owned checks. Worker envelopes are not evidence. Existing self-verification is optional advisory feedback when a focused command is known; an unknown first command or architecture does not prohibit useful delegation. Keep final Codex independent acceptance.
  3. Continue the same conversation to repair observable failures within the job budget. Failed product checks return concrete sanitized feedback to the same AGY conversation for bounded repair; do not allow silent direct-Codex fallback after provider failure or exhausted budget. Use initial --allow-scoped-repair for approved multi-turn scoped work.
  4. Deliver a transparent verified, partially_verified, or blocked outcome. Preserve Goal as an ordinary-use opt-in, not a prerequisite.

Do not refuse a task merely because its final file list, architecture, or test command is not known before dispatch. Do not require a persona for broad exploration. Personas are optional prompt specializations, not capability or approval gates. A broad report is useful but is never an exhaustive-security or completeness claim.

Start with this file and task-relevant source. Use rg to open only the relevant row in docs/REPO_MAP.md or heading in docs/lessons_learned.md; do not preload the full README, repository map, lessons, roadmap, or test history. Read README.md only when the task changes or verifies user-facing behavior or claims.

Before substantial work, check the branch, dirty state, and freshness against a recently fetched main. Preserve a dirty checkout and work from a clean isolated worktree. If fetching is unavailable, report freshness as unknown. For candidate binding drift, diagnose ignored caches without excluding them from the binding.

Read the full file on GitHub · 243 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. 1mo ago Changed · +4 lines · +49 tokens per session 11682fa70058
  2. 1mo ago Changed · +1 lines · +36 tokens per session 4972c2745df8
  3. 1mo ago Changed · +19 lines · +275 tokens per session a1c0f431cfef
  4. 2mo ago Changed · +29 lines · +360 tokens per session cf1ca6241886
  5. 2mo ago First seen · 190 lines · 2,596 tokens per session scan C bd98edf05673

Subscribe to this mod's changes

codex-agy-worker AGENTS.md is an instructions file published in the GitHub repository cagdasyurekli/codex-agy-worker (3 stars, last pushed 1mo ago), licensed MIT. It adds 3,316 tokens to every session, about $0.0133 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

codex-agy-worker AGENTS.md compared with instructions from other repositories

codex-agy-worker AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-agy-worker AGENTS.mdcagdasyurekli/codex-agy-workerInstructions file31mo agoMITC3,316Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot