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 alonf/specrew --skill powershell-cli-contract-reviewgit clone --depth 1 https://github.com/alonf/specrewWrote 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/alonf/specrew/powershell-cli-contract-review)<a href="https://agentmods.dev/skills/alonf/specrew/powershell-cli-contract-review"><img src="https://agentmods.dev/badge/skills/alonf/specrew/powershell-cli-contract-review/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/alonf/specrew/powershell-cli-contract-review"><img src="https://agentmods.dev/badge/skills/alonf/specrew/powershell-cli-contract-review.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.00020 | $0.00684 |
| Opus 5.5 | $0.00008 | $0.00274 |
| Sonnet 5.5 | $0.00004 | $0.00137 |
| Haiku 4.5 | $0.00002 | $0.00068 |
Grade A, and why
powershell-cli-contract-review 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 — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context
Use this when reviewing a standalone PowerShell script that is presented as a contract-facing CLI. These reviews fail easily when the implementation only works via PowerShell-native switches while the documented --flag surface, prompt wording, or required probes are unverified.
Patterns
- Validate the exact documented invocation first (for example
.\script.ps1 --dry-run) before accepting equivalent PowerShell-native forms such as-DryRun. - For advanced scripts that support GNU-style flags, set
CmdletBinding(PositionalBinding = $false)and parseValueFromRemainingArgumentsexplicitly so--flagtokens cannot misbind into typed positional parameters. - Capture a live interactive transcript and compare it to the contract fields, not just to the existence of
Read-Host. - Prove GNU-style
--flagsupport through the exact live script surface (& .\script.ps1 --flag ...from PowerShell), not only through nested harnesses or equivalent helper wrappers. Those wrappers can mask that the advertised surface still ignores--*arguments. - Search the implementation for each required external probe/API call; a missing mandated probe is a material gap even if adjacent probes succeed.
- Separate graceful degradation from completeness: a fallback path can be correct while the overall slice still fails for missing contract behavior.
- Confirm banned concerns (billing, cost, routing) are absent with direct code search instead of inference.
Examples
scripts\specrew-init.ps1accepted-DryRunbut--dry-runmisbound asSpecKitVersion; that is a contract failure on the advertised standalone surface.scripts\specrew-init.ps1needed bothPositionalBinding = $falseand explicitCliArgsparsing so--dry-run --project-path <dir>worked on the advertised standalone surface without breaking PowerShell-native switches.- A re-review must re-run the exact contract surface after a parser fix; in this repo, code that looked correct still left
& .\scripts\specrew-init.ps1 --dry-run --force --project-path <dir>prompting interactively and targeting the current directory. - The FR-022 consent prompt showed agent name plus access path, but omitted availability even though availability was required in the prompt contract.
- A delegated-agent probe based on
copilot help configdegraded correctly when unavailable, but the missinggh api /userprobe still blocked acceptance.
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 First seen · 39 lines · 20 tokens per session scan A 40a51f924ffe
powershell-cli-contract-review is a skill published in the GitHub repository alonf/specrew (54 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 684 once invoked, about $0.0001 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.
powershell-cli-contract-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| powershell-cli-contract-reviewalonf/specrew | Skill | 54 | today | MIT | A | 20 | Claude Code, Codex |
| autoreviewopenclaw/clawhub | Skill | 9.6k | today | MIT | A | 17 | Claude Code, Codex |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 18 | Claude Code |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 10d ago | MIT | A | 115 | Claude Code, Codex |
| asplos-writing-stylebrycewang-stanford/Awesome-Journal-Skills | Skill | 1.5k | 3d ago | MIT | A | 65 | Claude Code |
| revdiff-planumputun/revdiff | Skill | 974 | today | MIT | A | 84 | Claude Code |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | today | MIT | A | 51 | Claude Code, Codex |