dart-args-production-cli

dart-args-production-cli is a skill for Claude Code, Codex from ariaramin/flutter-skills. It costs 121 tokens per session (4,173 once invoked), scanned A, original, MIT.

A guide for building command-line programs in Dart and Flutter with package:args. Command-line programs run from a terminal and accept options, flags, and commands typed by a user or script.

In plain words
What is it for?
It supports creating, reviewing, debugging, testing, migrating, and maintaining Dart command-line tools and Flutter build, release, migration, localization, and CI utilities.
Why use it?
It helps keep argument parsing separate from app settings and other unrelated concerns, while handling commands, help text, invalid input, testing, and version changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It supports creating, reviewing, debugging, testing, migrating, and maintaining Dart command-line tools and Flutter build, release, migration, localization, and CI utilities.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/dart-args-production-cli
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.

Any agent
npx skills add ariaramin/flutter-skills --skill dart-args-production-cli
Clone the repo
git clone --depth 1 https://github.com/ariaramin/flutter-skills

Made for: Claude Code, Codex.

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 dart-args-production-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/ariaramin/flutter-skills/dart-args-production-cli/github.svg)](https://agentmods.dev/skills/ariaramin/flutter-skills/dart-args-production-cli)
Your own site
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/dart-args-production-cli"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/dart-args-production-cli/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.

agentmods 80×15 button for dart-args-production-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/dart-args-production-cli"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/dart-args-production-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,173 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00121 $0.04173
Opus 5.5 $0.00048 $0.01669
Sonnet 5.5 $0.00024 $0.00835
Haiku 4.5 $0.00012 $0.00417

Measured 1mo ago against content hash d539639539d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dart-args-production-cli 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 1mo 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.

skills/dart-args-production-cli/SKILL.md · 511 lines

How it starts

The opening of the file, as written. The whole thing — 511 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dart package:args — Production CLI Engineering Skill

Purpose

Use this skill as the decision and implementation layer for production Dart/Flutter CLI work.

Treat package:args as an adapter for process or Dart-entrypoint arguments. Do not treat it as a general Flutter settings, navigation, persistence, environment, or configuration library.

Trigger Rules

Use this skill for:

  • Dart command-line applications and package executables.
  • ArgParser, ArgResults, flags, options, multi-options, aliases, positionals, and parsing errors.
  • Command<T>, CommandRunner<T>, commands, subcommands, help, and usage failures.
  • Flutter companion tooling such as release, build, localization, migration, asset, bootstrap, and code-quality utilities.
  • CI/CD utilities implemented in Dart.
  • Flutter Windows/macOS/Linux apps that intentionally receive Dart entrypoint arguments.
  • Reviewing, debugging, testing, migrating, or optimizing existing package:args code.
  • Deciding whether package:args is appropriate at all.

Do not activate args merely because:

  • a Flutter app has settings;
  • a web app has query parameters;
  • an app receives a deep link;
  • the project uses --dart-define;
  • configuration must persist between launches.

Research Baseline

This skill targets current stable package:args 2.7.0, minimum Dart 3.3. Current relevant features include typed ArgResults.flag(), option(), and multiOption(), aliases, mandatory single options, hideNegatedUsage, and generic Command<T> / CommandRunner<T>.

If the project resolves another version, inspect pubspec.lock, the current official API, and the changelog before relying on version-sensitive behavior. Never copy an unreleased API from the repository default branch into code targeting 2.7.0.

Core Principles

  1. MUST determine whether the executable genuinely receives process/Dart-entrypoint arguments before adding package:args.
  2. MUST parse at the outer boundary: normally main(List<String> arguments), a CLI adapter, or Command.run().
  3. MUST convert ArgResults into typed application data promptly. Domain/application services should not depend on package:args.
  4. MUST separate parser/syntax validation from semantic/domain validation.
  5. MUST parse one invocation once.
  6. SHOULD centralize parser construction and canonical option names.
  7. SHOULD use typed ArgResults accessors rather than dynamic operator [] in new code.
  8. SHOULD treat CLI syntax and defaults as public API once scripts or users depend on them.
  9. SHOULD scope options to the narrowest meaningful command.
  10. SHOULD keep parser construction declarative and side-effect-free.
  11. SHOULD create heavy dependencies after parsing/command selection when startup cost justifies it.
  12. SHOULD NOT use parser callbacks as the main application-control mechanism. Parse first, map, validate, then execute.
  13. SHOULD NOT put secrets in command arguments by default.
  14. NEVER use package:args for browser URL/query parsing or mobile deep-link parsing.
  15. NEVER confuse Platform.executableArguments with the program argument list. Program args normally come from main(List<String>).
  16. PREFER correctness, discoverability, stable behavior, and testability over parser micro-optimization.

Read the full file on GitHub · 511 lines

Files

What ships with it

5 files 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.

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. 1mo ago First seen · 511 lines · 121 tokens per session scan A d539639539d5

Subscribe to this mod's changes

dart-args-production-cli is a skill published in the GitHub repository ariaramin/flutter-skills (11 stars, last pushed 23d ago), licensed MIT. It adds 121 tokens to every session and 4,173 once invoked, about $0.0005 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-10-11.

Related

dart-args-production-cli compared with skills from other repositories

dart-args-production-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dart-args-production-cliariaramin/flutter-skillsSkill1123d agoMITA121Claude Code, Codex
pypi-ops0xDarkMatter/claude-modsSkill866d agoMITA74Claude Code
ci-cd-pipeline-architectureKraitDev/skiLL.MdSkill65mo agoMITA22Claude Code, Codex
update-v8-versionopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A86Codex
ci-security-scanning-with-strixusestrix/strixSkill78k2d agoApache-2.0B140Claude Code, Codex
google-agents-cli-scaffoldgoogle/agents-cliSkill6.5k5d agoApache-2.0A147Claude Code
omh-rustrlaope/oh-my-hermesSkill6.2ktodayMITA19Claude Code