Skip to content

docs(agent-skills): add a guide to the Skills API without chainctl - #4576

Draft
lranjbar wants to merge 1 commit into
chainguard-dev:mainfrom
lranjbar:lisaranjbar/skills-api-without-chainctl
Draft

lranjbar wants to merge 1 commit into
chainguard-dev:mainfrom
lranjbar:lisaranjbar/skills-api-without-chainctl

Conversation

@lranjbar

Copy link
Copy Markdown
Contributor

Title: docs(agent-skills): add a guide to the Skills API without chainctl

Type of change

New documentation page, plus a one-line link from each of two sibling pages.

What should this PR do?

It adds "Use the Skills API without chainctl" (content/chainguard/agent-skills/skills-api-without-chainctl.md, weight 55) for customers who can't install chainctl. The page covers:

  • one-time owner setup over REST: the Skills entitlement, terms acceptance, an assumable identity for CI, and role bindings with the built-in skills.hardener role or a custom-role fallback;
  • signing in from a workstation (a browser login) or from CI (one STS exchange for all three audiences);
  • uploading with ORAS, directly under the organization root;
  • hardening, tracking the job, and the three outcomes: hardened, not hardened, failed;
  • downloading the result, the hardening report and findings, and listing hardened skills;
  • verifying the signature with Cosign, and deleting results and uploads;
  • an errors table and a full example Python client.

It also adds a one-line link to the new page from skill-hardening.md (intro) and from verifying-skills.md (Learn more).

Resolves ACID-2347.

Why are we making this change?

Customers who can't get chainctl approved need to upload, harden, track, download and list skills through the Chainguard API and OCI registries. The page uses Chainguard hosts only: console-api.enforce.dev, issuer.enforce.dev, uploads.cgr.dev and skills.cgr.dev.

What are the acceptance criteria?

  • Every route, field, capability, role, limit and error matches the Skills API as built in chainguard-dev/mono. The claims were checked against the code.
  • The curl flow runs end to end in staging with a non-owner identity.
  • Reviewers: Priya (skills accuracy), Lisa, and DevRel/docs.

How should this PR be tested?

Run the page's curl flow end to end against staging with a non-owner identity bound to skills.hardener, registry.push on <org>/uploads and registry.pull on <org>/skills. Use the staging hosts console-api.chainops.dev, issuer.chainops.dev, uploads.chainreg.biz and skills.chainreg.biz.

Two parts work only in production:

  • Per-organization Cosign verification. Staging results are signed by a staging service account, not the organization's SKILLS identity.
  • Checking the published hosts themselves.

Local checks: markdownlint-cli2 0.24.2 and the repository's pre-commit hook pass (the spell check was skipped because aspell isn't installed), bash -n passes on every shell block, and the Python client compiles. Hugo wasn't built locally.

🤖 Generated with Claude Code

Add "Use the Skills API without chainctl" for customers who can't
install chainctl. It covers one-time organization setup over REST
(entitlement, terms, a CI identity, role bindings), browser and STS
sign-in, upload with ORAS under the organization UIDP, hardening and
job management, download, reports, listing, Cosign verification,
deletes, errors, and an example Python client. Link it from the skill
hardening and verifying pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 30, 2026

Copy link
Copy Markdown

@lranjbar is attempting to deploy a commit to the Chainguard Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant