Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/pantheon-org/tekhnenpx agentmods add skills/pantheon-org/tekhne/commanderjsWrote 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/pantheon-org/tekhne/commanderjs)<a href="https://agentmods.dev/skills/pantheon-org/tekhne/commanderjs"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/commanderjs/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.
<a href="https://agentmods.dev/skills/pantheon-org/tekhne/commanderjs"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/commanderjs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00124 | $0.02197 |
| Opus 5.5 | $0.00050 | $0.00879 |
| Sonnet 5.5 | $0.00025 | $0.00439 |
| Haiku 4.5 | $0.00012 | $0.00220 |
Grade A, and why
commanderjs 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 2mo 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 — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Commander.js
Complete Commander.js framework guidance for building robust command-line interfaces with proper argument parsing, subcommands, options, and TypeScript support.
Mindset
Treat Commander.js as a declarative contract, not an argv reader. Model every input the CLI accepts as a .argument(), .option(), or subcommand before writing a single line of handler logic — the declaration is what generates --help output, coerces types, and produces Commander's own validation errors for free. Never reach for process.argv[n] as a shortcut past that declaration: every value read directly from argv is a value Commander no longer validates, documents, or reports errors for consistently with the rest of the program. Keep action handlers thin. Parse into a fully typed options object first, then pass that single object into a service function — never scatter individual opts.foo, opts.bar properties across a call site, because a service that grows a fourth or fifth positional parameter loses the compiler's ability to catch an argument-order mistake. Verify subcommand option scope before trusting program.opts() inside a subcommand action: each .command() owns its own option scope, and reading the parent program's opts() from inside a child action silently returns the wrong values instead of failing loudly.
When to Use
Use this skill when building a new CLI tool with Commander.js, adding subcommands, options, or arguments to an existing Commander.js program, migrating a CLI from raw process.argv parsing or another framework (yargs, meow) onto Commander.js, or diagnosing an option/argument/action handler that is not behaving as declared (wrong scope, a missing await, argv leaking through, help text not matching actual parsing behavior).
When NOT to Use
Do not reach for this skill when the target CLI deliberately avoids third-party argument-parsing dependencies, when the runtime's own built-in flag parser is the project's stated convention, or when the task is building a terminal UI (menus, prompts, live-updating panes) rather than parsing arguments — a TUI is a different problem from argument parsing and needs different tooling.
What ships with it
39 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.
- .audits/2026-02-21/analysis.md 8.0 KB
- .audits/2026-02-21/audit.json 137 B
- .audits/2026-02-21/remediation-plan.md 218 B
- .audits/2026-02-22/analysis.md 8.0 KB
- .audits/2026-02-22/audit.json 137 B
- .audits/2026-02-22/remediation-plan.md 218 B
- .audits/2026-03-02/analysis.md 1.0 KB
- .audits/2026-03-02/audit.json 408 B
- .audits/2026-03-02/remediation-plan.md 2.7 KB
- .audits/2026-09-23/Analysis.md 479 B
- .audits/2026-09-23/audit.json 541 B
- .audits/2026-09-23/Remediation.md 1.2 KB
- .audits/latest 10 B
- .tekhne/plugin.json 731 B
- AGENTS.md 8.0 KB
- CHANGELOG.md 734 B
- evals/instructions.json 8.4 KB
- evals/scenario-0/capability.txt 137 B
- evals/scenario-0/criteria.json 1.5 KB
- evals/scenario-0/task.md 1.1 KB
- evals/scenario-1/capability.txt 149 B
- evals/scenario-1/criteria.json 1.8 KB
- evals/scenario-1/task.md 1.2 KB
- evals/scenario-2/capability.txt 150 B
- evals/scenario-2/criteria.json 1.8 KB
- evals/scenario-2/task.md 1.2 KB
- evals/scenario-3/capability.txt 136 B
- evals/scenario-3/criteria.json 1.6 KB
- evals/scenario-3/task.md 2.2 KB
- evals/scenario-4/capability.txt 144 B
- evals/scenario-4/criteria.json 1.7 KB
- evals/scenario-4/task.md 1.2 KB
- evals/summary.json 671 B
- references/actions-handlers.md 8.5 KB
- references/commands-structure.md 17 KB
- references/core-basics.md 4.6 KB
- references/options-flags.md 5.4 KB
- references/practices-patterns.md 14 KB
- references/typescript-setup.md 14 KB
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.
- 2mo ago Changed · +12 lines dbd2bfc44a23
- 3mo ago First seen · 204 lines · 124 tokens per session scan A a85be354bcac
commanderjs is a skill published in the GitHub repository pantheon-org/tekhne (10 stars, last pushed 2d ago), licensed MIT. It adds 124 tokens to every session and 2,197 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-09-03.
commanderjs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| commanderjspantheon-org/tekhne | Skill | 10 | 2d ago | MIT | A | 124 | Claude Code |
| google-publisher-tag-migrate-to-setconfiggoogle/skills | Skill | 25k | yesterday | Apache-2.0 | A | 175 | Claude Code, Codex |
| developing-genkit-jsgoogle/skills | Skill | 25k | yesterday | Apache-2.0 | A | 76 | Claude Code, Codex |
| setup-ts-deep-modulesvinvcn/mattpocock-skills-zh-CN | Skill | 6.3k | 2d ago | MIT | A | 49 | Claude Code, Codex |
| antfuantfu/skills | Skill | 6.1k | 5d ago | MIT | A | 52 | Claude Code, Codex |
| setup-ts-deep-modulesdevcxl/mattpocock-skills-zh | Skill | 568 | today | MIT | A | 49 | Claude Code, Codex |
| adkmajiayu000/claude-skill-registry | Skill | 754 | yesterday | MIT | A | 0 | Claude Code, Codex |