agentsclimarketplace

Ucp checkout

Skill ViryaZheng/ucp-onboard/skills/ucp-checkout

Generates or guides a sandbox Python FastAPI UCP shopping checkout server from ucp-profile.json and catalog.json. Use after ucp-profile and ucp-catalog are complete to create catalog search/lookup and checkout create/retrieve/update/ cancel endpoints for local preflight validation.From its SKILL.md

Install
npx -y skills add ViryaZheng/ucp-onboard --skill ucp-checkout

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 5 commands, including `python ${CLAUDE_SKILL_DIR}/scripts/generate_api.py` and 4 more.

SKILL.md

1.7 KB, 358 tokens by cl100k_base, as published. Nobody here has run it

UCP Checkout

Generate a sandbox FastAPI server for UCP catalog and checkout preflight.

Required Inputs

  • store/clients/{client_name}/ucp-profile.json
  • store/clients/{client_name}/catalog.json

Generate

python ${CLAUDE_SKILL_DIR}/scripts/generate_api.py \
  --profile store/clients/{client}/ucp-profile.json \
  --catalog store/clients/{client}/catalog.json \
  --output-dir store/clients/{client}/ucp-server

Use --force only when intentionally replacing an existing generated server.

Generated Endpoints

GET  /.well-known/ucp
POST /ucp/v1/catalog/search
POST /ucp/v1/catalog/lookup
POST /ucp/v1/checkout
GET  /ucp/v1/checkout/{id}
POST /ucp/v1/checkout/{id}
POST /ucp/v1/checkout/{id}/cancel

Validate Locally

cd store/clients/{client}/ucp-server
pip install -r requirements.txt
uvicorn app.main:app --port 8000

python ${CLAUDE_SKILL_DIR}/../ucp-validate/scripts/validate_ucp.py \
  http://localhost:8000 \
  --runtime-endpoint http://localhost:8000/ucp/v1

Hard Rules

  • Generated code is sandbox-only.
  • Do not implement real payment capture in generated output.
  • Never call checkout completion during automated validation.
  • Keep secrets out of ucp-profile.json and generated sample data.

Read references/checkout-lifecycle.md for lifecycle and totals rules.

What ships with it: 3 files

9.3 KB alongside SKILL.md, 1 of them executable

references/

scripts/

templates/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.