Flutter-Structurizr: Instructions file for Claude Code

CLAUDE.md

Flutter-Structurizr CLAUDE.md is an instructions file for Claude Code from Consiliency/Flutter-Structurizr. It costs 7,294 tokens per session, scanned A, original, MIT.

Developer instructions for a Dart and Flutter version of Structurizr, a tool for creating and viewing software architecture diagrams.

In plain words
What is it for?
Use them when changing the diagram model, Flutter interface, rendering code, network client, state management, or project documentation.
Why use it?
They explain how the original JavaScript and Java parts map to the new application, helping contributors keep the port consistent.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is Consiliency/Flutter-Structurizr's own configuration. It tells Claude Code 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/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Consiliency/Flutter-Structurizr

Made for: Claude Code.

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 CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/consiliency/flutter-structurizr/claude-md"><img src="https://agentmods.dev/badge/instructions/consiliency/flutter-structurizr/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,294 This file is loaded in full into every session.
When invoked 7,294 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.07294 $0.07294
Opus 5.5 $0.02918 $0.02918
Sonnet 5.5 $0.01459 $0.01459
Haiku 4.5 $0.00729 $0.00729

Measured 2mo ago against content hash ad721a417fda, 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 CLAUDE.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.

CLAUDE.md · 944 lines

How it starts

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

CLAUDE.md

NOTE: This file is for developer memory, best practices, and lessons learned only. Do not use for app status, user documentation, or implementation progress. All user-facing status and documentation belong in the README and specs.

Original Structurizr Technical Stack

The original Structurizr implementations that are being ported to Dart/Flutter:

  • Structurizr UI: JavaScript/TypeScript single-page application
  • Structurizr Lite: Java-based standalone application
  • Structurizr DSL: Text-based DSL implemented in Java
  • Structurizr JSON Schema: JSON schema definition for serialization

Dart/Flutter Implementation

This project is implemented using:

  • Dart: Core language for all logic (v3.0.0+)
  • Flutter: UI framework (v3.10.0+)
  • Riverpod: State management
  • CustomPainter: Custom rendering for diagrams
  • WebView: For complex rendering tasks like AsciiDoc

Original to Dart Mapping

Original Component Dart/Flutter Implementation
StructurizrClient.java infrastructure/network/structurizr_client.dart
Workspace.java domain/model/workspace.dart
Model.java domain/model/model.dart
StructurizrDslParser.java domain/parser/parser.dart
Person.java Re-export from domain/model/model.dart via domain/model/person.dart
SoftwareSystem.java Re-export from domain/model/model.dart via domain/model/software_system.dart
Container.java Re-export from domain/model/model.dart via domain/model/container.dart
Documentation.java domain/documentation/documentation.dart
TableOfContents.js presentation/widgets/documentation/table_of_contents.dart
MarkdownRenderer.js presentation/widgets/documentation/markdown_renderer.dart
AsciiDocRenderer.js presentation/widgets/documentation/asciidoc_renderer.dart
JavaScript UI code presentation/widgets/ directory
Structurizr Styles domain/style/styles.dart

Read the full file on GitHub · 944 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 · 944 lines · 7,294 tokens per session scan A ad721a417fda

Subscribe to this mod's changes

Flutter-Structurizr CLAUDE.md is an instructions file published in the GitHub repository Consiliency/Flutter-Structurizr (7 stars, last pushed 11d ago), licensed MIT. It adds 7,294 tokens to every session, about $0.0292 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 CLAUDE.md compared with instructions from other repositories

Flutter-Structurizr CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Flutter-Structurizr CLAUDE.mdConsiliency/Flutter-StructurizrInstructions file711d agoMITA7,294Claude Code
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