wk-cloudsmith
Installation
SKILL.md
Cloudsmith
Patterns for publishing and querying packages in the Cloudsmith raw package registry.
Raw package upload — two-step process
Cloudsmith raw uploads are not a single multipart POST. They require two separate calls:
Step 1: PUT file bytes
# Returns JSON: {"identifier": "<single-use-token>"}
curl -sS --fail-with-body \
-X PUT \
-H "X-Api-Key: $CLOUDSMITH_API_KEY" \
-H "Content-Type: application/octet-stream" \
--data-binary "@/path/to/binary" \
-o response.json \
-w '%{http_code}' \
"https://upload.cloudsmith.io/{ORG}/{REPO}/{package-name}"