Flutter-Structurizr: Instructions file for Codex

AGENTS.md

Flutter-Structurizr AGENTS.md is an instructions file for Codex, OpenCode from Consiliency/Flutter-Structurizr. It costs 2,390 tokens per session, scanned A, original, MIT.

Setup and development instructions for a Flutter Structurizr application that includes local copies of Flutter, Dart, and package dependencies for offline work.

In plain words
What is it for?
Use them at the start of a session and when running Flutter or Dart commands, tests, analysis, or dependency setup offline.
Why use it?
They show how to prepare the bundled tools and avoid commands that depend on an internet connection.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

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

Reuse

Borrowing it

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

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 Flutter-Structurizr AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/consiliency/flutter-structurizr/agents-md"><img src="https://agentmods.dev/badge/instructions/consiliency/flutter-structurizr/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,390 This file is loaded in full into every session.
When invoked 2,390 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.02390 $0.02390
Opus 5.5 $0.00956 $0.00956
Sonnet 5.5 $0.00478 $0.00478
Haiku 4.5 $0.00239 $0.00239

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

Security

Grade A, and why

Flutter-Structurizr 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 · 341 lines

How it starts

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

AGENTS.md - Flutter Structurizr for AI Agents

This document provides essential information for AI agents (like Codex) working with the Dart Structurizr codebase. It's specifically structured to help agents understand the repository organization, setup process, and development workflow in an offline environment.

Development Environment Setup

Offline Setup for Codex

The repository includes a complete Flutter SDK and all dependencies for offline development in Codex:

# Run this first when starting a new Codex session
./codex_offline_setup_split.sh

This script will:

  1. Reassemble split archive files from .codex/ directory
  2. Extract the complete Flutter SDK (704MB) and package cache (387MB)
  3. Configure the environment for offline operation
  4. Create wrappers for flutter and dart commands

Important: Use the Wrapper Commands

After setup, always use the wrapper commands to ensure offline operation:

# Use these wrapper commands
./flutter [command]  # Flutter commands
./dart [command]     # Dart commands

# Examples
./flutter pub get
./flutter test
./flutter analyze
./dart analyze

Troubleshooting Offline Setup

If you encounter issues with the offline setup:

# Check if setup completed successfully
test -f .codex_setup_complete && echo "Setup complete" || echo "Setup incomplete"

# Manually extract from archives if needed
cd .codex
cat flutter-sdk.tar.gz.part.* > flutter-sdk.tar.gz
tar -xzf flutter-sdk.tar.gz
cat pub-cache.tar.gz.part.* > pub-cache.tar.gz
tar -xzf pub-cache.tar.gz

Project Structure

Key Directories

lib/
  ├── domain/              # Pure Dart domain models
  │   ├── model/           # Core model elements (Person, SoftwareSystem, etc.)
  │   ├── view/            # View definitions (SystemContextView, etc.)
  │   ├── parser/          # DSL parser components (being refactored)
  │   ├── documentation/   # Documentation model
  │   └── style/           # Styling system
  ├── application/         # Use cases and business logic
  │   ├── workspace/       # Workspace management
  │   ├── dsl/             # DSL parsing
  │   └── command/         # Command pattern for undo/redo
  ├── infrastructure/      # External integrations
  │   ├── serialization/   # JSON serialization
  │   ├── persistence/     # File storage
  │   └── export/          # Export facilities
  ├── presentation/        # Flutter UI components
  │   ├── widgets/         # Reusable widgets
  │   ├── pages/           # Application pages
  │   ├── rendering/       # Canvas rendering
  │   └── layout/          # Layout algorithms

test/                      # Test suite
  ├── domain/              # Domain model tests
  ├── application/         # Application layer tests
  ├── infrastructure/      # Infrastructure tests
  ├── presentation/        # UI component tests
  └── integration/         # End-to-end tests

example/                   # Example applications
  └── lib/                 # Various example implementations

Read the full file on GitHub · 341 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 · 341 lines · 2,390 tokens per session scan A 2009a4edd116

Subscribe to this mod's changes

Flutter-Structurizr AGENTS.md is an instructions file published in the GitHub repository Consiliency/Flutter-Structurizr (7 stars, last pushed 11d ago), licensed MIT. It adds 2,390 tokens to every session, about $0.0096 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

Flutter-Structurizr AGENTS.md compared with instructions from other repositories

Flutter-Structurizr AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Flutter-Structurizr AGENTS.mdConsiliency/Flutter-StructurizrInstructions file711d agoMITA2,390Codex, 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