dart-build-cli-app

dart-build-cli-app is a skill for Claude Code, Codex from sutchan/Agent-Skills-Hub. It costs 24 tokens per session (3,362 once invoked), scanned A, a copy of dart-build-cli-app, MIT.

A guide to building Dart command-line applications: programs that run from a terminal and accept commands or options.

In plain words
What is it for?
Use it to create single-command or multi-command Dart tools, organize their files, define flags and subcommands, and prepare them for distribution.
Why use it?
It provides a consistent project structure, argument handling, error reporting, testing, formatting, and compilation guidance for CLI tools.

Skill for Claude CodeCodex

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

Good fit Use it to create single-command or multi-command Dart tools, organize their files, define flags and subcommands, and prepare them for distribution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sutchan/agent-skills-hub/dart-build-cli-app
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 sutchan/Agent-Skills-Hub --skill dart-build-cli-app
Clone the repo
git clone --depth 1 https://github.com/sutchan/Agent-Skills-Hub

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-build-cli-app

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/dart-build-cli-app"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/dart-build-cli-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,362 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 92% copy Near-identical to another mod 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.00024 $0.03362
Opus 5.5 $0.00010 $0.01345
Sonnet 5.5 $0.00005 $0.00672
Haiku 4.5 $0.00002 $0.00336

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

Security

Grade A, and why

dart-build-cli-app 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.

Origin

This is a copy

92% identical to dart-build-cli-app — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/dart-build-cli-app/SKILL.md · 253 lines

How it starts

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

Building Dart CLI Applications

Contents


1. Core Architecture & Process Lifecycle

Avoid Destructive Exits (exit(N))

Calling dart:io's exit(int code) invokes Platform::Exit(code) in the C++ runtime. It immediately terminates the OS process without unwinding the Dart stack:

  • Debugger Disconnect: When launched with --pause-isolates-on-exit, the VM Service pauses isolates before shutdown to allow IDE inspection. exit() terminates the OS process before the VM Service can pause or inspect state.
  • Coverage Loss: package:coverage queries execution lines over VM Service RPCs during the paused-on-exit state. exit() destroys the process before RPC extraction, yielding 0% coverage.
  • Buffer Truncation: stdout and stderr are buffered asynchronous IOSink streams. exit() drops unflushed bytes.
  • Resource Leaks: finally blocks (closing locks, deleting temp directories) are bypassed.

Rule: Avoid calling exit(code) directly during normal execution; set exitCode = code or return an integer exit code from CommandRunner<int> (from package:args) and allow the asynchronous main() function to return naturally. Do not call exit() on unhandled errors; throw an unhandled Error or exception so the runtime unwinds cleanly and exits with a non-zero status.

Read the full file on GitHub · 253 lines

Files

What ships with it

4 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 Changed f28b68add69d
  2. 1mo ago Changed · +1 lines 7f96b675984f
  3. 1mo ago Changed · +66 lines · -5 tokens per session 26ae5d4fb4c2
  4. 2mo ago Changed · -4 lines · +5 tokens per session 39c82e4ca39f
  5. 2mo ago First seen · 190 lines · 24 tokens per session scan A d261da55bda6

Subscribe to this mod's changes

dart-build-cli-app is a skill published in the GitHub repository sutchan/Agent-Skills-Hub (3 stars, last pushed 6d ago), licensed MIT. It adds 24 tokens to every session and 3,362 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to dart-build-cli-app, differing in 7 lines, and is treated as a copy.

Related

dart-build-cli-app compared with skills from other repositories

dart-build-cli-app next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dart-build-cli-appsutchan/Agent-Skills-HubSkill36d agoMITA24Claude Code, Codex
clairicsvngoku/coding-agents-skillsSkill1221d agoMITA80Claude Code, Codex
php-codeigniter-patternsshennawardana23/skillmeSkill41mo agoApache-2.0A78Claude Code
adk-go-agent-buildershennawardana23/skillmeSkill41mo agoApache-2.0A100Claude Code
go-expertshennawardana23/skillmeSkill41mo agoApache-2.0A107Claude Code
golang-concurrencyshennawardana23/skillmeSkill41mo agoApache-2.0A151Claude Code
golang-contextshennawardana23/skillmeSkill41mo agoApache-2.0A123Claude Code