speclite-cli-tool-contract-auditor

speclite-cli-tool-contract-auditor is a skill for Claude Code from flanliulf/SpecLite. It costs 58 tokens per session (646 once invoked), scanned A, original, MIT.

A command-line tool contract auditor examines a program used through a terminal. It checks the commands, options, input and output behavior, exit codes, machine-readable JSON output, shell compatibility, and installation paths supported by the project.

In plain words
What is it for?
Use it to audit command and subcommand interfaces, help and error output, terminal versus non-terminal behavior, signal handling, shell portability, and local or npx invocation.
Why use it?
It turns command-line behavior into explicit, verifiable facts and highlights compatibility risks between environments. It plans installation and usage checks without changing the tool.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to audit command and subcommand interfaces, help and error output, terminal versus non-terminal behavior, signal handling, shell portability, and local or npx invocation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flanliulf/speclite/speclite-cli-tool-contract-auditor
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 flanliulf/SpecLite --skill speclite-cli-tool-contract-auditor
Clone the repo
git clone --depth 1 https://github.com/flanliulf/SpecLite

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 speclite-cli-tool-contract-auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-cli-tool-contract-auditor"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-cli-tool-contract-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 646 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.00058 $0.00646
Opus 5.5 $0.00023 $0.00258
Sonnet 5.5 $0.00012 $0.00129
Haiku 4.5 $0.00006 $0.00065

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

Security

Grade A, and why

speclite-cli-tool-contract-auditor 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.

assets/source/speclite/ecosystems/other/cli-tool/speclite-cli-tool-contract-auditor/SKILL.md · 41 lines

What it actually says

Speclite CLI Tool Contract Auditor

[Overview(技能说明)] Speclite CLI Tool Contract Auditor 是 ecosystem-other-cli-tool module 的项目形态审计工作流。它面向已选择 CLI tool other ecosystem module 的目标项目,围绕 bin entry、command surface、TTY / non-TTY output、exit codes、JSON contract、shell portability 和 install smoke 建立证据。

[Core Capabilities(核心能力)] - CLI boundary discovery(CLI 边界发现):读取 package.json、manifest、entry files、command parser、README、shell scripts、tests 和 CI。 - Command surface audit(命令面审计):记录 command/subcommand/options/args、help output、error output、JSON mode 和 stable compatibility promises。 - Runtime behavior evidence(运行行为证据):区分 TTY / non-TTY、stdout / stderr、exit code、signal handling、shell portability 和 path assumptions。 - Install smoke planning(安装冒烟规划):规划 clean install、global/local invocation、npx / direct bin / package manager exec 的验证路径。 - Boundary protection(边界保护):通用 CLI 输出布局、Story 开发和 Code Review workflow 仍留在 sdlc。

[Workflow(执行流程)] 详细步骤见 references/cli-tool-contract-audit-workflow.md。

1. 确认 `{project-root}`、CLI package root、目标 command 和输出位置。
2. 收集 CLI evidence:manifest `bin`、entry files、command parser、README、tests、fixtures、CI 和 install instructions。
3. 只记录可验证事实;command surface、exit codes、JSON contract 和 shell portability 必须来自代码、测试、文档或命令输出。
4. 输出 CLI contract audit note,覆盖 command surface、I/O behavior、install smoke plan、compatibility risks 和 unknowns。
5. 如需实现或修复 CLI 行为,交给 Dev Story / Quick Dev / Code Review 等 `sdlc` workflow。

[Notes(注意事项)] - 本 Skill 不替代通用 CLI human output 或 implementation workflow。 - 不从 README 示例反推出未实现行为;文档和真实 command behavior 冲突时必须标记 drift。 - 对跨 shell 行为必须明确平台、shell、Node/runtime 和 package manager evidence。

Files

What ships with it

3 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. 2mo ago First seen · 41 lines · 58 tokens per session scan A 19f2ba452268

Subscribe to this mod's changes

speclite-cli-tool-contract-auditor is a skill published in the GitHub repository flanliulf/SpecLite (5 stars, last pushed 7d ago), licensed MIT. It adds 58 tokens to every session and 646 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-09-16.

Related

speclite-cli-tool-contract-auditor compared with skills from other repositories

speclite-cli-tool-contract-auditor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speclite-cli-tool-contract-auditorflanliulf/SpecLiteSkill57d agoMITA58Claude Code
research-codebasedoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A8Claude Code, Codex
review-commentsdoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A33Claude Code, Codex
supervisordoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A22Claude Code, Codex
validate-phase-plan-scopedoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A20Claude Code, Codex
validate-plan-securitydoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A10Claude Code, Codex
create-roadmapdoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A11Claude Code, Codex