jx: Instructions file for Codex

AGENTS.md

jx AGENTS.md is an instructions file for Codex, OpenCode from jxsuite/jx. It costs 7,733 tokens per session, scanned A, original, MIT.

A repository instruction file for the jxsuite/jx project. It tells a coding agent about the app architecture, TypeScript style, NixOS environment, and checks to run after changes.

In plain words
What is it for?
Use it when changing the Jx web application, its server and build setup, or its tests.
Why use it?
It keeps agent-made changes consistent with project rules and helps avoid build, type-checking, and testing mistakes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

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

Reuse

Borrowing it

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

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 jx AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jxsuite/jx/agents-md"><img src="https://agentmods.dev/badge/instructions/jxsuite/jx/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,733 This file is loaded in full into every session.
When invoked 7,733 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.07733 $0.07733
Opus 5.5 $0.03093 $0.03093
Sonnet 5.5 $0.01547 $0.01547
Haiku 4.5 $0.00773 $0.00773

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

Security

Grade A, and why

jx 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 6d 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.

Jx Monorepo — Agent Notes

We're crafting a web application suite. Jx is serializable: documents (.json or .jxn) are defined by a JSON Schema encompassing all web platform APIs. It provides a runtime, compiler, visual builder, and extension layer (content collections, search, authentication, database connectors) to facilitate website and full-application builds with this schema. Jx targets apps with accounts and data, not only brochure sites: pages are always prerendered at build time and hydrate as islands, while sessions and application data come from extension server mounts which — together with any timing: "server" state entries — compile into one generated Hono worker serving /_jx/* next to the static output whenever build.adapter is set. A project with an active mount (a non-empty data or auth section) must set one, or the build fails; with no adapter, timing: "server" entries fall back to a standalone per-page _server.js handler.

  • Prefer WHATWG and ECMA standard alignment (current or emerging) for all nomenclature and architectural paradigms.
  • Code in strongly typed Typescript. Ensure all linting, typechecking, and tests pass following all changes.
  • Implement tests in parallel with features—use native Bun + Happy DOM and other mock API providers, as appropriate.
  • Reference the general and package-specific specs (./specs) prior to planning and implementing features, update specs to reflect user requests prior to adding new features. Edit spec sections in place — never renumber headings (user docs anchor them).
  • Every substantive spec edit is a release, user docs (./docs) track shipped behavior in the same change set, and plans live in plans/ and are deleted when they land. "Specs & User-Documentation Policy" below has the commands and the gates; run bun run docs:sync and bun run docs:check before finishing.
  • Do not wrap Markdown source: write one paragraph per line, and make a line break that carries meaning an explicit \ hard break. bun run format:md fixes a file. Much of the tree is still wrapped from before the rule and the sweep is pending, so match the rule in what you write rather than reflowing what you touch. The full rule, and why it is not enforced yet, is in scripts/AGENTS.md.
  • Use Chrome MCP to test new UI/UX changes prior to finishing the task.
  • These notes are harness-neutral. Every CLAUDE.md is a one-line @AGENTS.md import of the file beside it, so Claude Code loads these notes; edit the AGENTS.md, never the stub. Claude Code additionally runs the hooks in .claude/hooks (edit validation, a Bash guard, and at stop a docs-sync check plus the type-aware lint over the session's changed TypeScript, which catches files edited through Bash that the per-edit check never sees); in any other harness, run bun run docs:sync and bun run lint:typecheck and format what you touched with oxfmt before finishing. .husky/pre-commit runs the type-aware lint on staged TypeScript too, and Claude Code's Bash guard runs bun run verify before a git push (there is no husky pre-push hook), so the rules CI's checks job enforces are enforced locally first.

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. 6d ago Changed · +14 tokens per session 8e357fa7f582
  2. 14d ago Changed · +1 lines · -21 tokens per session b85fc3d85b0e
  3. 15d ago Changed · +6 lines · +41 tokens per session 572caf11f3d6
  4. 21d ago Changed · +1 tokens per session fc8d0b6fde5f
  5. 1mo ago Changed · +6 tokens per session 1583d636c331
  6. 1mo ago Changed · +1 lines · +368 tokens per session 7acbf3ee3280
  7. 1mo ago Changed · +85 tokens per session 05c08b8bd0b9
  8. 1mo ago Changed · +106 lines · +6,070 tokens per session 2cc9225b718f
  9. 1mo ago First seen · 29 lines · 1,169 tokens per session scan A dd1f11525957

Subscribe to this mod's changes

jx AGENTS.md is an instructions file published in the GitHub repository jxsuite/jx (7 stars, last pushed today), licensed MIT. It adds 7,733 tokens to every session, about $0.0309 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-10-02.

Related

jx AGENTS.md compared with instructions from other repositories

jx AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jx AGENTS.mdjxsuite/jxInstructions file7todayMITA7,733Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode