archify: Instructions file for Codex

AGENTS.md

archify AGENTS.md is an instructions file for Codex, OpenCode from tt-a1i/archify. It costs 541 tokens per session, scanned A, original, Apache-2.0.

A set of repository instructions for Archify, including rules for changing agent instructions and managing live Archify installations.

In plain words
What is it for?
It guides repository edits, reviews, publishing, synchronization, and explicitly requested installs, updates, removals, and source checks.
Why use it?
It prevents accidental installation, scope expansion, or use of an unverified source when working on the repository or its agent packages.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

About the project

Archify is a system that turns codebases or system descriptions into interactive architecture, workflow, sequence, data-flow, and lifecycle diagrams. Developers use it to inspect, review, compare, and share system designs, while its catalogue skill provides the agent workflow for creating and validating those diagrams.

tt-a1i/archify · 102,155 stars · on GitHub · archify.si

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tt-a1i/archify/agents-md"><img src="https://agentmods.dev/badge/instructions/tt-a1i/archify/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 541 This file is loaded in full into every session.
When invoked 541 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.00541 $0.00541
Opus 5.5 $0.00216 $0.00216
Sonnet 5.5 $0.00108 $0.00108
Haiku 4.5 $0.00054 $0.00054

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

Security

Grade A, and why

archify 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 · 24 lines

How it starts

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

Agent instructions

Follow CONTRIBUTING.md for repository changes and REVIEWING.md for reviews.

PR preparation

Before requesting final review, follow the scoped PR improvement check using the project Skills when applicable.

Test selection

In the edit loop, use pnpm run test:changed for working-tree changes or run the specific suite that reproduces the issue. Use Choose evidence by impact when the change needs broader coverage.

When adding a regression test, use the least expensive suite that can reproduce the failure. When speeding up tests or narrowing CI triggers, measure the improvement and verify coverage. Before integration, verify CI and reused evidence against the final revision.

Live Archify installations

Install, update, reinstall, or remove a live Archify installation only when the user explicitly requests that action. Repository editing, testing, reviewing, publishing, or syncing does not authorize installation. This applies to Skills CLI, manual ZIP copies, and DSH plugins. Reuse authorization already given for the same action and scope; ask only for unresolved decisions.

  • Keep the source, Skill/package, target agents, and global/project scope within the request. Avoid bulk operations or force flags that expand that scope. An update notification is informational.
  • Before a Skills CLI install, discover the selected source with npx -y skills add <source> --list --full-depth (default source: tt-a1i/archify). Expect exactly archify and archify-pr from the canonical remote sources (https://archify.si and tt-a1i/archify). A core-only ZIP or an explicitly requested durable local source may contain only archify. Inspect the checkout for local sources. Stop on failed or ambiguous discovery.
  • Use the canonical remote source by default. Use a local source only when requested, from a durable checkout; live symlinks must not point into temporary directories or disposable worktrees.
  • Preserve unrelated files and existing unmanaged destinations. Report a destination conflict before replacing it unless that exact replacement is already explicitly authorized; use the installer's documented conflict handling within the approved scope.
  • Report the action, source, targets, and result, including skipped or failed destinations. A partial installation is not a complete success.

Read the full file on GitHub · 24 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 · +37 tokens per session 6f851102437e
  2. 9d ago Changed · +2 lines · +55 tokens per session 9921e45d7be3
  3. 1mo ago Changed · +8 lines · +129 tokens per session a8a0343ee59a
  4. 2mo ago First seen · 14 lines · 320 tokens per session scan A dcee7624016a

Subscribe to this mod's changes

archify AGENTS.md is an instructions file published in the GitHub repository tt-a1i/archify (102,155 stars, last pushed today), licensed Apache-2.0. It adds 541 tokens to every session, about $0.0022 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-09-29.

Related

archify AGENTS.md compared with instructions from other repositories

archify AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
archify AGENTS.mdtt-a1i/archifyInstructions file102ktodayApache-2.0A541Codex, 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 file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot