Flutter-Structurizr CLAUDE.md

Flutter-Structurizr CLAUDE.md is an instructions file for coding agents 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

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/consiliency/flutter-structurizr/claude-md
Clone the repo
git clone --depth 1 https://github.com/Consiliency/Flutter-Structurizr

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.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.svg" alt="Measured on agentmods" 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. 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.07294 $0.07294
Opus 5 $0.03647 $0.03647
Sonnet 5 $0.01459 $0.01459
Haiku 4.5 $0.00729 $0.00729

Measured 3d ago against content hash ad721a417fda, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. 3d 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 1mo ago), licensed MIT. It adds 7,294 tokens to every session, about $0.0365 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-31.

Related

Other instructions, from other repositories