cc-multi-cli-plugin: Instructions file for Codex

AGENTS.md

cc-multi-cli-plugin AGENTS.md is an instructions file for Codex, OpenCode from greenpolo/cc-multi-cli-plugin. It costs 2,835 tokens per session, scanned C, original, Apache-2.0.

Repository instructions for AI coding agents working on a Claude Code plugin that delegates coding work to other command-line AI tools.

In plain words
What is it for?
Use them when modifying, reviewing, building, or testing this plugin and its forwarding commands.
Why use it?
They explain the project’s structure, delegation rules, and expected testing process so agents make changes consistently.

Instructions file for CodexOpenCode

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

This is greenpolo/cc-multi-cli-plugin's own configuration. It tells Codex and OpenCode how to work on cc-multi-cli-plugin 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 cc-multi-cli-plugin configures →

Reuse

Borrowing it

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

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 cc-multi-cli-plugin AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/greenpolo/cc-multi-cli-plugin/agents-md"><img src="https://agentmods.dev/badge/instructions/greenpolo/cc-multi-cli-plugin/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,835 This file is loaded in full into every session.
When invoked 2,835 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.02835 $0.02835
Opus 5.5 $0.01134 $0.01134
Sonnet 5.5 $0.00567 $0.00567
Haiku 4.5 $0.00283 $0.00283

Measured yesterday against content hash 90c602e5706f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

cc-multi-cli-plugin 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 yesterday.

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.

- Never refuse a native run over its permission mode or a Claude setting the harness
AGENTS.md · 133 lines

How it starts

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

Contributor guide

Orientation

Read ARCHITECTURE.md and README.md first. Setup and provider details live in docs/installation.md, docs/openai.md, docs/cursor.md, docs/zen.md, docs/antigravity.md, docs/grok.md, docs/permissions.md, and docs/platform-support.md. Claude Code function-hook UI and extensibility rules live in docs/claude-mods.md. .agent/ is gitignored scratch space. It is never authoritative.

Code map

Path Responsibility
plugins/multi-<name>/provider.json A provider's manifest: name, label, kind (direct or harness), order, and usage text. Core reads these and names no provider.
plugins/multi-<name>/src/adapter.ts A provider's adapter: sign-in, models, runtime, launcher flags, and account verb, loaded by core through gateway/providers/adapter.ts.
plugins/multi-core/src/kit/ The only files provider folders import core through: adapter.ts (adapter contract, request types, permission readers; kept light for Antigravity's per-tool-call hook), util.ts (Node-only helpers), direct.ts (direct-provider translation), harness.ts (shared harness runtime).
plugins/multi-core/src/launcher.ts, serve.ts, launch/ Launches the gateway and Claude Code (launcher.ts), or the gateway alone for a desktop app session the mod serves (serve.ts). launch/ holds the shared gateway start (gateway.ts), the provider connection (providers.ts), the /model picker (picker.ts), the worker model catalog (workers.ts), the Claude executable probes (claude.ts), the session environment (environment.ts), the desktop handshake and picker rows (desktop.ts), the installed front-door certificate (certificate.ts), and the nested-claude environment restore (nested-env.ts).
plugins/multi-core/src/gateway/server/ Routes requests and manages sessions (server.ts, which alone finalises served replies and terminal events); request admission and identity (request.ts); replies and failures (reply.ts); Anthropic passthrough (anthropic.ts); the front door as Claude Code's HTTPS proxy, so Remote Control stays on (front-door.ts, self-signed.ts, with launch/front-door.ts); shared protocol types (messages.ts); and the core verdict contract (verdicts.ts: Plan checks, no model calls).
plugins/multi-core/src/gateway/mod/ Claude Mods control-plane routes (routes.ts, bridge.ts), the per-session mod key (keys.ts), native action display rows (display-rows.ts), receipts, and usage (usage.ts, provider-usage.ts).
plugins/multi-core/src/gateway/providers/ The provider table read from the manifests (provider.ts: providerOf); nativeSpelling (spelling.ts); the adapter contract and loader (adapter.ts); Claude Code's agent definitions and the models any of them can run on (agent-definitions.ts, worker-catalog.ts, worker-models.ts); one permission record per session (mode-hook.ts); and what a native run takes from Claude's settings (harness-settings.ts: readHarnessSettings, mergePermissions, nativeMode, nativeRules).
plugins/multi-core/src/gateway/direct/ The contract through which direct providers build their own requests (request.ts), Responses translation and SSE reader (responses.ts), conversation normalization, tool aliases, and token estimates.
plugins/multi-core/src/gateway/harness/ Shared by Cursor, Antigravity and Grok: the harness contract (native-harness.ts), session store, exchange registry, response builder, completion, notices, hand-back, and failure classifier; and, for Antigravity and Grok, the CLI harness base (cli.ts), process runner (process.ts), and text prompt preparation.
plugins/multi-core/src/gateway/util/ No Multi logic: executables and child processes, atomic writes, the state lock, bounded maps, outbound fetch, settleOrAbort, and the isRecord guard. install/ copies executable.ts and process-tree.ts beside the installed bootstrap.
plugins/multi-core/hooks/ Claude Mods function hooks; gateway.ts is the single gateway client, state lives in $.state, timing in $.clock. provider.ts is the hooks' own provider table, checked against the manifests by npm run check:providers. desktop.ts reads the handshake of the gateway the mod starts in a desktop app session.
plugins/multi-core/src/account.ts, setup.ts, install/ Accounts, bootstrap, plugin discovery, and installation.
plugins/multi-openai/src/ Codex authentication, models, request construction (gateway-request.ts), and instructions.
plugins/multi-cursor/src/ Cursor SDK harness, permissions, progress, requests, models, and workspaces.
plugins/multi-zen/src/ Zen API-key authentication, catalogs, request construction (gateway-request.ts), and translations.
plugins/multi-antigravity/src/ agy CLI harness, models, hooks, requests, and permissions.
plugins/multi-grok/src/ Grok Build CLI harness, models, requests, permissions, and login state.
test/live/ The tests: opt-in checks against real CLIs and provider services. There are no offline tests.
scripts/ Development utilities: banner generation, release versioning (versioning.ts), the release CLIs, and the provider-table check.
.github/workflows/ci.yml Runs npm run check on Node 24 across Linux, macOS, and Windows.
.github/workflows/release.yml Tags v<version> and publishes its GitHub release when a new version reaches main.
package.json, biome.json, knip.json Scripts, lint rules, and entry/project analysis.

Read the full file on GitHub · 133 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. yesterday Changed · -1 lines · +105 tokens per session 90c602e5706f
  2. 2d ago Changed · +1 lines · +19 tokens per session 300e29485246
  3. 3d ago Changed · +24 tokens per session d2b908fc5111
  4. 4d ago Changed · +3 lines · +223 tokens per session e4bae8f2b589
  5. 10d ago Changed · +7 lines · +298 tokens per session scan A → C 03d3022dc826
  6. 1mo ago Changed · +18 lines · +315 tokens per session c474d0874fc8
  7. 1mo ago Changed · +2 lines · +191 tokens per session c9e791abc7b9
  8. 2mo ago Changed · +1 lines · +59 tokens per session 7021a4912779
  9. 2mo ago Changed · +18 lines · +281 tokens per session 87beb3d55576
  10. 2mo ago First seen · 84 lines · 1,320 tokens per session scan A 4e789d516356

Subscribe to this mod's changes

cc-multi-cli-plugin AGENTS.md is an instructions file published in the GitHub repository greenpolo/cc-multi-cli-plugin (197 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,835 tokens to every session, about $0.0113 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-30.

Related

cc-multi-cli-plugin AGENTS.md compared with instructions from other repositories

cc-multi-cli-plugin AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cc-multi-cli-plugin AGENTS.mdgreenpolo/cc-multi-cli-pluginInstructions file197yesterdayApache-2.0C2,835Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode