architext AGENTS.md

architext AGENTS.md is an instructions file for Codex, OpenCode from robot-accomplice/architext. It costs 3,926 tokens per session, scanned A, original, MIT.

Repository instructions for Architext, a tool for documenting software architecture and maintaining its generated guidance files.

In plain words
What is it for?
They are for working on Architext's Rust CLI, architecture documentation, instruction rules, and synchronization process.
Why use it?
They explain which sections are managed automatically and which files developers should edit, reducing the risk of overwriting generated content.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/robot-accomplice/architext/agents-md.svg)](https://agentmods.dev/instructions/robot-accomplice/architext/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/robot-accomplice/architext/agents-md"><img src="https://agentmods.dev/badge/instructions/robot-accomplice/architext/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,926 This file is loaded in full into every session.
When invoked 3,926 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.03926 $0.03926
Opus 5 $0.01963 $0.01963
Sonnet 5 $0.00785 $0.00785
Haiku 4.5 $0.00393 $0.00393

Measured 4d ago against content hash cf51c661f4e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

architext 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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 268 lines

How it starts

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

CLAUDE.md

Guidance for AI assistants working on the Architext tool itself (this repository). For working on architecture data inside another repo that uses Architext, the Architext Architecture Documentation section at the bottom of this file is the project-consumer contract.

[!IMPORTANT] Two things in this file are managed by architext itself — keep all hand-written contributor guidance written as prose and tables, not bulleted lists, and leave the managed sections alone:

The Architext Architecture Documentation section (the ## heading near the end of this file) is upserted by architext sync (crates/architext-cli/src/commands/sync/instruction_files.rs); it replaces everything from that ## heading to the next ## heading. Edit the APPENDIX const in that file and viewer/AGENTS_APPENDIX.md — never the rendered block.

architext doctor/sync also runs an instruction-rule migration (crates/architext-core/src/domain/instruction_rules.rs): any Markdown bullet or numbered list item of 16+ characters in this file gets extracted into docs/architext/data/rules.json and a pointer section is appended. Tables and prose are left untouched. This guide is intentionally bullet-free so doctor leaves it alone and does not flood the curated rules.json. Keep it that way.

AGENTS.md is kept byte-identical to this file.

What Architext Is

Architext is a local, project-owned architecture / release / rules / dataflow viewer generated from strict JSON. Target projects own only JSON data (under docs/architext/data/); the viewer, schema, and tooling are owned by the globally installed architext package. The machine-readable model is the source of truth, and the rendered site is a projection for humans.

Distribution is native-only (the 1.7.0 cutover removed a previous JS CLI; there is no Node runtime and no npm channel). Architext ships as a single self-contained Rust binary with the WASM viewer embedded, delivered via install.sh, GitHub-release binaries, and architext update. See README.md for the product framing and ROADMAP.md for direction.

Read the full file on GitHub · 268 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. 4d ago First seen · 268 lines · 3,926 tokens per session scan A cf51c661f4e1

Subscribe to this mod's changes

architext AGENTS.md is an instructions file published in the GitHub repository robot-accomplice/architext (15 stars, last pushed 21d ago), licensed MIT. It adds 3,926 tokens to every session, about $0.0196 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.

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 · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 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,345 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js 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 · 7,296 tokens