forgetful: Instructions file for Codex

AGENTS.md

forgetful AGENTS.md is an instructions file for Codex, OpenCode from ScottRBK/forgetful. It costs 870 tokens per session, scanned A, original, MIT.

A development guide for Forgetful, a project organized in layers from web routes through services and storage adapters. It explains the project’s integration and end-to-end testing approach.

In plain words
What is it for?
Use it when changing Forgetful’s routes, services, repositories, or adapters, and when running tests with in-memory stubs, SQLite, or PostgreSQL.
Why use it?
It helps an agent keep business logic separate from implementation details and test complete workflows in the expected environments.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/scottrbk/forgetful/agents-md"><img src="https://agentmods.dev/badge/instructions/scottrbk/forgetful/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 870 This file is loaded in full into every session.
When invoked 870 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.00870 $0.00870
Opus 5.5 $0.00348 $0.00348
Sonnet 5.5 $0.00174 $0.00174
Haiku 4.5 $0.00087 $0.00087

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

Security

Grade A, and why

forgetful 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 3d 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 · 90 lines

How it starts

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

Forgetful Development Guide

Contributions

Before opening issues or pull requests, read the contributor guide's AI tool guidance and submission policy.

Architecture

Before changing code or reasoning about this repository's architecture, read the architecture overview.

Consult the detailed class map only as needed, using the overview's reading advisories. Do not load the entire map into context by default.

After major code changes, check whether the architecture diagram or explanations are still accurate and update them if needed. Small changes do not require diagram regeneration. Preserve reviewed explanations that remain accurate. Keep the overview at most 500 lines; it has no column-width limit, including Mermaid statements.

Mycelium is optional tooling, not a prerequisite for contributing or updating the overview. Its architecture skill and map-generation skill are available in ScottRBK/mycelium if useful. If refreshing the generated backup, use fresh analysis, keep the JSON outside the repository, and export full detail with --max-classes 1000, --test-path tests, and --test-path test_harness/runs.

Layered architecture: routes -> services -> protocols -> repositories/adapters No pollution of service layer with integration/implementation details

Run uv run pytest tests/architecture/ to check and prove the agreed import boundaries.

Testing Philosophy

We focus on integration and E2E tests over unit tests. Tests should cover critical workflows without exhaustive edge case coverage.

Read the full file on GitHub · 90 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. 3d ago Changed · +2 tokens per session 59e0f220a1f2
  2. 7d ago Changed · +6 lines · +51 tokens per session fac7e1180429
  3. 10d ago Changed · +2 lines · +19 tokens per session 0f84a351a280
  4. 17d ago Changed · +5 lines · +65 tokens per session 5e37cc2a30d2
  5. 19d ago Changed · +24 lines · +311 tokens per session d31f5037c502
  6. 1mo ago Changed · +2 lines · +22 tokens per session 735ac1eb82b4
  7. 1mo ago First seen · 51 lines · 400 tokens per session scan A 413881b8deb8

Subscribe to this mod's changes

forgetful AGENTS.md is an instructions file published in the GitHub repository ScottRBK/forgetful (340 stars, last pushed 4d ago), licensed MIT. It adds 870 tokens to every session, about $0.0035 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-30.

Related

Other instructions, from other repositories