xyntetik-runner: Instructions file for Codex

AGENTS.md

xyntetik-runner AGENTS.md is an instructions file for Codex, OpenCode from Joakimpalm-Zen/xyntetik-runner. It costs 1,630 tokens per session, scanned A, original, Apache-2.0.

A set of mandatory rules for AI agents working in the xyntetik-runner codebase. It explains deep modules, tracer bullets, test-driven development, continuous questioning, and keeping the README current.

In plain words
What is it for?
It helps guide design and coding decisions, require tests before or alongside implementation, keep internal details behind clear interfaces, and maintain the project README.
Why use it?
It gives agents a shared development process and protects module boundaries, public behavior, tests, and documentation during implementation work.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 xyntetik-runner AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/joakimpalm-zen/xyntetik-runner/agents-md"><img src="https://agentmods.dev/badge/instructions/joakimpalm-zen/xyntetik-runner/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,630 This file is loaded in full into every session.
When invoked 1,630 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.01630 $0.01630
Opus 5.5 $0.00652 $0.00652
Sonnet 5.5 $0.00326 $0.00326
Haiku 4.5 $0.00163 $0.00163

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

Security

Grade A, and why

xyntetik-runner 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 23d 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 · 143 lines

How it starts

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

Runner Agent Rules

These rules are mandatory for every AI or LLM agent that changes this repository. Where a framework default, tool habit or generated plan conflicts with them, this document wins.

1. Deep modules

Keep public interfaces small and deliberate, with the complexity behind them.

  • Module boundaries are intentional: CLI and server behaviour in main.c/server.c, inference flow in engine.c, model loading and forward in model.c, constrained output in jsonmode.c/schema.c (native tool grammars in schema_tools.c), platform details in compat.c, backends in cuda.c/metal.m.
  • Do not expose internals to make a quick change easier.
  • Lock behaviour through public interfaces: CLI output, HTTP endpoints, committed smoke scripts, or focused test binaries. Internals may change freely only while those tests protect the behaviour.

2. How to change code

Tracer bullets and test-driven development, one behaviour at a time:

  1. Read the relevant code and docs first, and surface your assumptions.
  2. Write one failing test or smoke for the smallest observable behaviour, through the public interface.
  3. Implement the minimum code to pass it, touching the real layers rather than building horizontal scaffolding.
  4. Run the relevant verification, then refactor only while green.
  5. Check the README impact (rule 4), then repeat for the next behaviour.

Do not write all tests first and all code afterwards, mock internal collaborators without a boundary reason, assert on incidental details, or add speculative features.

3. Gates and evidence

A gate proves a system agrees with the instrument measuring it, not that the system is right.

  • Every gate needs one absolute anchor: at least one assertion whose expected value comes from outside the system (a published constant, a hand-computed result, a specification, a reference implementation, a physical fact about the hardware). Two of our own builds agreeing proves only determinism. Where a gate cannot have an absolute anchor, say so where the gate lives.
  • Random inputs are not equivalence. Every equivalence gate over a kernel or a rewritten path carries deterministic boundary inputs beside the random ones: codes at each extreme, the quantizer's top code, the zero block, the largest and smallest scales, lengths around each SIMD step and tail (tests/test_quants_simd.c is the pattern). Prefer the original kernel unless the rewrite is proven equivalent.
  • Prove the rebuild. make compares whole-second mtimes. After restoring a mutated source, sleep 1, touch it and confirm a compile happened; in any A/B of two binaries from one tree, confirm they differ (a behavioural probe beats a hash) before trusting a number from them.

Read the full file on GitHub · 143 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. 23d ago Changed · +1 lines · +14 tokens per session 87eb6fec0c66
  2. 29d ago Changed · -231 lines · -2,348 tokens per session a1c8de63a7e5
  3. 1mo ago Changed · +22 lines · +242 tokens per session 766e95baedb6
  4. 2mo ago Changed · +50 lines · +678 tokens per session 9f77b84bd8f1
  5. 2mo ago Changed · +31 lines · +548 tokens per session 20b814b99e5b
  6. 2mo ago Changed · +18 lines · +246 tokens per session 2d47ed771bc3
  7. 2mo ago Changed · +35 lines · +342 tokens per session 2d21c2cc49fe
  8. 2mo ago First seen · 217 lines · 1,908 tokens per session scan A 77acfc9dc986

Subscribe to this mod's changes

xyntetik-runner AGENTS.md is an instructions file published in the GitHub repository Joakimpalm-Zen/xyntetik-runner (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,630 tokens to every session, about $0.0065 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-31.

Related

xyntetik-runner AGENTS.md compared with instructions from other repositories

xyntetik-runner AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xyntetik-runner AGENTS.mdJoakimpalm-Zen/xyntetik-runnerInstructions file30yesterdayApache-2.0A1,630Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode