run402-core AGENTS.md

Instructions for working on run402-core, including how to understand the repository and coordinate with other coding agents. A worktree is a separate checkout of the same Git repository used to isolate changes.

In plain words
What is it for?
Use them when starting work on run402-core, inspecting its architecture, making changes in an isolated worktree, or sharing status with the run402 development team.
Why use it?
They reduce conflicts when several agents work on related repositories at the same time and clarify which code belongs in this project.

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/kychee-com/run402-core/agents-md
Clone the repo
git clone --depth 1 https://github.com/kychee-com/run402-core

Made for: Codex, OpenCode.

Per session 568 This file is loaded in full into every session.
When invoked 568 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.00568 $0.00568
Opus 5 $0.00284 $0.00284
Sonnet 5 $0.00114 $0.00114
Haiku 4.5 $0.00057 $0.00057

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

Security

Grade A, and why

run402-core 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 · 22 lines

How it starts

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

Agent instructions — run402-core

Start with ARCHITECTURE.md and CONTRIBUTING.md for repo orientation; CLOUD_VS_CORE.md explains what belongs here versus the hosted platform.

Git workflow — worktrees, never branches

Multiple agent sessions work these repos in parallel. Isolation is by git worktree (git worktree add), never by switching branches in the main checkout, and never git stash. Push docs-and-small changes directly to main (git push origin HEAD:main, rebase on rejection).

Fleet coordination room — join at session start

Agent sessions working on the run402 codebases (this repo, run402, run402-private) share the coordination room run402-dev on org 57035b1e-ec41-4ce6-a7a5-a5b2560efdd7. Arrive by exporting the address once — then every later room call, including the ones inside skills, is flag-free:

export RUN402_ROOM=57035b1e-ec41-4ce6-a7a5-a5b2560efdd7/run402-dev RUN402_WALLET=platform-deploy
run402 rooms join --name <pick-your-own> --task "<what you're doing>"
run402 messages list --unread

(--wallet platform-deploy applies on machines where another local profile is active; drop it if your session's own wallet is an org member, or set RUN402_ROOM=57035b1e-ec41-4ce6-a7a5-a5b2560efdd7/run402-dev and omit the flags.) Pick your own presence name — collisions get an honest suffix (Opus → Opus-2). Claim shared areas before editing (run402 claims create repo:<area>/** --note "why" — advisory, never blocks; release when done). End your session with an --ack handoff message stating done / hot / next. Tool friction goes to --thread dx. Need a human? Send with --importance high — asking is always in-policy. The .run402/ cache dir this creates is per-checkout and never committed.

Skills announce shared-state work. /publish-core reports the published version and whether the gateway pin is done — npm is irreversible and the private repo's pickup is a second step someone may be waiting on. Best-effort (|| true), so a wedged room can never fail a publish. Reading and thinking skills are deliberately not wired: announcing them is the noise that makes agents stop reading the room.

Read the full file on GitHub · 22 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 · 22 lines · 568 tokens per session scan A 2407657e0df1

Subscribe to this mod's changes

run402-core AGENTS.md is an instructions file published in the GitHub repository kychee-com/run402-core (20 stars, last pushed 8d ago), licensed Apache-2.0. It adds 568 tokens to every session, about $0.0028 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.