Skip to main content

Module skill_catalog

Module skill_catalog 

Source
Expand description

The public catalog of computer-use skills (docs/specs/SPEC_SKILLS_REPOSITORY_2026_11_05.md §2): fetch its signed index, say what is installed here, and install or update one skill. It reuses the widget catalog’s fetch and signature check with its own key list: a leaked secret in one repository cannot sign the other’s index.

Three checks stand between the network and the catalog, each against the entry in the signed index: the zip’s SHA-256, the skill’s content hash, and the author’s signature. A skill installs unapproved, the same as one imported from a folder: its scripts are never given to an agent until a person approves them, and its MCP pointer is only shown, never installed.

Structs§

AppSkillCatalogItem
An entry as Browse shows it: the entry, its author’s fingerprint and badge, and what is installed here.
AppSkillHere
An installed skill’s application on this computer.
CatalogApp
CatalogEntry
CatalogRecord
One test the catalog records for a version of a skill.
CatalogVersions
Installed
What install_download did.

Constants§

CATALOG_URL
Where the catalog is served.
PACK_CATALOG_KEYS
The catalog keys AgentMux trusts for this index (base64 Ed25519 public keys), more than one for a rotation. The private half is a secret of the catalog’s own repository; the widget catalog has a different key.

Functions§

add_app_versions
Says for each entry whether its application is on this computer, and which version, by the executable names it lists for platform (find is app_version::find). An entry that lists none for this platform is left as it is.
check_download
Checks a downloaded zip against its entry: the zip’s SHA-256, then, unpacked and read like any skill folder, the content hash, the id and version, and the author’s signature (which must be the key the catalog lists, and not another key than the one this publisher is pinned to here). Returns the skill and the key that signed it.
download
The zip an entry points at, from the catalog’s own origin (no redirects).
fetch
The catalog at url, checked.
install_download
Check zip against entry and add it to the catalog as a computer-use skill, or replace the version installed here. Scripts arrive unapproved (a script whose text is unchanged keeps the approval a person gave it). A new skill is global, bound to nobody and outside “new agents get it”; an update keeps its binds and reach.
installed_here
For each installed skill that lists an executable for platform: whether its application is here, and which version (find is app_version::find). A skill that lists none for this platform is left out: there is nothing to look for.
items
What Browse lists: each entry with what is installed here (installed is Store::skill_app_map).
this_platform
The platform name skills use for the computer this runs on.
verify_index
Checks the index raw against its signature with keys, and each entry against the catalog’s rules.