platform AGENTS.md

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

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

Made for: Codex, OpenCode.

Per session 4,703 This file is loaded in full into every session.
When invoked 4,703 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.04703 $0.04703
Opus 5 $0.02351 $0.02351
Sonnet 5 $0.00941 $0.00941
Haiku 4.5 $0.00470 $0.00470

Measured 3d ago against content hash 9f913b06d7f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 · 337 lines

How it starts

The opening of the file, as written. The whole thing — 337 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

Foundational mandates here take absolute precedence. Never invent ad-hoc behavior. This file is the hard-policy index for the Tuturuuu platform monorepo; detailed reusable patterns live in the repo-local Tuturuuu Codex plugin under plugins/tuturuuu/skills/*/references/ and in apps/docs.

Read the nearest AGENTS.md first, then load the focused Tuturuuu skill for the surface you are changing:

  • $tuturuuu-platform for general apps/web, shared packages, translations, navigation, docs, and repo verification.
  • $tuturuuu-web-release for version badge, release metadata, TUTURUUU_PLATFORM_VERSION, or blue/green release snapshot work.
  • $tuturuuu-agent-coordination for dirty/shared worktrees, handoffs, staged path safety, coordination notes, and commit-window coordination.
  • $tuturuuu-development-tooling for plugin skills, validation scripts, root scripts, CI, and durable agent workflow improvements.
  • $tuturuuu-database for Supabase migrations, RLS, protected-table API writes, storage policy, generated DB types, and database aliases.
  • $tuturuuu-ci-docs for GitHub Actions, tuturuuu.ts, validators, docs pages, docs navigation, and Docker deployment runbooks.
  • $tuturuuu-mobile-task-board for Flutter mobile task-board behavior and mobile release metadata follow-through.
  • $tuturuuu-cli, $tuturuuu-cli-tasks, and $tuturuuu-cli-finance for native ttr workflows.
  • $tuturuuu-commit for explicit commit/commit-and-push requests.
  • $tuturuuu-review-comments for GitHub PR review-thread follow-through.
  • $tuturuuu-pr-merge-sync for PR quiet-window merge follow-through, mandatory main-green verification, bun git-sync, and production-green verification.

2. Hard Prohibitions

  • Do not run long-running or build/bundling commands such as bun dev, bun run build, bun build, or equivalents unless the user explicitly asks.
  • Do not run bun sb:push or bun sb:linkpush; prepare migrations and let the user apply production Supabase changes.
  • 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.
  • 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 · 337 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 First seen · 337 lines · 4,703 tokens per session scan A 9f913b06d7f4

Subscribe to this mod's changes

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