codex-third-party-subagents: Instructions file for Codex

AGENTS.md

codex-third-party-subagents AGENTS.md is an instructions file for Codex, OpenCode from dhy365-creator/codex-third-party-subagents. It costs 518 tokens per session, scanned A, original, MIT.

A repository guide for Codex Third-Party Subagents, an unofficial macOS tool for routing requests between AI providers. It defines the project's scope and rules for agents working on it.

In plain words
What is it for?
It helps agents make changes, validate code, handle routing rules, and work within the repository's Node.js and macOS constraints.
Why use it?
It gives coding agents the project context and safety limits they need, such as protecting secrets, keeping dry-run as the default, and not running provider setup scripts.

Instructions file for CodexOpenCode

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

This is dhy365-creator/codex-third-party-subagents's own configuration. It tells Codex and OpenCode how to work on codex-third-party-subagents 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-third-party-subagents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dhy365-creator/codex-third-party-subagents. 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/dhy365-creator/codex-third-party-subagents/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/dhy365-creator/codex-third-party-subagents

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-third-party-subagents AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dhy365-creator/codex-third-party-subagents/agents-md"><img src="https://agentmods.dev/badge/instructions/dhy365-creator/codex-third-party-subagents/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 518 This file is loaded in full into every session.
When invoked 518 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.00518 $0.00518
Opus 5.5 $0.00207 $0.00207
Sonnet 5.5 $0.00104 $0.00104
Haiku 4.5 $0.00052 $0.00052

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

Security

Grade A, and why

codex-third-party-subagents 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 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.

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

How it starts

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

AGENTS.md

Project scope

  • Unofficial, macOS-only public beta for Codex Third-Party Subagents (codex-third-party-subagents): a provider-pack-based Codex Desktop fallback routing stack.
  • Text, code, research synthesis, and local validation only. No image, audio, video, desktop, or browser handling. DeepSeek V4 Pro is explicit-only: never auto-route to it or broaden its controlled maintainer runtime evidence into a public-installer, independent-user, or general support claim.
  • Node.js >=20, standard library only. No third-party runtime dependencies.

Rules for agents working here

  • Do not hardcode, commit, or log secrets. API keys live in the macOS Keychain and are read at runtime only.
  • Do not execute any official provider setup script. Catalog data is retrieved at install time as inert text (documented, never executed) with a local catalog-source override; do not vendor official catalog or prompt files.
  • CLI changes must keep dry-run as the default; writes require an explicit --apply.
  • Custom Agent identity comes from the official TOML name field in ~/.codex/agents; routing policy must not be documented as Host registration.
  • The task bridge allows exactly one active provider task. Active slot and task file are owner-only (0700 / 0600), reject symlinks, and are atomically archived to completed-* or failed-*. Never overwrite or delete archives.
  • Desktop preflight is a policy-assisted guardrail, not guaranteed native automatic interception. Document it as defense-in-depth.
  • Preserve unrelated local changes. Make minimal, scoped diffs.
  • Keep files small: JS/TS under 300 lines, docs concise.
  • Update docs/current-state.md and docs/tasks.md on durable changes. Documented capabilities must match the implementation.
  • GitHub Actions workflows must use read-only permissions and no secrets.

Layout

  • src/, scripts/, tests/ — implementation and generated-file templates.
  • docs/ — architecture, configuration (中文), troubleshooting, state, tasks.
  • .github/workflows/test.yml — read-only test workflow.

Read the full file on GitHub · 46 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 · 46 lines · 518 tokens per session scan A d4644e2d5c6b

Subscribe to this mod's changes

codex-third-party-subagents AGENTS.md is an instructions file published in the GitHub repository dhy365-creator/codex-third-party-subagents (15 stars, last pushed 2mo ago), licensed MIT. It adds 518 tokens to every session, about $0.0021 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

codex-third-party-subagents AGENTS.md compared with instructions from other repositories

codex-third-party-subagents AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-third-party-subagents AGENTS.mddhy365-creator/codex-third-party-subagentsInstructions file152mo agoMITA518Codex, 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