platform: Instructions file for Codex

AGENTS.md

platform AGENTS.md is an instructions file for Codex, OpenCode from qorm/platform. It costs 3,394 tokens per session, scanned A, original, MIT.

A guide to QORM, a Go platform where apps are described mainly as JSON files and can run on the web, iOS, Android, and desktop. It explains the app files, the runtime, signed bundles, live updates, and MCP access for AI assistants.

In plain words
What is it for?
Use it when creating or changing QORM apps, their screens, actions, configuration, packaging, or agent connections.
Why use it?
It gives coding agents the project’s basic model and the expected way to inspect, edit, run, and verify an app.

Instructions file for CodexOpenCode

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

This is qorm/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 qorm/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/qorm/platform/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/qorm/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/qorm/platform/agents-md/github.svg)](https://agentmods.dev/instructions/qorm/platform/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/qorm/platform/agents-md"><img src="https://agentmods.dev/badge/instructions/qorm/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/qorm/platform/agents-md"><img src="https://agentmods.dev/badge/instructions/qorm/platform/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,394 This file is loaded in full into every session.
When invoked 3,394 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.03394 $0.03394
Opus 5.5 $0.01358 $0.01358
Sonnet 5.5 $0.00679 $0.00679
Haiku 4.5 $0.00339 $0.00339

Measured 2mo ago against content hash 6a8c5971a820, 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 2mo 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 · 196 lines

How it starts

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

AGENTS.md — orienting an AI agent in the QORM repo

What this is. QORM (Query · Observe · Render · Mutate) is a pure-Go, agent-native cross-platform app platform. A QORM app is JSON — a manifest (qorm.json) + scenes/*.json + actions/*.json, an optional Go middle-layer, and an optional qorm.config.json (host window config: size/title/resizable/chromeless/transparent — never bundled or signed) — that one runtime renders to HTML/CSS, ed25519-signs into a verifiable bundle, delivers over-the-air, packages for web / iOS / Android / desktop, and exposes to agents over MCP. Dual-consumer by design: every artifact is meant to be read, written, and verified by both a person and an AI. The acronym is the API surface: Query (HTTP/MCP reads), Observe (SSE), Render (the runtime), Mutate (actions + writes).

Full machine-readable map: llms.txt.

Understand it

  • README.md — what QORM is + the CLI at a glance.
  • examples/ — the canonical runnable apps. Trust these over any spec.

Write / edit an app

  • One-Command Scaffold & Run: Run qorm run <app-dir> (or go run ./cmd/qorm run <app-dir>) — if <app-dir> doesn't exist, it automatically scaffolds the starter app and launches the native standalone executable application window for the platform.
  • Use the format the runtime accepts today: text via text, bind with {{state.x}}, onPress names an action in actions/, components in qorm.json use {{prop.x}}. See getting-started and the widget catalog (auto-generated from the code, canonical).
  • Do not use the old value / on:{press} / {{count}} / scene:// forms — the runtime ignores them. When docs and a runnable example disagree, the example wins.
  • App logic too big for steps goes in a script action: an action JSON with a script field holding qscript source (internal/qscript — let/if/for in/ while/fn, the expression language's operators and builtins, state read/write, args in), or — the file-per-action spelling — an actions/<id>.qs file whose filename is the action id and whose full text is the script. The loader compiles it (parse errors name the line, and the file for .qs); script beats steps when both are declared. Canonical example: examples/tetris.
  • Shared styles live in a stylesheet: styles/<id>.qss (QORM Style Sheet, internal/qss) — rules like button { borderRadius: 12 }, .accent { … }, #submit { … } (type / class / id selectors; # comments; numbers stay numbers, strings and {{bindings}} evaluate like inline style values; nested objects such as margin: {top: …} stay inline on the node). Scene nodes reference them with a class prop (space-separated, later classes win). Cascade: theme component default < type rule < class rule (declaration order) < id rule < inline style. Parse errors are load-time diagnostics naming file and line; unknown style keys warn. Canvas and HTML both apply matching rules (HTML merges them into emitted node CSS). Canvas visual effects (filter, mask, scroll-snap, FLIP, spring, text stroke/shadow, …) are documented in docs/styles.md and listed under common style props; showcase examples/canvas-fx. Example stylesheet: examples/tetris styles/app.qss.
  • No emoji in UI, code, or docs — use the built-in SVG icon set (icon names like heart / star / zap, listed in internal/render/icons.go).
  • Style against the theme variables (var(--accent), var(--label), …) so apps follow the OS light/dark setting (default theme is auto). Manifest designTokens render as stage-scoped CSS vars too — color.primary → var(--qorm-token-color-primary). Unknown style keys are load-time warnings (the renderer ignores them).

Read the full file on GitHub · 196 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. 2mo ago First seen · 196 lines · 3,394 tokens per session scan A 6a8c5971a820

Subscribe to this mod's changes

platform AGENTS.md is an instructions file published in the GitHub repository qorm/platform (40 stars, last pushed 2mo ago), licensed MIT. It adds 3,394 tokens to every session, about $0.0136 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

platform AGENTS.md compared with instructions from other repositories

platform AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
platform AGENTS.mdqorm/platformInstructions file402mo agoMITA3,394Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot