codex-cortex-orchestrator: Instructions file for Codex

AGENTS.md

codex-cortex-orchestrator AGENTS.md is an instructions file for Codex, OpenCode from igovet/codex-cortex-orchestrator. It costs 2,576 tokens per session, scanned A, original, MIT.

Repository instructions for developing the Cortex orchestration project. They describe its development policy, local workflow, diagnostics, and required follow-up work.

In plain words
What is it for?
Guiding work on the Cortex repository, including local development, diagnostics, testing expectations, and orchestration-related changes.
Why use it?
They clarify which project files define runtime behavior and when Cortex should or should not be activated.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; runs codex exec; mentions Codex.

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

Reuse

Borrowing it

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

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-cortex-orchestrator AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/igovet/codex-cortex-orchestrator/agents-md"><img src="https://agentmods.dev/badge/instructions/igovet/codex-cortex-orchestrator/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,576 This file is loaded in full into every session.
When invoked 2,576 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.02576 $0.02576
Opus 5.5 $0.01030 $0.01030
Sonnet 5.5 $0.00515 $0.00515
Haiku 4.5 $0.00258 $0.00258

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

Security

Grade A, and why

codex-cortex-orchestrator 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 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.

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 · 183 lines

How it starts

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

Cortex repository development

Use python3. Runtime behavior belongs entirely below plugins/cortex/. Do not activate orchestration merely because this repository is named Cortex; only an explicit user selection activates the bundled orchestrator skill.

The server stores tasks, advisory governance and Markdown reports. The model owns the pipeline, native subagents, steering, evidence interpretation and completion. Keep tool argument contracts in the advertised schemas and property descriptions only, never in skills or profile instructions. Preserve all 22 specialist profiles and their shared report protocol. Do not introduce compatibility routes, mandatory stages or approval machines. Lifecycle hooks may perform short local source-memory, observation and exact registered-file integrity work; they never choose agents or decide task acceptance.

Throughout design, implementation, qualification, and live work, use only capabilities that are actually supported and observable in the currently installed Codex and host version. Before relying on a capability, verify that it exists in that current host. Do not require hypothetical or future host APIs, typed contexts, receipts, hooks, enforcement, models, tools, or transports. If a needed capability is absent, redesign within current-host mechanisms or report the work genuinely impossible; do not wait for or request a new host, synthesize evidence, claim host_enforced, or mark an attempt ACCEPT. Tests and acceptance scenarios must themselves be executable on the currently installed Codex. These constraints do not relax the CLI-before-Desktop rule below.

For the explicit current-host observational qualification mode, the absence of a signal the installed host cannot emit is not_applicable or a retained diagnostic, never by itself a BLOCK: this includes bootstrap attestation, assignment-policy/skill-load receipts, a separate server event, and a process self-exit marker. observational_accept still requires complete, non-truncated capture/calls/events/audit plus one exact successful public task binding, one completed native worker, one task-bound worker report, and exact coordinator artifact reconciliation. BLOCK only for an actual task failure; pending or incomplete work; malformed, mismatched, ambiguous, replayed, or truncated evidence; artifact/check failure; or observed unsafe private/project mutation. When the installed host omits a public task ID or native-result body, the outcome may use only one expected root, one parent-bound native worker/report, and one exact non-replayed artifact reconciliation as opaque observational binding; missing, duplicate, or mismatched links remain BLOCK. For an interactive CLI without a self-exit marker, verified idle composer, empty owned sessions, completed native outcome, and exact owned cleanup receipt are the alternative terminal proof. This is not host enforcement and must retain host_enforcement_state=unverified. In that same mode, a redundant worker-final report-ID omission is diagnostic when exactly one task/parent/profile-correlated worker publication and coordinator artifact reconciliation prove the report identity. One completed, non-mutating read_report invalid_arguments lookup is likewise diagnostic when the valid publication and reconciliation are independently present. Neither exception permits missing/ambiguous publication, a failed write, a mismatch, replay or truncation, mutation, or an unsafe/private target. One or more exact-equivalent denied-before-dispatch errors from the bounded registered worker SKILL.md read are diagnostics only after that same complete outcome proof. They must share worker/profile/manifest-bound static-read identity; any differing, replayed, private/project, mutating, dispatched, truncated, or ambiguous read remains blocking and none credits a skill receipt. The current interactive transport may use exactly one literal bash -lc envelope around that read; the observer must revalidate its sole payload against the same closed static-read grammar. Nested shells, extra commands, paths other than the registered leaf, directories, globs, and every write remain forbidden access. In current_host_mcp_first only, worker_assignment_policy_unverified and mcp_first_bootstrap_unverified are always printed unsupported_by_current_host, not_applicable diagnostics. The installed host cannot emit those attestations; they never become integrity invalidators or hard blockers, grant no acceptance evidence or score, and retain host_enforcement_state=unverified. All supported observable outcome, safety, completion, artifact, replay, truncation, ambiguity, pending/open, and mutation requirements remain fail-closed. The final current-host audit boundary reapplies this exact two-label rule after all parser and classifier contributions, so an earlier representation cannot reintroduce either unavailable attestation as an invalidator. It changes no other policy row or supported-evidence requirement. Generic pre_binding_host_action is never demoted by the outcome partition because it has no strict actor/profile/path proof and may describe an unsafe dispatch. The only coordinator setup exception is an observer-proven, manifest-bound, bounded, read-only literal skills/orchestrator/SKILL.md or its declared instruction-reference read with its active-skill marker and exact installed-candidate identity; the same exact read-only proof covers its bundled communication, tool-discipline, content-safety and recovery companions. Up to four literal instruction leaves may be read in one bounded shell command; no arbitrary skill or cache path qualifies. the separate registered-worker static-SKILL predicate can retain independently complete, read-only denied records as diagnostics. Neither exception admits a directory, glob, different skill, unknown provenance, private/project target, mutation, dispatch, truncation, replay, or ambiguity. They remain printed and do not waive any task/report/artifact/pending failure or any other policy label; outside that mode normal policy handling applies. The current-host audit exits 0 only when it prints observational_accept with valid evidence and every remaining finding is an explicit retained diagnostic or not-applicable signal. It exits 1 for every hard failure, policy row, pending or open state, mismatch, mutation, truncation, ambiguity, replay, or missing outcome proof; diagnostics remain printed in either case.

Read the full file on GitHub · 183 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 · +101 lines · +1,497 tokens per session 0775214e048d
  2. 1mo ago Changed 2c8ed2dacbf7
  3. 1mo ago Changed · +7 lines · +77 tokens per session f21fabffd116
  4. 1mo ago Changed · -62 lines · -2,419 tokens per session b6add5e1c622
  5. 1mo ago Changed · +23 lines · +519 tokens per session e3627802f1b8
  6. 1mo ago First seen · 114 lines · 2,902 tokens per session scan A 1c409a4ef18d

Subscribe to this mod's changes

codex-cortex-orchestrator AGENTS.md is an instructions file published in the GitHub repository igovet/codex-cortex-orchestrator (2 stars, last pushed 4d ago), licensed MIT. It adds 2,576 tokens to every session, about $0.0103 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-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens