List an org's packages
List all of an org’s packages of one registry type.
-
Decide which
packageTypeyou want:npm,maven,rubygems,docker(legacydocker.pkg.github.com),container(ghcr.io),nuget, orgeneric. GitHub’s real endpoint requires this — there is no single call that lists every type at once. -
Call the tool:
list_org_packages { org: "your-org", packageType: "npm" } -
Read the result: an array of
{ id, name, packageType, visibility, versionCount }, one entry per package of that type.
To audit every type an org publishes, repeat step 2 once per known type
and combine the results — this is exactly what the package-audit skill
does.
Common mistake
Section titled “Common mistake”Confusing docker and container: docker only sees packages on the
legacy Docker registry. If your org publishes container images via
ghcr.io (the common case today), use packageType: "container" instead —
docker will return an empty or wrong result, not an error.