mvanhorn/cli-printing-press/printing-press-score
Claude Code and agent skill by mvanhorn/cli-printing-press
- community
Checking that the SKILL.md file is still in the repository.
Score a generated CLI against the Steinberger bar, compare two CLIs side-by-side
Install
npx vskill@latest install mvanhorn/cli-printing-press/printing-press-scoreSKILL.md
The same SKILL.md was published earlier as mvanhorn/cli-printing-press/printing-press-score.
/printing-press-score
Score generated CLIs against the Steinberger bar. Supports rescoring, scoring by name/path, and comparing two CLIs.
Quick Start
Prerequisites
- Go 1.26.11 or newer installed
cli-printing-pressbinary on PATH (install withgo install github.com/mvanhorn/cli-printing-press/v4/cmd/cli-printing-press@latest)
Step 0: Setup
Before any other commands, run the setup contract to verify the cli-printing-press binary is on PATH and initialize scope variables:
<!-- PRESS_SETUP_CONTRACT_START -->
<!-- PRESS_SETUP_CONTRACT_END -->
After running the setup contract, capture the PRINTING_PRESS_BIN=<abs-path> line from stdout. Every subsequent `cli-printing-press ...` invocation in this skill must use that absolute path (substitute the value, not the literal $PRINTING_PRESS_BIN token) — export PATH above only affects the single Bash tool call it runs in, so later calls open a fresh shell where bare cli-printing-press resolves against the user's default PATH and a stale global can shadow the local build.
After capturing the binary path, check binary version compatibility. Read the min-binary-version field from this skill's YAML frontmatter. Run <PRINTING_PRESS_BIN> version --json and parse the version from the output. Compare it to min-binary-version using semver rules. If the installed binary is older than the minimum, stop immediately and tell the user: "cli-printing-press binary vX.Y.Z is older than the minimum required vA.B.C. Run go install github.com/mvanhorn/cli-printing-press/v4/cmd/cli-printing-press@latest to update."
Current-run state is resolved from $PRESS_RUNSTATE. Published CLIs are resolved from $PRESS_LIBRARY. Archived manuscripts are resolved from $PRESS_MANUSCRIPTS.
Step 1: Parse Arguments
Read the user's input after /printing-press-score. The input is free-form — interpret intent, don't enforce syntax.
Noise words to strip: compare, vs, versus, and, against, with, to
After stripping noise words, count the remaining tokens:
- 0 tokens → Rescore Current mode
- 1 token → Score Single mode
- 2 tokens → Compare mode
Step 2: Resolve CLI Directories
For each CLI identifier, resolve it to a directory path:
If the token contains / or .
Treat it as a path (absolute or relative). Verify the directory exists.
If the token is a plain name
Try these locations in order:
$PRESS_LIBRARY/<name>/— exact match$PRESS_LIBRARY/<name>-pp-cli/— with -pp-cli suffix- If neither exists, Glob
$PRESS_LIBRARY/<name>-pp-cli* - If exactly one glob match exists and is a directory, use it
- If multiple glob matches exist, present a numbered menu using AskUserQuestion
If neither exists, scan current-run and archived state:
- Use Glob to find
$PRESS_RUNSTATE/runs/*/state.jsonfiles - Read each, look for an
output_dirorworking_dirvalue whose basename contains the name - If found and the directory exists, use it
If nothing resolves, report the error: "Could not find CLI '<name>'. Provide a path or check the name."
Rescore Current (0 tokens)
- Use Glob to find all
$PRESS_CURRENT/*.jsonfiles - Read each to get
api_name,state_path, andworking_dir - Filter to those whose
working_diractually exists on disk - If none are found, Glob
$PRESS_LIBRARY/*-pp-cli*and use those directories instead - If exactly one → use it automatically
- If multiple → present a numbered menu using AskUserQuestion:
``` Multiple CLIs found. Which one to score?
- stripe-pp-cli ($PRESS_LIBRARY/stripe-pp-cli)
- notion-pp-cli ($PRESS_LIBRARY/notion-pp-cli)
- linear-pp-cli ($PRESS_LIBRARY/linear-pp-cli)
```
- If none found → report: "No generated CLIs found. Provide a name or path."
Step 3: Find Spec for Tier 2 Scoring
For each resolved CLI directory, find the OpenAPI spec:
- Check
<cli-dir>/spec.json— the pipeline converts YAML specs to JSON during generation - If not found, scan
$PRESS_RUNSTATE/runs/*/state.jsonfiles for one matching this CLI's directory. Read itsspec_pathfield. If that file exists on disk, use it. - If no spec found, proceed without `--spec`. Note to the user: "No spec found — spec-derived dimensions will be marked N/A and omitted from the denominator. Provide a spec path for full scoring."
Step 4: Run Scorecard
Single Score Mode
Run the scorecard command:
If a spec was found, add --spec <spec-path>.
Parse the JSON output. The structure is:
If unscored_dimensions is present, those dimensions should be rendered as N/A, not 0/x, and should be described as omitted from the denominator rather than as fixable CLI defects. For backward compatibility, JSON still encodes the numeric fields as 0; consumers must use unscored_dimensions to distinguish N/A from a real zero.
--write-manifest does not change the score. A verify object already stored in <cli-dir>/.printing-press.json is scoring evidence for every invocation, including a bare scorecard --dir. Human output prints Denominator: infrastructure N, domain M beside the total. JSON reports the same exclusion through unscored_dimensions, and any verify floor through steinberger.calibration_note. path_validity and auth_protocol stay unverified, and the domain denominator changes, only when neither an embedded <cli-dir>/spec.json nor --spec supplies the evidence. When spec.json is present, scorecard uses that file before --spec.
Learn-loop credit is static-behavioral, never presence-based: the scorecard credits teach/recall/learnings registration on the root command and non-empty entity lookup seeds (or the spec's recorded no-entities escape). The learn loop is default-on, so internal/learn/ existing earns nothing; when explaining a learn gap, point at missing seeds or unregistered commands, not missing files. Execution proof (verify matrix, learnings stats) belongs to verify and dogfood; the scorecard runs no binaries.
Compare Mode
Run both scorecard commands in parallel using two simultaneous Bash tool calls:
Parse both JSON outputs.
Step 5: Render Output
Single Score Table
Render a rich markdown table. Note: Tier 1 dimensions are all /10. Tier 2 dimensions are /10 except TypeFidelity and DeadCode which are /5.
If gap_report is non-empty, list the gaps:
If unscored_dimensions is non-empty, add a note after the table:
Compare Table
Render a side-by-side table with a delta column. Show the first CLI name and second CLI name as column headers. Calculate delta as (CLI 1 score - CLI 2 score). Show +N for positive, -N for negative, — for zero.
Error Handling
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/printing-press-score/SKILL.md
Popularity
- Repository stars
- 3,957
- Repository forks
- 428
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 15 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mvanhorn/cli-printing-press/printing-press-score)