codecast: Instructions file for Codex

AGENTS.md

codecast AGENTS.md is an instructions file for Codex, OpenCode from codecast-sh/codecast. It costs 7,369 tokens per session, scanned A, original, MIT.

A set of repository instructions for working on the Codecast codebase. It explains where to work, how to handle generated copies of shared packages, and how to check Git changes and deployment-related files.

In plain words
What is it for?
Use it when modifying Codecast, especially when changing shared platform packages, refreshing their vendored mirror, checking repository state, or preparing Convex and release deployments.
Why use it?
It prevents edits to generated files, accidental loss of other people's uncommitted work, and stale local package or build caches. It also documents how shared platform code is kept consistent with the checkout.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths.

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

Reuse

Borrowing it

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

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 codecast AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/codecast-sh/codecast/agents-md"><img src="https://agentmods.dev/badge/instructions/codecast-sh/codecast/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,369 This file is loaded in full into every session.
When invoked 7,369 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.07369 $0.07369
Opus 5.5 $0.02948 $0.02948
Sonnet 5.5 $0.01474 $0.01474
Haiku 4.5 $0.00737 $0.00737

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

Security

Grade A, and why

codecast 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 5d 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 · 235 lines

How it starts

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

Codecast

Working directory

Work directly in the main checkout. Other sessions may have uncommitted work in the tree — scan git status/git diff before editing shared files and never revert changes you didn't make.

Vendored platform packages

platform/packages/ is a GENERATED mirror of the shared @platform/* packages whose canonical home is ~/src/platform. Never edit it by hand: change the canonical copy, then run scripts/vendor-platform.sh to refresh the mirror (--check reports drift). The script also purges bun's node_modules/.bun/@platform+* copies and packages/web/node_modules/.vite and reinstalls, because bun keeps serving the stale copy and vite the stale module graph otherwise. A running dev server restarts itself when that cache disappears (plugins/depsCacheGuard.ts); never delete the cache under a live server without that plugin, or every dep it has not served yet answers 504 "Outdated Optimize Dep". The mirror exists because Railway, the CLI release workflow and the desktop build all run from a fresh clone, so every @platform dep must point inside the checkout (file:../../platform/packages/<name>), never at ~/src/platform. The package set is derived from the workspace package.json files, so adopting a new platform package is one dep line plus a rerun. A real vendor run also rewrites platform/package.json, the mirror's own workspace root generated from the canonical repo's root, platform/tsconfig.base.json, the base every mirrored tsconfig extends, and platform/vendor-manifest.txt, a content hash per mirrored package and of those root files; commit them with the mirror. CI cannot run --check, because a runner has no ~/src/platform, so the test-platform job runs --check-manifest instead: it re-hashes the mirror against that manifest and re-reads the dep lines the mirror was generated from, which catches a hand-edited mirror, a package adopted without a rerun, and a dep pointing outside the checkout. The same job runs scripts/vendor-platform.sh --test: it installs the mirror once as that workspace, the way the canonical repo installs, so a package's @platform peer resolves to its mirrored sibling rather than npm and the shared test tooling sits at the root; then it runs every mirrored package's own bun test and names each red one. The repo's own lockfile never sees the mirror's workspace.

Read the full file on GitHub · 235 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. 5d ago Changed · +4 lines · +70 tokens per session 2eed7cb8c0a2
  2. 7d ago Changed · +24 lines · +604 tokens per session 7b00ddb43932
  3. 11d ago Changed · +17 tokens per session cd252deac5c5
  4. 14d ago Changed · -24 lines · -266 tokens per session 02517725a142
  5. 20d ago Changed · +4 tokens per session 6d6fe2732b38
  6. 21d ago Changed · +69 tokens per session b165852f41fe
  7. 23d ago Changed · +1 lines · +22 tokens per session 343f89e8fc3f
  8. 24d ago Changed · +1 lines · +26 tokens per session f2a09cf4c807
  9. 25d ago Changed · +48 lines · +933 tokens per session a8e4e5b6cbc0
  10. 1mo ago First seen · 181 lines · 5,890 tokens per session scan A 7167728ff63b

Subscribe to this mod's changes

codecast AGENTS.md is an instructions file published in the GitHub repository codecast-sh/codecast (41 stars, last pushed today), licensed MIT. It adds 7,369 tokens to every session, about $0.0295 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-09-07.

Related

Other instructions, from other repositories