platform AGENTS.md

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

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

Made for: Codex, OpenCode.

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. 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.03394 $0.03394
Opus 5 $0.01697 $0.01697
Sonnet 5 $0.00679 $0.00679
Haiku 4.5 $0.00339 $0.00339

Measured 2d ago against content hash 6a8c5971a820, 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 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 · 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/qscriptlet/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.primaryvar(--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. 2d 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 (38 stars, last pushed 11d ago), licensed MIT. It adds 3,394 tokens to every session, about $0.0170 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.