strale AGENTS.md

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

Made for: Codex, OpenCode.

Per session 3,866 This file is loaded in full into every session.
When invoked 3,866 The same file — it is already loaded in full.
Security scan C 1 finding. 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.03866 $0.03866
Opus 5 $0.01933 $0.01933
Sonnet 5 $0.00773 $0.00773
Haiku 4.5 $0.00387 $0.00387

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

Security

Grade C, and why

strale AGENTS.md scanned grade C with 1 finding 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 2d 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.

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 · 264 lines

How it starts

The opening of the file, as written. The whole thing — 264 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.)

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.

Notion & GitHub Access

Full workspace structure, governance rules (one page per topic, To-do DB is the only task list, brainstorms → Journal DB, etc.) and the project-spec pointer: CLAUDE.md → "Notion Access" / "Notion Workspace Structure" / "Notion Governance Rules".

Tech Stack & Project Structure

Node.js + TypeScript, Hono, PostgreSQL + Drizzle. Monorepo: apps/api (Hono server), packages/* (SDKs, MCP server, framework plugins). Hosting, processing region, payments vendor, and headless-browser vendor are the kind of facts this file doesn't restate (vendor names and processing region are canonical drift-prevention surfaces — see below): read CLAUDE.md → "Tech Stack" or GET /v1/platform/facts. Full tree diagram and package list: CLAUDE.md → "Project Structure".

Read the full file on GitHub · 264 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. 2d 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 (4 stars, last pushed 3d ago), licensed MIT. It adds 3,866 tokens to every session, about $0.0193 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.