Skip to content
中文

Limits and errors

This applies to every endpoint under /registry/v1. A failure response has the shape {"error": {"code", "message", "doc_url"}}; message names the field or condition at fault, and code decides the next step.

Limits

ItemValueNotes
Repository name^[a-z0-9][a-z0-9-]{0,62}$Lowercase letters, digits and hyphens, up to 63 characters; cannot be renamed
Package nameLowercase letters, digits and single hyphens, up to 64 charactersTaken from name: in SKILL.md or name in plugin.json
Version numberFull semver: MAJOR.MINOR.PATCH, optional prereleaseStrictly increasing within a package; a withdrawn version still holds its number
One upload25 MiBLarger returns 413
Unpacked50 MiB and at most 1000 filesLarger returns 413
Paging page_size1 to 100Out of range returns 400; page with next_cursor
Targets per install callAt most 50agent_ids or computer_ids
Skills per agentAt most 20When full, the target appears in errors
Default repositoryOne per organization, named defaultCannot be deleted

Error codes

HTTPcodeTypical causeWhat to doRetry
400INVALID_PARAMSBad repository name or version format; both or neither of archive and files; content has neither SKILL.md nor .claude-plugin/plugin.json (or both); a skill installed on a computer; page_size out of rangeFix the field named in messageAfter fixing
401none (the gateway returns its standard authentication problem response)Missing or invalid API keySend an API key that owns the organizationNo
404NOT_FOUNDThe repository, package, version or installation does not exist, or belongs to another organization (deliberately not told apart); a repeated deleteRetry with an ID taken from a list endpointNo
409ALREADY_EXISTSA repository with this name already existsChoose another nameNo
409FAILED_PRECONDITIONDeleting the default or a non-empty repository; publishing a version not above the highest published; withdrawing a withdrawn version; installing a withdrawn version; installing a plugin that is not the latest; a skill name clash or a full 20 skills; the target agent does not existAdjust the condition named in message (raise the version, pick a version that is not withdrawn, empty the repository first)After adjusting
413PAYLOAD_TOO_LARGEThe upload exceeds a limitTrim the content and resendAfter shrinking
429QUOTA_EXCEEDEDThe organization hit its registry usage or request-rate limitSend fewer requests, or clear content you no longer needLater
500INTERNALThe service could not finish the requestBefore retrying a write, read first to confirm the previous attempt did not partly applyAfter reading
503UNAVAILABLEThe platform could not finish the request (for example the git backend is unreachable); nothing took effectRetry laterYes

Batch install is the exception: if at least one target succeeds the call returns 201, and failed targets are in the response’s errors with target_id, code and message. code INTERNAL means the target is temporarily unavailable and can be retried; FAILED_PRECONDITION means the state forbids it, so change the condition first.

No endpoint deletes a package

A package cannot be deleted yet, so a repository that has held a package cannot be deleted either. Withdrawing a version stops new installs, but the version number stays taken. When you create a repository for a throwaway test, give it a prefix such as docs-example- and accept that it stays.

Quickstart → · Install on an agent →