Skip to content

Installable skills feed

Last updated: 2026-11-27T14:16:11-03:00 (UTC-3)

A coding-agent client can install the skills of the skill registry straight from the gateway. The gateway serves a plugin marketplace: a catalog with one entry per skill and, for each entry, a ZIP archive and its SHA-256. The client checks the hash before installing. The format is the one Claude Code reads from a URL marketplace (claude plugin marketplace with an archive source).

The feed is never anonymous. Every request carries a gateway key, and the catalog holds only the current publications granted to that key’s team.

Flag Default What it turns on
skill_marketplace false The feed and its archives; requires skill_registry and skill_marketplace.public_base_url
features:
skill_registry: true
skill_management: true
skill_marketplace: true
skill_marketplace:
public_base_url: https://gateway.example.com # the address clients use to reach the gateway
Field Default Rule
skill_marketplace.public_base_url empty Absolute https URL without credentials, query or fragment, at most 512 bytes; http only for localhost or a loopback IP. A path prefix is allowed for a reverse proxy

The base URL is read from the startup YAML; a change needs a restart. The gateway never builds the archive URLs from the request’s Host header. The client requires archive URLs on https and refuses loopback and link-local hosts, so the base URL must be the public HTTPS address of the gateway (or of the TLS proxy in front of it).

Then give the key the scope: a managed key needs skills:install (console: Virtual keys → Custom routes), and the key must belong to a team. A declared key lists it in scopes.

With feature plans on, the team plan must include skill_registry and skill_marketplace; with skill_entitlements, the grant must come through a team whose plan includes skill_registry.

A skill is listed for a key when all of these hold:

  • it has a current publication granted to the key’s team (the owner team is not a grant);
  • it is enabled, not deleted, its owner and every granted team are active, and its YAML base has not changed;
  • its ID is a valid client plugin name: lowercase letters, digits and hyphens, starting with a letter or digit, at most 64 characters (other IDs stay in the registry but are not listed);
  • with skill_signing on, the revision’s signature verifies with a trusted key;
  • with skill_submissions on, it was published through a passing content scan.

Drafts, older revisions, other teams’ skills, file contents, grants and authors never appear in the catalog.

Add the gateway marketplace to the client’s user settings file (for Claude Code, settings.json in its configuration directory) and replace the placeholder with a key of your team. The client sends this header when it reads the catalog and when it downloads an archive from the same origin; it does not expand environment variables in the header, so keep the settings file private.

{
"extraKnownMarketplaces": {
"ai-gateway": {
"source": {
"source": "url",
"url": "https://gateway.example.com/v1/skill-marketplace/marketplace.json",
"headers": { "Authorization": "Bearer <your gateway key>" }
}
}
}
}

The client registers the declared marketplace on its next start; then install a skill by its ID:

Terminal window
claude plugin install gateway-review@ai-gateway

The Skill registry page in the console shows the same snippet with the gateway’s own URL under Install skills in a coding-agent client.

Request Scope Answer
GET /v1/skill-marketplace/marketplace.json skills:install Catalog for the key’s team
GET /v1/skill-marketplace/plugins/{id}/{sha256}.zip skills:install Current archive of a listed skill
GET /api/v1/admin/skill-marketplace console skills:read Read-only settings: enabled, skill_marketplace.public_base_url (an object named after the YAML block), marketplace_url, marketplace_name, source (yaml), restart_required, key_scope, plugin_name_rule, signing_required

Catalog example:

{
"name": "ai-gateway",
"owner": { "name": "m7gtw" },
"plugins": [
{
"name": "gateway-review",
"source": {
"source": "archive",
"url": "https://gateway.example.com/v1/skill-marketplace/plugins/gateway-review/9ed302eb...e746e8.zip",
"sha256": "9ed302eb...e746e8"
},
"version": "1.0.0+8b7bc10c63cc",
"description": "Checklist for reviewing a gateway request"
}
]
}
  • version is <revision>.0.0+<first 12 hex characters of the revision content hash>, so every new publication is a new version.
  • The archive holds .claude-plugin/plugin.json (name, version, description) and the skill’s files byte for byte under skills/<id>/. It is built deterministically (fixed timestamps, sorted entries), so every replica of the same release serves the same bytes and the same SHA-256 for one revision. During a rolling upgrade between releases built with different compressors, a replica may answer 404 to an archive URL another replica listed; the client succeeds after refreshing the marketplace. SKILL.md should start with the client’s front matter (name, description) to be described well in the client; the gateway does not rewrite files.
  • An archive is served only while its SHA-256 is the current one for the key’s team: after a new publication, a disable, a revoked signing key or a removed grant, the old URL answers 404 archive_not_found.
Status Code When
401 unauthorized No or invalid key
403 scope_forbidden The key lacks skills:install
403 team_required The key has no team
403 entitlement_forbidden Feature plans are on and the team plan lacks the feature
400 invalid_request A query string was sent (the feed takes none)
404 feature_disabled skill_marketplace or skill_registry is off
404 archive_not_found No current archive with this name and hash for the key’s team
503 storage_unavailable PostgreSQL unavailable

Every answer is Cache-Control: private, no-store with X-Content-Type-Options: nosniff.

  • Untrusted content. A skill holds instructions the client will follow. The feed proves which revision you receive (hash, and signature when required), not that its content is safe.
  • The client caches installed skills; a skill removed from the feed stays installed until the client updates its marketplace or the user uninstalls it.
  • At most the registry’s 1,000 skills; each archive is built on request from the stored revision (at most 128 KiB of text).

m7gtw[email protected]