ic-reactor: Instructions file for Codex

AGENTS.md

ic-reactor AGENTS.md is an instructions file for Codex, OpenCode from B3Pay/ic-reactor. It costs 3,210 tokens per session, scanned A, original, MIT.

Project-specific instructions for agents working on B3Pay’s ic-reactor repository, including its current structure, package relationships, alignment rules, and skills.

In plain words
What is it for?
Use it for development work across the ic-reactor project, especially when package boundaries matter.
Why use it?
It helps an agent understand how the repository is organised and avoid changes that conflict across packages.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is B3Pay/ic-reactor's own configuration. It tells Codex and OpenCode how to work on ic-reactor 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 ic-reactor configures →

Reuse

Borrowing it

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

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 ic-reactor AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/b3pay/ic-reactor/agents-md"><img src="https://agentmods.dev/badge/instructions/b3pay/ic-reactor/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,210 This file is loaded in full into every session.
When invoked 3,210 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.03210 $0.03210
Opus 5.5 $0.01284 $0.01284
Sonnet 5.5 $0.00642 $0.00642
Haiku 4.5 $0.00321 $0.00321

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

Security

Grade A, and why

ic-reactor 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 4d 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 · 102 lines

How it starts

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

AGENTS.md instructions for @ic-reactor

Project snapshot

This is main, the line of ic-reactor 4. v3 is the 3.x line and takes security fixes only, until 90 days after the 4.0 release. Open pull requests for ic-reactor 4 against main, and 3.x security fixes against v3.

ic-reactor 4 is a thin layer over a module that meant gen generates, plus one consumer guide. Its packages are written against the published stable Meant releases, @meantjs/schema and @meantjs/cli, each pinned exactly.

Packages

  • @ic-reactor/core (packages/core, 4.1.0) — the 4 API of milestone 1: createClient, ReactorError and isReactorError, parseUnits and formatUnits, and their types (13 names, scripts/export-budget.mjs). src/testing/ is the @ic-reactor/core/testing entry: createTestClient (a real client over the fake replica, with typed TestHandlers and a controllable sign-in) is its only export; the fake replica and the test auth behind it are internal.
  • @ic-reactor/react (packages/react, 4.1.0) — 'use client' bindings over a core client: ReactorProvider, useClient, useAuth and the type ReactorProviderProps. It never re-exports core.
  • @ic-reactor/vite-plugin (packages/vite-plugin, 4.1.0) — generates the module by running @meantjs/cli (meant gen) in a child process, and sets the ic_env cookie and /api proxy.

@ic-reactor/parser, @ic-reactor/codegen, @ic-reactor/cli and @ic-reactor/candid are not in this tree (the last stays at 3.x on v3).

Where to start for a task

Task Start here
Core runtime packages/core/src/, packages/core/tests/
React bindings packages/react/src/, packages/react/tests/
Vite plugin generation packages/vite-plugin/src/generate.ts, src/index.ts
ic_env cookie and dev proxy packages/vite-plugin/src/dev-environment.ts, src/env.ts, src/index.ts
Test client, fake replica packages/core/src/testing/ (test-client.ts is the entry's only export)
Real-replica e2e e2e/ (Rust hello_actor canister, e2e/test.sh)
Example apps examples/<name>/ (own tests and gen:check; a page in docs/src/content/docs/examples/)
Docs site (/v4/) docs/, .github/workflows/docs.yml, scripts/assemble-docs-site.mjs
Docs on b3pay.net b3pay-module.json, .github/workflows/b3pay-site.yml, docs/scripts/b3pay-static.mjs
Consumer guide and skill packages/core/llms.txt, skill-packages/ic-reactor/SKILL.md
Release lane scripts/release.js, scripts/release-tag.mjs, .github/workflows/release.yml
Meant pins stack.json, scripts/check-stack.mjs
CI gates and their tests scripts/ (check-exports.mjs, verify-traps.mjs, verify-faults.mjs)

Read the full file on GitHub · 102 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. 4d ago Changed · -1 lines · -8 tokens per session f9f9989b88e4
  2. 6d ago Changed · +3 lines · +392 tokens per session 109b45d3a564
  3. 9d ago Changed · -2 tokens per session 337206608dba
  4. 10d ago Changed · -120 lines · -2,242 tokens per session f56badf4f235
  5. 1mo ago Changed · +1 lines · +84 tokens per session 3519b74ac302
  6. 1mo ago Changed · +123 lines · +3,070 tokens per session 497ca83af0f1
  7. 1mo ago Changed 6332ec1a8388
  8. 2mo ago Changed · +1 lines · +91 tokens per session 35f4cb8891cb
  9. 2mo ago Changed 62f7b508cd9c
  10. 2mo ago First seen · 95 lines · 1,825 tokens per session scan A 5b20d4488c99

Subscribe to this mod's changes

ic-reactor AGENTS.md is an instructions file published in the GitHub repository B3Pay/ic-reactor (20 stars, last pushed yesterday), licensed MIT. It adds 3,210 tokens to every session, about $0.0128 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

ic-reactor AGENTS.md compared with instructions from other repositories

ic-reactor AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ic-reactor AGENTS.mdB3Pay/ic-reactorInstructions file20yesterdayMITA3,210Codex, 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