A keyless smoke test for Shopify's ucp CLI passed 15 of 15 checks with 0 network escapes
ucpskillsmoke pins @shopify/ucp-cli, the UCP spec and the agent skill, then runs real searches against a local mock behind a refusing proxy. 15 of 15 checks passed and 3 planted drifts failed.
By David Discua
Measured in the lab
- 15/15
- checks passed
- 0
- non-loopback requests
- 593 ms
- median catalog search
- 3/3
- planted drift runs that failed
- Dry-run requests spec-valid for 4 of 4 documented searches
- Mocked responses spec-valid and equal to the fixture, 4 of 4
- Pin 0.9.0 with 0.9.1 installed failed with VERSION_DRIFT
- Upstream v0.9.1 test-mock payload failed with SCHEMA_INVALID
- Skill under .agents/skills failed with FORBIDDEN_SKILL_DIR
From reports/ucp-smoke.json · run on October 21, 2026. @shopify/ucp-cli 0.9.1 against a local mock on 127.0.0.1 behind a refusing proxy; UCP spec v2026-08-25 (cd78fb38e819), 68 schema files
How it is wired
01/03The smoke runs the pinned ucp binary with a fresh home and no inherited settings.
Shopify's @shopify/ucp-cli lets an agent search catalogs and check out over the Universal Commerce Protocol, and it ships an agent skill. Three things can drift under an agent that depends on it: the CLI's version and commands, the wire shapes in the UCP spec, and where the skill gets installed. ucpskillsmoke pins all three and runs the real ucp binary against a local mock behind a proxy that refuses everything off loopback. All 15 checks passed with 0 non-loopback requests, and no real store was searched.
The catch
The mock is ours, and it covers search only. It serves a UCP business profile, a tools/list with one search_catalog tool, and deterministic results from a fictional catalog whose sellers all use the reserved .example domain. Cart, checkout, orders, payments, request signing and auth are not exercised, and UCP_CHECKOUT_JWT is never used. The smoke shows that the CLI builds spec-valid requests and parses spec-valid responses, and leaves open whether a real merchant answers. Schemas are pinned at the 2026-08-25 release only, though the CLI also supports 2026-04-08. The command checks read --llms and --help text, so they catch removed commands and flags while changed behavior can slip by.
What we ran (keyless)
bun install --frozen-lockfile
bun run smoke
bun run report
From reports/ucp-smoke.json, run on October 21, 2026:
| Measure | Value |
|---|---|
Pinned / installed @shopify/ucp-cli | 0.9.1 / 0.9.1 |
| Spec pin | ucp v2026-08-25, 68 schema files vendored |
Commands in the ucp --llms manifest | 20 (20/20 required present) |
| Documented searches, dry-run requests spec-valid | 4/4 |
| Documented searches, mocked responses spec-valid and equal to fixture | 4/4 |
| Requests to the mock (well-known / tools/list / tools/call) | 1 / 1 / 4 |
Non-loopback requests attempted by ucp | 0 |
Median ucp catalog search wall time | 593 ms |
| Full smoke | 15/15 checks in 6071 ms |
Three planted runs had to fail, and all three did. Serving upstream's own v0.9.1 test-mock payload failed search:marathon-under-200 with SCHEMA_INVALID. Setting the pin to 0.9.0 with 0.9.1 installed failed install and version with VERSION_DRIFT. A target repo with .agents/skills/ucp and no .claude/skills failed with FORBIDDEN_SKILL_DIR.
Two more upstream findings came out of the same runs. ucp skills add wrote the skill to ~/.agents/skills/ucp/ and, when ~/.claude existed, symlinked it into ~/.claude/skills, so ucpsmoke skills sync copies the package's skill into .claude/skills/ucp instead. ucp catalog search --format json also moves the ucp field out of the payload, so the smoke puts it back before validating against search_response.
How it is wired
Every ucp call gets a fresh temp HOME and UCP_HOME, no inherited UCP_* variables, and HTTPS_PROXY pointing at a loopback proxy that refuses and records every request. The CLI accepts plain HTTP only through its own UCP_TEST_ALLOW_INSECURE_LOCALHOST switch, which upstream limits to loopback addresses. Requests and responses are validated with Ajv against the vendored spec, and a reusable GitHub workflow runs the same smoke on your repo with no secrets.
Minilab (open source)
Upstream is Shopify/ucp-cli (80 stars, MIT, TypeScript), and the spec is Universal-Commerce-Protocol/ucp (3,443 stars, Apache-2.0, Python), as of October 24, 2026. Run bun run src/cli.ts run --target ../your-repo to check another repo's skills, or call the reusable workflow with check-upstream-latest: true to fail when npm latest moves past the pin.
Run it yourself
SkilledDragonCorp/ucpskillsmoke
Clone, install and run the report with no API keys. The numbers above are what that run writes.
bun install --frozen-lockfile && bun run smokeSkilledDragon is not affiliated with Shopify Inc. or the Universal Commerce Protocol project. Numbers are from our own keyless lab run against a local mock; re-run the smoke before relying on them. Marks belong to their owners.
All labs