platform: Instructions file for Codex

AGENTS.md

platform AGENTS.md is an instructions file for Codex, OpenCode from tutur3u/platform. It costs 4,473 tokens per session, scanned A, original, Apache-2.0.

Operating instructions for coding agents working on the Tuturuuu platform monorepo. A monorepo is one repository containing multiple applications and shared packages.

In plain words
What is it for?
Use it when working on the Tuturuuu web application, shared packages, translations, releases, databases, CI, documentation, or agent coordination.
Why use it?
It tells agents which rules, documentation, and project-specific skills apply before they change code. This helps prevent changes in the wrong part of the platform or in ways that violate project policy.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; reads ~/.codex paths; mentions AGENTS.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tutur3u/platform/agents-md"><img src="https://agentmods.dev/badge/instructions/tutur3u/platform/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,473 This file is loaded in full into every session.
When invoked 4,473 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.04473 $0.04473
Opus 5.5 $0.01789 $0.01789
Sonnet 5.5 $0.00895 $0.00895
Haiku 4.5 $0.00447 $0.00447

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

Security

Grade A, and why

platform 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 3d 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 · 292 lines

How it starts

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

AGENTS.md - Operating Manual For Autonomous AI Assistants

1. Authority

This file contains cross-cutting repository constraints. Task-specific procedures live in plugins/tuturuuu/skills/*/references/ and apps/docs.

Read the root and nearest applicable AGENTS.md. Load a focused skill only when its capability helps the current task; read linked references by topic rather than loading a stack of checklists before every edit. Repository rules supplement the user's request and higher-priority runtime instructions.

Use plugins/tuturuuu/skills/ for Tuturuuu-specific workflows. In particular: $tuturuuu-platform owns web/shared UI, $tuturuuu-database owns schema/RLS, $tuturuuu-agent-coordination owns shared-worktree safety, and $tuturuuu-pr-merge-sync owns authorized integration and production sync.

Continue authorized work through implementation, relevant verification, fixes, and scoped commit/push publication under the completion contract. Do not pause for review after a first draft unless review was requested or a concrete decision, permission, or access is missing. A skill does not authorize unrelated external actions or expand release scope. Define completion from the request: implementation and required checks, plus PR, merge, or production evidence only when that delivery is authorized.

For autonomous multi-lane execution, use the shared T3 contract and the portable program guidance. Relay these and current custody overrides in child briefs.

2. Hard Prohibitions

  • Start long-lived development servers only when requested or needed for an explicitly requested runtime verification. Finite local setup and tests needed to validate the authorized change may run without repeated confirmation. Do not run builds on this machine; use CI builds for the exact commit instead. This does not authorize deployments or production database writes.
  • Do not run bun sb:push or bun sb:linkpush from an agent checkout. The gated supabase-production.yaml workflow applies eligible migrations after authorized production sync, successful staging migration, and a successful production deployment marker. Verify its exact-SHA result separately; if it skips or fails, stop and report the blocker rather than pushing manually.
  • Do not commit secrets, API keys, tokens, credentials, or raw sensitive values. Reference environment variables by name only.
  • Do not manually edit package.json to add or update dependencies. Use the package manager command for the owning workspace.
  • Gradually adopt Oxlint/Oxfmt through explicit owned-file paths with bun oxc:lint, bun oxc:format, and bun oxc:write. Retain Biome gates until each scope records rule/formatting parity and migrates CI, editors and generators together. Do not run global formatters or Vite+ monorepo migrators for scoped work. See adoption guidance.
  • Plan cf CLI adoption over Wrangler per verified operation. Preserve existing commands/configuration until authentication, target identity, bindings/migrations, emitted artifacts and rollback parity are established; retain Wrangler for gaps. Do not run global configuration migration or infer production authorization from CLI adoption. See the adoption guidance linked above.
  • For Cloudflare work that adds or amplifies billable operations, require bounded work/retries, idempotent progress, terminal-state scheduling and a tested durable stop fence. Verify operation-count and failure/restart regressions; ingress rate limits, billing alerts and per-invocation CPU caps are not total-spend caps. Record service-specific cost/stop evidence in the adoption guidance.
  • Maintain first-party domain/service libraries independently of React frameworks. Inject request identity, storage, navigation and localization at framework adapters; keep portable entrypoints free of Next.js/React Router/Cloudflare runtime imports and request globals. Preserve public exports and enforce these boundaries with focused tests when extracting shared modules.
  • Do not use native browser dialogs, emojis in UI code, hard-coded hue classes, client-side raw app API fetches, or useEffect for data fetching.
  • Do not add export const dynamic / export const revalidate route segment configs. Every Next app runs with cacheComponents enabled, which rejects them at build time. Opt an authed page or Supabase-backed GET route handler into request-time rendering with await connection() instead (see $tuturuuu-platform → Cache Components).
  • Do not resolve actors in a registered satellite app with @tuturuuu/utils/user-helper (getCurrentUser, getCurrentWorkspaceUser) — those read Supabase auth directly. Use getSatelliteAppSessionUser('<app>') and pass the id into an injectable helper (e.g. @tuturuuu/utils/workspace-user-link). bun check enforces this via the internal-app-auth guard.
  • Do not add a catch-all page ([...slug]) under [locale]/[wsId] in a satellite that proxies /api/* to web. Next checks fallback rewrites only AFTER dynamic routes, so the catch-all swallows /api/v1/... as locale="api", wsId="v1" and breaks every proxied API call. Put non-migrated-route redirects in the app's proxy.ts middleware instead.
  • Use native console.* for server runtime logs, preserving severity (console.error, console.warn, etc.). Do not add serverLogger runtime imports or automatic console log-drain installation.
  • Do not modify, format, stage, commit, delete, rename, or clean up files you did not intentionally touch.
  • Do not use destructive Git or filesystem commands unless the user clearly asks for that operation and the scope is explicit, except for the narrowly scoped post-merge worktree and local task-branch cleanup mandated below.

Read the full file on GitHub · 292 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. 3d ago Changed · +85 tokens per session 615941386d55
  2. 13d ago Changed · +27 lines · +441 tokens per session f101e08ab3a9
  3. 14d ago Changed · -15 lines · -274 tokens per session e3559d602fc9
  4. 16d ago Changed · +11 lines · +150 tokens per session 5341e5f76864
  5. 17d ago Changed · +10 lines · +143 tokens per session 28075d11f5cd
  6. 18d ago Changed · +16 lines · +223 tokens per session 9233f4733b95
  7. 19d ago Changed · +17 lines · +251 tokens per session bfdbbed3004e
  8. 22d ago Changed · +5 lines · +95 tokens per session 3206a8867803
  9. 23d ago Changed · +11 lines · +181 tokens per session c556d57bb789
  10. 24d ago First seen · 210 lines · 3,178 tokens per session scan A c39d3d473793

Subscribe to this mod's changes

platform AGENTS.md is an instructions file published in the GitHub repository tutur3u/platform (55 stars, last pushed today), licensed Apache-2.0. It adds 4,473 tokens to every session, about $0.0179 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,549 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens