standardize-cli

standardize-cli is a skill for Claude Code from urmzd/dotfiles. It costs 213 tokens per session (2,515 once invoked), scanned A, original, Apache-2.0.

A setup guide and audit for making command-line tools follow one shared interface. It covers standard commands, machine-readable output, CI support, bundled agent instructions, and an MCP server, where MCP is a way for agents to call tools.

In plain words
What is it for?
Use it when adding or reviewing install, update, version, completion, health-check, bootstrap, CI, or MCP commands in a CLI.
Why use it?
Different command names and setup steps make tools harder for people and agents to learn and automate. This checks the tool before and after changes and identifies missing contract pieces.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when adding or reviewing install, update, version, completion, health-check, bootstrap, CI, or MCP commands in a CLI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/urmzd/dotfiles/standardize-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 urmzd/dotfiles --skill standardize-cli
Clone the repo
git clone --depth 1 https://github.com/urmzd/dotfiles

Made for: Claude Code.

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 standardize-cli

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/urmzd/dotfiles/standardize-cli"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/standardize-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 213 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,515 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.00213 $0.02515
Opus 5.5 $0.00085 $0.01006
Sonnet 5.5 $0.00043 $0.00503
Haiku 4.5 $0.00021 $0.00251

Measured 8d ago against content hash 9297caa79111, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

standardize-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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/executable_audit-cli.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

dot_agents/skills/standardize-cli/SKILL.md · 173 lines

How it starts

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

Standardize CLI

A tool is one binary with the same surfaces as every other tool. A person or an agent who knows one tool can then guess the commands of the next.

install.sh ──> binary
                 ├─ verbs          init, <domain>, update, version, completions, doctor
                 ├─ --format json  the same document for scripts, CI and agents
                 ├─ action.yml     CI
                 ├─ skill          bundled in the binary, installed by `bootstrap`
                 └─ mcp serve      agents call the tool; registered by `bootstrap`

Audit first

Run the audit before you change a tool, and again when you finish.

sh "${CLAUDE_SKILL_DIR:-$HOME/.agents/skills/standardize-cli}/scripts/audit-cli.sh" <binary> <repo-dir>
sh ".../audit-cli.sh" <binary> <repo-dir> --format json | jq '.checks[] | select(.result == "fail")'

It runs the binary only with --help, --version, version and mcp tools. Exit code 0 means every required check passed.

The verbs

One name for one job. A synonym is a defect: setup, upgrade, completion.

Verb Required Job
init when the tool reads a config file Write the config file
the domain verb yes The tool's main job: run, generate, release
update yes Update the binary itself
version and --version yes, both Print the version
completions <shell> no Print shell completions on stdout
doctor when the tool needs other programs Check that the tool can work here
bootstrap yes Install the bundled skill; register the MCP server
mcp serve, mcp tools when agents call the tool Serve the tool over MCP

Every verb that prints data accepts --format json and then prints one JSON document on stdout. Human text goes to stderr. build-cli owns that rule.

init

  • Write <tool>.toml or <tool>.yaml in the working directory and print its path.
  • Refuse to overwrite an existing file. --force overwrites.
  • The file it writes must pass the tool's own validation with no edit.
  • Offer named templates with a positional argument and --list, as sr init and teasr init do. Test that the tool loads each template.
  • The default template must run on a fresh machine with nothing else installed.
  • Never ask a question when stdin is not a terminal.

Read the full file on GitHub · 173 lines

Files

What ships with it

2 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. 8d ago First seen · 173 lines · 213 tokens per session scan A 9297caa79111

Subscribe to this mod's changes

standardize-cli is a skill published in the GitHub repository urmzd/dotfiles (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 213 tokens to every session and 2,515 once invoked, about $0.0009 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-11-22.

Related

standardize-cli compared with skills from other repositories

standardize-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
standardize-cliurmzd/dotfilesSkill64d agoApache-2.0A213Claude Code
metaceptionmagic3007/dotfilesSkill115d agoMITA332Claude Code
astropymagic3007/dotfilesSkill115d agoMITA56Claude Code, Codex
benchling-integrationmagic3007/dotfilesSkill115d agoMITA50Claude Code
mcp-notion-usage-guidemagic3007/dotfilesSkill115d agoMITA174Claude Code, Codex
esmmagic3007/dotfilesSkill115d agoMITA96Claude Code, Codex
ralph-loopmagic3007/dotfilesSkill115d agoMITA63Claude Code, Codex