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-buildgit 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-build)<a href="https://agentmods.dev/commands/aaronbassett/agent-foundry/flutter-build"><img src="https://agentmods.dev/badge/commands/aaronbassett/agent-foundry/flutter-build.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.00022 | $0.03603 |
| Opus 5 | $0.00011 | $0.01801 |
| Sonnet 5 | $0.00004 | $0.00721 |
| Haiku 4.5 | $0.00002 | $0.00360 |
Grade A, and why
flutter-build 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 — 606 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flutter Multi-Platform Build Manager
This command orchestrates building and packaging Flutter applications for all supported platforms with production-ready configurations, code signing, and optimization.
Usage
/flutter-build <platform> [mode] [options]
Platforms
android- Build APK/AAB for Androidios- Build IPA for iOS (macOS only)web- Build web appwindows- Build Windows executablemacos- Build macOS app (macOS only)linux- Build Linux app (Linux/macOS only)all- Build for all available platforms
Build Modes
release- Production build (default)debug- Debug build with assertionsprofile- Performance profiling build
Options
--flavor=<name>- Build flavor (dev, staging, prod)--obfuscate- Obfuscate Dart code--split-per-abi- Create separate APKs per ABI (Android)--bundle- Create app bundle instead of APK (Android)--export-method=<method>- iOS export method (app-store, ad-hoc, enterprise, development)--codesign- Code sign the build (required for iOS/macOS distribution)--analyze-size- Generate size analysis report
Examples
# Android release build
/flutter-build android release
# iOS App Store build with obfuscation
/flutter-build ios release --export-method=app-store --obfuscate --codesign
# Android bundle with flavor
/flutter-build android release --bundle --flavor=prod
# Multi-platform release
/flutter-build all release --obfuscate
# Web with size analysis
/flutter-build web release --analyze-size
# Development build for testing
/flutter-build android debug --flavor=dev
Implementation
When this command runs:
1. Pre-build Validation
Check environment and prerequisites:
# Verify Flutter installation
flutter doctor -v
# Check we're in a Flutter project
if [ ! -f "pubspec.yaml" ]; then
echo "Error: Not a Flutter project"
exit 1
fi
# Verify platform support
flutter config
Platform-Specific Checks:
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 · 606 lines · 22 tokens per session scan A fb9259bcbded
flutter-build is a command published in the GitHub repository aaronbassett/agent-foundry (4 stars, last pushed 19d ago), licensed MIT. It adds 22 tokens to every session and 3,603 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
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.
build-verify
Run the full build / test / analyze / format verification pass for this Flutter app.
create-pr-from-staged-changes
You are helping to create a pull request following the iOS team's standard template.
apollo-status
Show the current Apollo removal migration progress.
ios-privacy
Prepare privacy labels, permissions, policy links, and data-use truth for iOS release.
initialize-ios
Manual override: initialize ast-index for iOS/Swift/ObjC project.