Archive-Suite: Instructions file for Claude Code

AGENTS.md

Archive-Suite AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from charlesapetersen/Archive-Suite. It costs 4,594 tokens per session, scanned A, original, MIT.

Shared instructions for Archive Suite, a monorepo containing several related apps in one repository. They describe agent coordination, worktree use, ownership areas, and required checks.

In plain words
What is it for?
Use them when working anywhere in Archive Suite, especially when handling shared files, app-specific instructions, worktrees, or the requested daemon report walkthrough.
Why use it?
They reduce conflicts between parallel contributors and define safety gates before editing, building, or coordinating work.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PreToolUse hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

This is charlesapetersen/Archive-Suite's own configuration. It tells Claude Code, Codex and OpenCode how to work on Archive-Suite 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 Archive-Suite configures →

Reuse

Borrowing it

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

Made for: Claude Code, 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 Archive-Suite AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/charlesapetersen/archive-suite/agents-md"><img src="https://agentmods.dev/badge/instructions/charlesapetersen/archive-suite/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,594 This file is loaded in full into every session.
When invoked 4,594 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.04594 $0.04594
Opus 5.5 $0.01838 $0.01838
Sonnet 5.5 $0.00919 $0.00919
Haiku 4.5 $0.00459 $0.00459

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

Security

Grade A, and why

Archive-Suite 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 8d 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 · 199 lines

How it starts

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

Archive Suite — Agent / Concurrent-Development Guide

Umbrella conventions for working in this monorepo (solo or with multiple agents in parallel). Each app also has its own AGENTS.md with app‑specific lanes — read it before working inside a subdir: ArchiveProcessor/AGENTS.md · ArchiveReader/AGENTS.md · ArchiveNotes/AGENTS.md.

🛑 If the owner asks for the "daemon report" (or "the report", or the old name "morning review"), that is a WALKTHROUGH — one decision at a time, waiting for each answer, writing nothing. It is not a summary and not a plan entry. Read CLAUDE.md → "THE DAEMON REPORT IS A WALKTHROUGH, NOT A DOCUMENT" before replying. Appending to that section is the unattended daemon's job, never yours.

Ground rules

  • Worktree-first — mandatory, not optional. Before any edit/build/commit, be in your own git worktree; never work in the primary checkout, even if you think you're the only instance running. Run the idempotent first-step check in CLAUDE.md → "Worktree-first" (it creates ../suite-wt-<stamp> only if you're not already isolated, so it's safe to run every session). Per‑worktree DerivedData (-derivedDataPath ./build/DD, already the default in each launch.sh) keeps parallel builds from colliding. Remove your worktree once your work is pushed so they don't pile up for the owner. Only ever touch worktrees you created — another agent's uncommitted WIP is not yours to clean up. Superseded 2026-07-29: the long-standing "never touch the Codex worktree ~/Documents/GPT/archive-suite-processor-fixes" instruction is retired — the owner asked for it to be removed and it is gone (its work was preserved first; see §"Working the to-do list as an external agent", rule 6). Don't go looking for it. The standing rule is unchanged and matters more than the exception: if you find a stray worktree carrying uncommitted work, preserve it before removing anything, and never --force past a git refusal.
  • After any pull/switch, xcodegen generate (or the app's bootstrap.sh) — the .xcodeproj is gitignored.
  • Stay in your lane. A change scoped to one app touches only that subdir. Loading the other app is almost always unnecessary (see the token‑efficiency directive in CLAUDE.md).
  • Never write to a real corpus during dev/test (copy to scratchpad); never add a tag‑write call outside Reader's audited TagWriter, or any move/rename/delete/content‑write call anywhere.
  • Done = code + docs in the same commit. Ship a SUITE_TODO.md item → flip its checkbox (cite the commit); fix/find a bug → update KNOWN_ISSUES.md; ship an execution-plans/ plan → delete it. SUITE_TODO.md is the tracker of record — an unattended run reconciles it before ending, never leaning on a private plan file. The owner shouldn't have to catch a stale tracker. (Full rule: CLAUDE.md → "Docs & backlog convention.")

Read the full file on GitHub · 199 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. 8d ago Changed · +13 tokens per session 6cea4740e4d5
  2. 16d ago Changed · -3 tokens per session 30edf25bd0ed
  3. 25d ago Changed · +2 lines · +64 tokens per session f07f4dc81bda
  4. 29d ago Changed · +2 lines · +46 tokens per session 77d03c4f6e36
  5. 1mo ago Changed · -56 lines · -999 tokens per session 7aced4c342a8
  6. 2mo ago First seen · 251 lines · 5,473 tokens per session scan A 591da1e11b45

Subscribe to this mod's changes

Archive-Suite AGENTS.md is an instructions file published in the GitHub repository charlesapetersen/Archive-Suite (4 stars, last pushed yesterday), licensed MIT. It adds 4,594 tokens to every session, about $0.0184 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

Archive-Suite AGENTS.md compared with instructions from other repositories

Archive-Suite AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Archive-Suite AGENTS.mdcharlesapetersen/Archive-SuiteInstructions file4yesterdayMITA4,594Claude Code, Codex, 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