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.
npx agentmods add commands/aaronbassett/agent-foundry/flutter-newgit clone --depth 1 https://github.com/aaronbassett/agent-foundryWrote 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/commands/aaronbassett/agent-foundry/flutter-new)<a href="https://agentmods.dev/commands/aaronbassett/agent-foundry/flutter-new"><img src="https://agentmods.dev/badge/commands/aaronbassett/agent-foundry/flutter-new.svg" alt="Measured on agentmods" 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 | $0.00019 | $0.01372 |
| Opus 5 | $0.00010 | $0.00686 |
| Sonnet 5 | $0.00004 | $0.00274 |
| Haiku 4.5 | $0.00002 | $0.00137 |
Grade A, and why
flutter-new 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 4d 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 — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create New Flutter Project
This command creates a new Flutter project with optional templates and pre-configured state management, architecture patterns, and development tools.
Usage
/flutter-new <project-name> [template] [options]
Templates
basic- Minimal Flutter app (default)material3- Material Design 3 with themingclean-arch- Clean architecture structurefull-stack- Flutter app + ServerPod backend
Options
--state-management=<provider|bloc|riverpod>- Pre-configure state management--platforms=<android,ios,web,windows,macos,linux>- Enable specific platforms--org=<com.example>- Organization identifier
Examples
# Basic Material 3 app
/flutter-new my_app material3
# Clean architecture with BLoC
/flutter-new my_app clean-arch --state-management=bloc
# Full-stack app with ServerPod
/flutter-new my_backend full-stack
# Web-only app with Riverpod
/flutter-new my_web_app basic --platforms=web --state-management=riverpod
Implementation
When this command runs:
-
Parse Arguments
- Extract project name (required)
- Extract template (default: basic)
- Parse options (state management, platforms, org)
- Validate project name (lowercase, underscores only)
-
Ask for Clarifications (if needed)
- If no template specified, ask which template
- If no state management specified for non-basic template, ask preference
- If no platforms specified, use Flutter defaults
-
Create Base Project
flutter create \ --project-name=<project_name> \ --org=<org_id> \ --platforms=<platforms> \ <project_name> -
Apply Template Based on selected template:
material3 template:
- Update
lib/main.dartwith Material 3 theming - Add
ThemeDatawithuseMaterial3: true - Configure
ColorScheme.fromSeed() - Add dark theme support
- Create
lib/theme/directory with theme configuration
clean-arch template:
- Create directory structure:
lib/ ├── core/ │ ├── error/ │ ├── network/ │ └── utils/ ├── features/ │ └── example/ │ ├── data/ │ │ ├── datasources/ │ │ ├── models/ │ │ └── repositories/ │ ├── domain/ │ │ ├── entities/ │ │ ├── repositories/ │ │ └── usecases/ │ └── presentation/ │ ├── pages/ │ └── widgets/ └── main.dart - Add dependency injection setup (get_it)
- Create example feature with complete layers
- Update
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.
- 4d ago First seen · 200 lines · 19 tokens per session scan A 28f7f371924d
flutter-new is a command published in the GitHub repository aaronbassett/agent-foundry (4 stars, last pushed 19d ago), licensed MIT. It adds 19 tokens to every session and 1,372 once invoked, about $0.0001 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.
Other commands, from other repositories
compose-test
Run Compose UI tests with Espresso. Verify critical user flows.
app-store-audit
Run an enterprise pre submission compliance audit on an iOS or Android app against Apple App Store and Google Play rejection rules. Pass a project path or run from the project root.
ios-privacy
Prepare privacy labels, permissions, policy links, and data-use truth for iOS release.
maestro-selectors-instructions
Guide to using Maestro selectors for targeting UI elements in tests.
initialize-ios
Manual override: initialize ast-index for iOS/Swift/ObjC project.
mobile-performance-check
Analyze mobile app for performance issues using the mobile-best-practices database.