strale: Instructions file for Claude Code

AGENTS.md

strale AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from strale-io/strale. It costs 6,490 tokens per session, scanned D, original, MIT.

Project instructions for working on the strale-io/strale codebase, including its documentation, tools, technology choices, and file structure.

In plain words
What is it for?
They help start sessions, choose between quick and full work modes, access Notion and GitHub, follow escalation rules, and avoid hazards involving worktrees and dependencies.
Why use it?
They give an agent project-specific procedures and point it to authoritative sources when details may change.

Instructions file for Claude CodeCodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/strale-io/strale/agents-md"><img src="https://agentmods.dev/badge/instructions/strale-io/strale/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,490 This file is loaded in full into every session.
When invoked 6,490 The same file — it is already loaded in full.
Security scan D 2 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.06490 $0.06490
Opus 5.5 $0.02596 $0.02596
Sonnet 5.5 $0.01298 $0.01298
Haiku 4.5 $0.00649 $0.00649

Measured yesterday against content hash 5a2319803a9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

strale AGENTS.md scanned grade D with 2 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 yesterday.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`~/.codex/config.toml` by its trunk path, which must exist on `main`)

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

checkout's `node_modules`, then later removing that worktree with `rm -rf`,
AGENTS.md · 416 lines

How it starts

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

About this file

AGENTS.md is the Codex-CLI counterpart to CLAUDE.md. It is a condensed derivative — CLAUDE.md is canon. Where a fact can drift (capability/solution counts, decision full text, which solutions are active, exact protocol steps), this file points at the CLAUDE.md section or the canonical source (the solutions/capabilities tables, GET /v1/platform/facts) instead of restating it. Refresh this file against CLAUDE.md when drift is noticed — don't let it silently go stale again. (It was ~4 months stale as of 2026-08-17; see docs/company/CHARTER.md and the Report Filing Convention section of CLAUDE.md for the history.)

Times for Petter: give every time in Swedish local time (Europe/Stockholm: CET, CEST in summer), never UTC. UTC stays only in machine artifacts (logs, receipts, cron, commit metadata). Petter, 2026-10-15.

Session Start

  1. Declare session intent (one sentence).
  2. Determine mode — Quick (bug fix, config change, <2h, no design decisions) vs Full (new feature, design exploration, multi-component, anything requiring decisions). Full criteria and escalation triggers: .claude/PROTOCOL.md.
  3. Escalation triggers: second feature touched, design decision emerges,

    2hr estimate, contradiction detected.

Review routing

Read CLAUDE.md -> "Review routing" in full, including its dated amendments and the review-backlog obligations. Do not use a copied subset of that section: a later amendment can change how earlier instructions apply. Explicit current founder instructions take precedence over repository copies; record any resulting review limitation without silently closing historical backlog rows or treating an old quota note as current account status.

Repo-native migration continuation — pre-cutover

For continuation of the repo-native operating-model migration, create an isolated worktree from current origin/main, then read the Current continuation checkpoint in docs/strategy/2026-08-31-repo-native-operating-model-migration.md and the handoff it names. Never choose the next migration task from the dirty shared checkout or an older dated handoff. This pointer does not activate candidate project documents or retire Notion before M4.

Read the full file on GitHub · 416 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. yesterday Changed · +1 lines · +45 tokens per session 5a2319803a9c
  2. 4d ago Changed · +1 lines · +83 tokens per session c4c5b480ff2e
  3. 8d ago Changed · +2 lines · +55 tokens per session 8867121cd6b5
  4. 9d ago Changed · +2 lines · +65 tokens per session 8ac66606f955
  5. 12d ago Changed · +2 lines · +61 tokens per session c88013e8dcac
  6. 13d ago Changed · +4 lines · +231 tokens per session 7f571a9ae243
  7. 19d ago Changed · +2 lines · +56 tokens per session 309a79da1473
  8. 2mo ago Changed · -3 lines · -69 tokens per session fa43e3e833b3
  9. 2mo ago Changed · +141 lines · +2,097 tokens per session scan C → D d5d1dc2e931d
  10. 2mo ago First seen · 264 lines · 3,866 tokens per session scan C 56c3688e00b2

Subscribe to this mod's changes

strale AGENTS.md is an instructions file published in the GitHub repository strale-io/strale (5 stars, last pushed yesterday), licensed MIT. It adds 6,490 tokens to every session, about $0.0260 per session on Opus 5.5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

strale AGENTS.md compared with instructions from other repositories

strale AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
strale AGENTS.mdstrale-io/straleInstructions file5yesterdayMITD6,490Claude 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