timbers: Instructions file for Codex

AGENTS.md

timbers AGENTS.md is an instructions file for Codex, OpenCode from gorewood/timbers. It costs 5,530 tokens per session, scanned A, original, MIT.

Project instructions for Timbers, a command-line tool that keeps a Git-based development ledger of what was done, why it was done and how it works. They define how contributors should orient themselves in a session and grow the project.

In plain words
What is it for?
Use them when modifying Timbers to check the current branch and worktree, follow the project's design principles, record decisions, and resume work safely.
Why use it?
They give coding agents consistent rules for making small, understandable changes and recovering context between sessions. This reduces premature complexity and decisions that conflict with the project's established direction.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gorewood/timbers/agents-md"><img src="https://agentmods.dev/badge/instructions/gorewood/timbers/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,530 This file is loaded in full into every session.
When invoked 5,530 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.05530 $0.05530
Opus 5.5 $0.02212 $0.02212
Sonnet 5.5 $0.01106 $0.01106
Haiku 4.5 $0.00553 $0.00553

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

Security

Grade A, and why

timbers 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 2mo 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 · 534 lines

How it starts

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

PROJECT INSTRUCTIONS

Timbers — a Git-native development ledger CLI that captures what/why/how as structured records.

Prime Directive — Gall's Law

"A complex system that works is invariably found to have evolved from a simple system that worked. A complex system designed from scratch never works and cannot be patched up to make it work. You have to start over with a working simple system." — John Gall

Always grow complexity from a simple system that already works.

  • Modularity: Simple parts, clean interfaces
  • Clarity: Clarity over cleverness
  • Composition: Design parts to connect with other parts
  • Simplicity: Add complexity only where you must

In practice:

  • Prefer minimal working slices over grand designs
  • Avoid speculative architecture and premature abstraction
  • Make only small, verifiable changes
  • Push back when requests ignore this: Begin → Learn → Succeed → then add complexity

Session Orientation

Before starting any work, verify your context:

  1. Branch: git branch --show-current — confirm you're on the expected branch
  2. Worktree: git worktree list — are you in a worktree or the main repo?
  3. Confirm with user: "I'm on branch X in [worktree/main]. Is this where you want me working?"
  4. Check beads: bd ready — what work is available?

Skipping orientation risks working on the wrong branch, which wastes entire sessions silently.


Session Recovery

Claude Code carries native session continuity (rewind, compact, resume). For cross-session state, beads is the source of truth: bd ready and bd show <id> reconstruct what's in flight. If the user pastes any prior snapshot as their first message, treat it as starting context and confirm: "Recovered session. [brief summary of where we left off]"


Settled Decisions

Items marked SETTLED should not be revisited unless the user explicitly asks.

Read the full file on GitHub · 534 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. 2mo ago First seen · 534 lines · 5,530 tokens per session scan A e2957bc7a6c5

Subscribe to this mod's changes

timbers AGENTS.md is an instructions file published in the GitHub repository gorewood/timbers (4 stars, last pushed 5d ago), licensed MIT. It adds 5,530 tokens to every session, about $0.0221 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

timbers AGENTS.md compared with instructions from other repositories

timbers AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
timbers AGENTS.mdgorewood/timbersInstructions file45d agoMITA5,530Codex, 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