platform AGENTS.md

Project instructions for Xonovex Platform, a monorepo—a single repository containing multiple related packages and tools. They describe its package layout, shared libraries, Moon task commands, release rules, and coding style.

In plain words
What is it for?
Changing agent tools, shared TypeScript or Go libraries, skills, scripts, configuration packages, or Moon-based build tasks.
Why use it?
They help coding agents find the right package and use the repository's required build, test, query, and release workflows.

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

Made for: Codex, OpenCode.

Per session 1,201 This file is loaded in full into every session.
When invoked 1,201 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.01201 $0.01201
Opus 5 $0.00600 $0.00600
Sonnet 5 $0.00240 $0.00240
Haiku 4.5 $0.00120 $0.00120

Measured 2d ago against content hash 81bd4e69ee5b, 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 · 56 lines

How it starts

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

Xonovex Platform Monorepo

Structure

Packages

  • agent: Agent CLI (agent-cli-go, five per-platform binary packages, agent-cli-go-github), agent-operator-go + image
  • asset: Diagrams and images; private, pinned 0.0.0, outside the lockstep release line
  • command: Slash commands (command-utility, command-workflow); lockstep with the skill plugins and .claude-plugin/marketplace.json
  • config: Shared ESLint, Prettier, TypeScript, Vite, Vitest config
  • moon: moonrepo nix plugins (moon-nix-toolchain, moon-nix-extension, moon-nix-runtime), versioned from Cargo.toml
  • script: moon task binaries moon-<domain>-<action>-<subject>; no binary means shared code (script-moon-common)
  • shared: TypeScript (shared-core) and Go (shared-core-go, shared-agent-go) libraries
  • skill: Agent skills catalog (skill-*)

Workflow

  • Setup: npm install
  • Tasks: npx moon run <project>:<task> or npx moon run #<tag>:<task>
  • Query: moon query projects --tags "<pattern>"
  • Moon: a moon.yml tag <name> inherits .moon/tasks/tag-<name>.yml; extends refines one (tag-typescript-script.yml, tag-typescript-config.yml -> tag-typescript.yml). A redefined task replaces the parent's deps, so restate every inherited dep or set mergeDeps: replace
  • Dependencies: internal @xonovex/* exact, a config package pins its plugins exactly, everything else caret. An exact pin elsewhere records its reason: typescript and vite in .ncurc.cjs, @moonrepo/cli because it resolves every task
  • Git: no feature branches or pushes unless asked
  • Commits: conventional. Rebuild a restructured series on a temporary branch, confirm git diff <old tip> <new tip> is empty before moving the branch, and verify each commit with npx moon run :ci-check --force so the series stays bisectable
  • Release: reviewed version packages PR only; merging to main runs .github/workflows/release.yml (:ci-publish -> release/tag). Never bypass branch protection
  • Delegation: subagents only for large independent work such as a wide multi-file investigation; never to check your own work, and few
  • Scope: deliver what the task asks; ask only when two readings mean materially different work. Flag a mistaken request in one sentence, then finish the whole task

Read the full file on GitHub · 56 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 · 56 lines · 1,201 tokens per session scan A 81bd4e69ee5b

Subscribe to this mod's changes

platform AGENTS.md is an instructions file published in the GitHub repository xonovex/platform (5 stars, last pushed 2d ago), licensed MIT. It adds 1,201 tokens to every session, about $0.0060 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-31.