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 skills add wahidyankf/ose-public --skill building-command-line-interfacesgit clone --depth 1 https://github.com/wahidyankf/ose-publicWrote 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/wahidyankf/ose-public/building-command-line-interfaces)<a href="https://agentmods.dev/skills/wahidyankf/ose-public/building-command-line-interfaces"><img src="https://agentmods.dev/badge/skills/wahidyankf/ose-public/building-command-line-interfaces/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/wahidyankf/ose-public/building-command-line-interfaces"><img src="https://agentmods.dev/badge/skills/wahidyankf/ose-public/building-command-line-interfaces.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00043 | $0.00671 |
| Opus 5.5 | $0.00017 | $0.00268 |
| Sonnet 5.5 | $0.00009 | $0.00134 |
| Haiku 4.5 | $0.00004 | $0.00067 |
Grade A, and why
building-command-line-interfaces 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.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Building Command-Line Interfaces
Command-Line Interface fixes the contract and its eight modules hold the rules. This skill covers the judgement of applying them, not the rules themselves.
Ask What the Caller May Conclude
Choosing an exit status is one question asked in one direction: what may a caller conclude from this number?
Work forward from the caller, never backward from the code path. A tempting status is usually a description of what went wrong internally, which is the body's job. The number answers only whether the result can be trusted, and the hardest case is the one worth slowing down for — deciding whether this path is a result the caller should act on, or a failure to produce one. When unsure, ask whether a script that treated this as a real answer would then do something wrong. If it would, the path is not a result.
Assume the Runtime Is Wrong
Every runtime and every command framework breaks part of this contract by default, in a different place and for a different reason. A tool is not conforming because nobody changed anything; it conforms because someone overrode a default and left a test behind proving it stayed overridden.
The defaults worth checking first, because they are the ones that silently look fine:
- What the process reports when it panics, throws, or aborts — commonly a status the contract reserves for a result.
- What happens when a reader closes the pipe, which is the single most common real defect.
- What a death by signal reports, which frameworks tend to collapse into a result status.
- Which stream the usage text reaches on a failed invocation, since a framework often writes it through a stream the calling program supplies.
Set each one explicitly at construction rather than relying on it. A default that happens to be right today is not a decision, and the next dependency upgrade is free to change it.
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.
- 1mo ago First seen · 57 lines · 43 tokens per session scan A 9fa8cb7895d2
building-command-line-interfaces is a skill published in the GitHub repository wahidyankf/ose-public (12 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 671 once invoked, about $0.0002 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-14.
building-command-line-interfaces compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| building-command-line-interfaceswahidyankf/ose-public | Skill | 12 | today | MIT | A | 43 | Claude Code |
| addvercel/turborepo | Skill | 31k | today | MIT | A | 48 | Claude Code, Codex |
| nx-plugin-for-awsawslabs/nx-plugin-for-aws | Skill | 155 | today | Apache-2.0 | A | 46 | Claude Code |
| frontmcp-setupagentfront/frontmcp | Skill | 154 | today | Apache-2.0 | A | 176 | Claude Code, Codex |
| investigate-cloudflarebrandhaug/b2b-saas-starter | Skill | 56 | today | MIT | A | 45 | Claude Code, Codex |
| implementbrandhaug/b2b-saas-starter | Skill | 56 | today | MIT | A | 22 | Claude Code, Codex |
| configure-cloudflare-monitoringbrandhaug/b2b-saas-starter | Skill | 56 | today | MIT | A | 52 | Claude Code, Codex |