Borrowing it
Nothing to install: this file belongs to tsnAnh/flutter-agentic-starter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/tsnAnh/flutter-agentic-starter/main/AGENTS.mdgit clone --depth 1 https://github.com/tsnAnh/flutter-agentic-starterWrote 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.
[](https://agentmods.dev/instructions/tsnanh/flutter-agentic-starter/agents-md)<a href="https://agentmods.dev/instructions/tsnanh/flutter-agentic-starter/agents-md"><img src="https://agentmods.dev/badge/instructions/tsnanh/flutter-agentic-starter/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.
<a href="https://agentmods.dev/instructions/tsnanh/flutter-agentic-starter/agents-md"><img src="https://agentmods.dev/badge/instructions/tsnanh/flutter-agentic-starter/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01661 | $0.01661 |
| Opus 5.5 | $0.00664 | $0.00664 |
| Sonnet 5.5 | $0.00332 | $0.00332 |
| Haiku 4.5 | $0.00166 | $0.00166 |
Grade A, and why
flutter-agentic-starter 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.
How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to OpenCode when working with code in this repository.
Project Overview
Name: flutter-agentic-starter Type: Flutter/Dart Description: Production-ready Flutter Signals starter template optimized for AI coding agents. Clean architecture, core modules, multi-flavor support. Built for vibe coding with Claude Code, Cursor, and other AI assistants.
Role & Responsibilities
Your role is to analyze user requirements, delegate tasks to appropriate sub-agents, and ensure cohesive delivery of features that meet specifications and architectural standards.
Workflows
- Primary workflow:
./.claude/rules/primary-workflow.md - Development rules:
./.claude/rules/development-rules.md - Orchestration protocols:
./.claude/rules/orchestration-protocol.md - Documentation management:
./.claude/rules/documentation-management.md - And other workflows:
./.claude/rules/*
IMPORTANT: Analyze the skills catalog and activate the skills that are needed for the task during the process.
IMPORTANT: You must follow strictly the development rules in ./.claude/rules/development-rules.md file.
IMPORTANT: Before you plan or proceed any implementation, always read the ./README.md file first to get context.
IMPORTANT: Sacrifice grammar for the sake of concision when writing reports.
IMPORTANT: In reports, list any unresolved questions at the end, if any.
Development Principles
- YAGNI: You Aren't Gonna Need It - avoid over-engineering
- KISS: Keep It Simple, Stupid - prefer simple solutions
- DRY: Don't Repeat Yourself - eliminate code duplication
- Karpathy Guidelines: Think before coding, keep changes simple, edit surgically, and define verifiable success criteria.
Coding Agent Rules
- Read
README.mdand relevant docs before implementation. - State assumptions when requirements are ambiguous; ask before risky guesses.
- Hard rule: Minimal focused edits only. Touch only files and lines required for requested behavior.
- Hard rule: Do not rewrite, reformat, reorder, regenerate, or clean up unrelated code unless required.
- Hard rule: Never manually edit build_runner generated files, including
*.g.dart,*.freezed.dart,*.config.dart, or files markedGENERATED CODE - DO NOT MODIFY BY HAND. - Hard rule: Avoid primitive obsession. Prefer existing SDK/package types, enums/enhanced enums, sealed classes, or small value objects over raw
String, rawint, rawbool, and magic constants for finite or high-risk domain concepts. Parse wire primitives at boundaries; keep raw primitives only for open user text, raw JSON/generated/localized output, and simple IDs/keys without behavior. - Hard rule: Prefer maintained pub.dev packages before implementing reusable Flutter/Dart utilities, widgets, integrations, or helpers yourself.
- Hard rule: For Flutter source icons/images, find suitable existing internet assets instead of creating them yourself. Prefer SVG for icons/simple vectors, PNG/JPG for raster/photo use cases, and record source/license when adding assets.
- Keep ephemeral widget-only UI state local with
StatefulWidget/setState; use injectable feature view models with privateSignalfields and publicReadonlySignalviews for shared, persisted, business-critical, or asynchronous state. - Use
SignalWidgetfor signal-driven screens and focusedSignalBuilderboundaries when only a subtree should rebuild. UseAsyncState<T>for loading/data/error,computedfor derived state, andbatchwhen multiple writes must publish atomically. - Keep navigation, dialogs, and snackbars at the widget boundary. Explicitly dispose every
effect, signal subscription, stream connection, and lifecycle observer owned by a long-lived object. Do not use.watch(context)orSignalsMixin. - Use
SafeArea; honor text scaling and accessibility-awareMediaQuery. - Use
LayoutBuilderfor parent constraints andMediaQuery.sizeOf(context)for app-window size; avoid orientation or hardware type checks for top-level layout decisions. - On large screens, add useful panes/content instead of stretching widgets; center and constrain forms, text, and list rows with
ConstrainedBox/max widths. - Use lazy builders for long lists/grids. Use
GridView.builderorSliverGridDelegateWithMaxCrossAxisExtentfor large feeds instead of wider list rows; avoid intrinsic layout passes in large scrolling surfaces. - Prefer width-adaptive navigation: compact
NavigationBar/bottom nav, largerNavigationRail, drawer, or split shell. - Prefer canonical large-screen layouts when they fit: list-detail, feed, and supporting pane. Preserve selection/pane state across resize, rotation, fold, and unfold; compact widths show one pane with back behavior, expanded widths show panes together.
- For foldables, do not lock orientation; use
MediaQuery.displayFeatures/DisplayFeatureSubScreenwhen content must avoid hinges/folds. Use FlutterDisplayAPI only for the strict orientation-lock letterboxing exception. - Preserve scroll position with
PageStorageKeywhere list identity should survive rotation, fold, or resize. - Custom controls need semantics, labels, focus traversal, keyboard activation, hover, and pointer support where relevant.
- Use isolates/
computeonly for measured UI jank or clearly heavy JSON, media, database, or list-processing work. - Add
restorationScopeId/restorationIdforMaterialApp.router, GoRouter, and restorable pages when navigation state should survive OS process death. - New production user-facing strings go through ARB/localization unless the surrounding file is intentionally demo-only.
- Prefer simple fakes over broad mocks; add widget/accessibility guideline tests for non-trivial UI.
- For large-screen/adaptive UI changes, verify resizing, both orientations, physical keyboard, mouse/trackpad, and fold/unfold scenarios where possible.
- Document any pub.dev package-first exception with reason.
- Keep repo-owned source code files under 300 lines when practical; split focused concerns when it improves readability.
- Respect dirty worktrees. Never revert user changes unless explicitly asked.
- Verify changes with
flutter analyzeandflutter testwhen code changes. - For generated code changes, edit source files only, then run
dart run build_runner build --delete-conflicting-outputs. - Treat
.env, API keys, tokens, and platform secrets as confidential.
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.
- 2mo ago First seen · 117 lines · 1,661 tokens per session scan A 650eb3c6f08b
flutter-agentic-starter AGENTS.md is an instructions file published in the GitHub repository tsnAnh/flutter-agentic-starter (8 stars, last pushed 3mo ago), licensed MIT. It adds 1,661 tokens to every session, about $0.0066 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.
flutter-agentic-starter AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| flutter-agentic-starter AGENTS.mdtsnAnh/flutter-agentic-starter | Instructions file | 8 | 3mo ago | MIT | A | 1,661 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 275k | 3d ago | MIT | A | 4,313 | Codex, OpenCode |