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 skills/verygoodopensource/vgv-ai-flutter-plugin/green-gatenpx skills add VeryGoodOpenSource/vgv-ai-flutter-plugin --skill green-gategit clone --depth 1 https://github.com/VeryGoodOpenSource/vgv-ai-flutter-pluginWrote 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/skills/verygoodopensource/vgv-ai-flutter-plugin/green-gate)<a href="https://agentmods.dev/skills/verygoodopensource/vgv-ai-flutter-plugin/green-gate"><img src="https://agentmods.dev/badge/skills/verygoodopensource/vgv-ai-flutter-plugin/green-gate.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.00092 | $0.04099 |
| Opus 5 | $0.00046 | $0.02049 |
| Sonnet 5 | $0.00018 | $0.00820 |
| Haiku 4.5 | $0.00009 | $0.00410 |
Grade A, and why
green-gate 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 5d 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 — 309 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Green Gate
Autonomous quality-gate loop for Dart and Flutter packages. Runs four gates — analyze, format, test, coverage — reads real tool output, edits code and tests to fix failures, and loops until one final iteration proves all four pass simultaneously with observed numbers. Acts autonomously on objective failures; escalates only on stalls, genuine ambiguity, or infrastructure failure.
This skill orchestrates tools and edits files. It defers the how of writing
tests to the testing skill — it never duplicates mocking, structure, or
coverage-pattern guidance.
Core Standards
Apply these to ALL green-gate work:
- MCP tools only, never the Bash equivalent — analyze via
mcp__dart__analyze_files, format viamcp__dart__dart_format, test and coverage viamcp__very-good-cli__test. Every gate has an MCP tool; none of them runs through a shell command. The Bash test path (very_good test,flutter test,dart test) is hook-blocked byblock-cli-workarounds.shand will be denied, anddart analyze/dart formatvia Bash are redundant with the MCP tools. Bash is reserved for parsingcoverage/lcov.info— nothing else. - A plan-only request is still this skill's job — when the user asks which
tools, which arguments, or what order the gates run in and does not want a run
yet, answer from this skill: the same tool calls (
mcp__dart__analyze_fileswithapplyFixes: true,mcp__dart__dart_format,mcp__very-good-cli__testwith the coverage triple), in gate order, with the precedence rule that makes the order matter. Never substitute an improvised shell plan offlutter analyze/flutter test --coveragefor the tools the loop actually runs. - Never cache green — re-evaluate every gate every round. Fixing analyze or test failures and writing new test files shifts both formatting and the coverage denominator, so a previously green gate can regress.
- Exit only on observed numbers — the loop terminates only after a single
final iteration in which analyze is clean, format reports zero changes, all
tests pass, and
min_coverageis satisfied, all observed in the same round. Declaring success from memory is forbidden; confirm success only with the actual numbers observed in that final round. - Pass
coverage: true,min_coverage, andcheck_ignore: truetogether — omittingcoverage: truesilently produces nolcov.info(mimics a misconfiguration); omittingcheck_ignore: truemakes the// coverage:ignoreremedy a no-op. - Defer test-writing to the
testingskill — when a fix requires authoring tests, followskills/testing/SKILL.mdfor structure, mocking, and naming. - Fix root causes, not symptoms — never weaken a gate to pass it (do not
delete failing assertions, lower the target to dodge work, or
// coverage:ignorereachable code). Escalate genuine product/API decisions instead of guessing. - Act autonomously on objective failures — analyzer errors, red tests, and coverage gaps are fixed without re-prompting. Escalate only per the matrix.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago First seen · 309 lines · 92 tokens per session scan A 1efd2a05f9cd
green-gate is a skill published in the GitHub repository VeryGoodOpenSource/vgv-ai-flutter-plugin (160 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 4,099 once invoked, about $0.0005 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-30.
Other skills, from other repositories
Flutter Testing Patterns
Flutter app testing with widget tests, integration tests, golden tests, Mockito, bloc testing, and Flutter Driver for end-to-end scenarios.
fl-data-layer
Builds the data layer with Freezed DTOs, Retrofit clients, the storage-seam local data manager, and repositories wired through injectable.
fl-route-config
Configures routes with the IRoute / CustomRouter abstractions in core and exposes navigation via a BuildContext coordinator.
fl-bus-event
Handles cross-feature BusEvent communication with EventBusManager in the Flutter base template.
fl-module-scaffold
Scaffolds a new feature module under apps/main/lib/presentation/modules using the bundled module generator.
fl-ui-components
Awareness index of every reusable widget in flui, fltheme, flmedia, and core's commonwidget — name, one-line purpose, when to reach for it instead of writing a new one.