claude-plugin-codex AGENTS.md

Repository instructions for claude-plugin-codex, a plugin that lets Codex ask a local Claude Code installation for advice, reviews, checks, or rescue work. They define project scope, required validation commands, and model-selection rules.

In plain words
What is it for?
Use them when developing, validating, or updating the plugin and its Claude Code integration.
Why use it?
They help contributors avoid changing the wrong repository and provide checks for keeping plugin files, versions, and runtime behavior consistent.

Instructions file for CodexOpenCode

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/yanchuk/claude-plugin-codex/agents-md
Clone the repo
git clone --depth 1 https://github.com/yanchuk/claude-plugin-codex

Made for: Codex, OpenCode.

Per session 537 This file is loaded in full into every session.
When invoked 537 The same file — it is already loaded in full.
Security scan A 0 findings. 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 $0.00537 $0.00537
Opus 5 $0.00269 $0.00269
Sonnet 5 $0.00107 $0.00107
Haiku 4.5 $0.00054 $0.00054

Measured 2d ago against content hash c9ce23721413, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-plugin-codex 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 2d 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 · 60 lines

How it starts

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

Agent Instructions

This repo builds claude-plugin-codex, a Codex plugin that lets Codex consult local Claude Code for advice, reviews, adversarial checks, and rescue tasks. Codex remains the orchestrator.

Scope

  • Work only in this standalone repo.
  • Do not modify /Users/yanchuk/Documents/GitHub/skill-arsenal for this project.
  • Do not commit or push unless the latest user instruction explicitly asks for it.
  • Keep plugin metadata public-release ready: .codex-plugin/plugin.json, .agents/plugins/marketplace.json, and README.md should stay consistent.
  • Keep package.json and plugins/claude-code-advisor/.codex-plugin/plugin.json on the same version.

Commands

  • Run npm run validate before claiming the plugin is ready.
  • Run npm run test:smoke after changes that touch Claude CLI invocation, runtime behavior, or install instructions.
  • Run npm run test:e2e:codex after changes that affect Codex plugin routing, skill instructions, or public install behavior.

Claude Model Policy

  • Do not default Claude advisor, review, adversarial-review, rescue, or monitor work to Sonnet.
  • Let Claude Code use the user's configured default model unless the user explicitly asks for another model.
  • Pass xhigh effort for Claude advisor, review, adversarial-review, rescue, and background work unless the user explicitly asks for another effort.
  • Use Sonnet only for junior-agent delegation governed by the tasks-for-sonnet skill, where Sonnet acts as Hands, scout, verifier, or synthesis worker.

Documentation

  • Put public install instructions near the top of README.md.
  • Write README and marketplace copy in plain, direct language.
  • Do not document unsupported Codex plugin manifest fields as real features. $claude is the stable skill command. /claude and /claude:rescue are best-effort aliases only when Codex passes slash-style text through to the skill.

Context7

Use the ctx7 CLI for current documentation when working from docs for a library, framework, SDK, API, CLI tool, or cloud service:

Read the full file on GitHub · 60 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. 2d ago First seen · 60 lines · 537 tokens per session scan A c9ce23721413

Subscribe to this mod's changes

claude-plugin-codex AGENTS.md is an instructions file published in the GitHub repository yanchuk/claude-plugin-codex (18 stars, last pushed 3mo ago), licensed MIT. It adds 537 tokens to every session, about $0.0027 per session on Opus 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.