systematic AGENTS.md

Project instructions for Systematic, a plugin that provides structured brainstorming, planning, coding, and review workflows for coding agents.

In plain words
What is it for?
Use it when contributing to Systematic and you need to find where code belongs, understand how the plugin works, or follow its development rules.
Why use it?
It explains the project’s architecture, directory layout, conventions, and known anti-patterns so changes fit the existing codebase.

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

Made for: Codex, OpenCode.

Per session 1,528 This file is loaded in full into every session.
When invoked 1,528 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01528 $0.01528
Opus 5 $0.00764 $0.00764
Sonnet 5 $0.00306 $0.00306
Haiku 4.5 $0.00153 $0.00153

Measured yesterday against content hash 4cb2a6e90503, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

systematic 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 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.

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

How it starts

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

AGENTS.md - Coding Agent Guidelines for Systematic

Generated: 2026-05-01 | Commit: 2e9453a | Branch: main

Overview

Systematic is a plugin providing compound-engineering loops (brainstorm, plan, work, review) for OpenCode, Pi, and Claude Code. It ships as an npm package with two distinct parts: TypeScript source (src/) for plugin logic and bundled Markdown assets (skills/, agents/) for content. Full architectural detail lives in ARCHITECTURE.md; directory layout and where to add new code lives in STRUCTURE.md. This file covers contributor conventions, commands, and anti-patterns.

For Architecture Questions

Question Go to
How does the plugin work? ARCHITECTURE.md
Which plugin hooks are registered? ARCHITECTURE.md
What invariants must hold? ARCHITECTURE.md
What is the config priority order? ARCHITECTURE.md
Where do I put new code? STRUCTURE.md
What does each directory contain? STRUCTURE.md
What are the naming conventions? STRUCTURE.md
What harnesses and compatibility evidence are verified? HARNESSES.md
What conventions apply to my code? This file (Conventions section below)
What patterns should I follow? This file (Conventions + Anti-Patterns below)

Before implementing features or diagnosing failures, search docs/solutions/ for related past solutions by frontmatter metadata and reuse verified patterns where they still apply.

Commands

bun install              # Install deps
bun run build            # Build to dist/
bun run typecheck        # Type check (strict)
bun run lint             # Biome linter
bun test tests/unit      # Unit tests (60 files)
bun test tests/integration  # Integration tests (11 files)
bun test                 # All tests
bun test --filter "pattern"  # Filter tests
bun run docs:dev         # Local docs site
bun run docs:build       # Build docs (generates reference + builds Starlight)
bun run docs:generate    # Sync reference content from bundled assets
bun run docs:verify      # Run docs build the same way CI does (use before approving docs-framework dep bumps)
bun run registry:build   # Build OCX registry
bun run registry:drift   # Check registry source drift vs generated assets
bun run registry:validate  # Validate registry without building

Read the full file on GitHub · 86 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 First seen · 86 lines · 1,528 tokens per session scan A 4cb2a6e90503

Subscribe to this mod's changes

systematic AGENTS.md is an instructions file published in the GitHub repository marcusrbrown/systematic (24 stars, last pushed 2d ago), licensed MIT. It adds 1,528 tokens to every session, about $0.0076 per session on Opus 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.