jx: Instructions file for Codex

AGENTS.md

jx AGENTS.md is an instructions file for Codex, OpenCode from jxsuite/jx. It costs 7,239 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,239 This file is loaded in full into every session.
When invoked 7,239 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.07239 $0.07239
Opus 5.5 $0.02896 $0.02896
Sonnet 5.5 $0.01448 $0.01448
Haiku 4.5 $0.00724 $0.00724

Measured 9d ago against content hash 2cc9225b718f, 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 9d 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 · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 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 comprehensive web-based application suite that aims to encompass all available web platform APIs within a JSON Schema and 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 a docs-sync check when it stops); in any other harness, run bun run docs:sync and format what you touched with oxfmt before finishing.

Read the full file on GitHub · 135 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. 9d ago Changed · +106 lines · +6,070 tokens per session 2cc9225b718f
  2. 11d 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 2d ago), licensed MIT. It adds 7,239 tokens to every session, about $0.0290 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 6,957 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

generative-ai-for-beginners AGENTS.md

AGENTS.md instructions for microsoft/generative-ai-for-beginners, covering agents.md, project overview, setup commands, initial repository setup and clone the repository.

microsoft/generative-ai-for-beginners · 2,850 tokens