Skill hub
The hub is a Drop folder that holds agent skills, one subfolder per skill. People publish their skills into it, and anyone who can open it installs them into their agents with the skills CLI, npx skills, which knows where each agent keeps its skills and records what it installed.
The hub's share decides how a skill installs. The CLI can't sign in to Drop, so it reads only what a signed-out visitor can open:
| Hub's share | Install | Update |
|---|---|---|
public or public_comment |
npx skills add <hub link> |
npx skills update |
private, team, team_edit |
Download it through Drop's MCP tools, then npx skills add it |
Compare with the hub through MCP, reinstall |
Layout
skill-hub/ the hub
release-notes/ one subfolder per skill, named after it
SKILL doc with the SKILL.md text, frontmatter included
references/
format references/format.md
scripts/
check.mjs a file drop: scripts/check.mjsA doc becomes <its path>/<slug>.md, except the doc with slug skill, which becomes SKILL.md. A file drop keeps its file name. The skill's name in the frontmatter matches its subfolder; the link leaves out a skill whose name doesn't.
Find the hub
When the user gives you a hub's link, use it. Otherwise call list_folders and look for skill-hub, or a folder whose description says it holds skills. On a team Drop, prefer the team's folder.
When there is none, recommend creating it: title Skill hub, slug skill-hub, lifetime: keep, keepReason: "Shared agent skills.", and this description:
Agent skills, one subfolder per skill with its SKILL doc, references and scripts. To install, publish or update one, read the
skill-hubskill (skill://skill-hub/SKILL.md, or /.well-known/skills/skill-hub/SKILL.md on this Drop).
Keep lifetime: keep on any hub: installing and updating don't count as visits, so a hub on another lifetime expires while people still use it.
For a personal hub, use create_folder once the user agrees. For a team hub, ask a team admin to create it in the browser and send its link, then verify it with list_folders. MCP agents cannot create team folders, even when acting for an admin.
The hub installs by link only while it's shared public or public_comment; ask the user before sharing it that way, since anyone with the link can then read every skill in it. When list_folders shows a publicUntil, the link closes then, and installs and updates stop until someone shares it again. A link on a Drop you aren't connected to is a public hub when <hub link>/.well-known/skills/index.json lists skills; for any other folder it lists none.
Done when you hold the hub's id, link (url in list_folders) and share, or, for a hub on another Drop, its link.
Install
Find the skill.
list_dropswithfolderset to the hub lists its skills; withquery, it searches their docs. Read each candidate'sSKILLdoc and show the user its name, description, author and last change. For a public hub on a Drop you aren't connected to,<hub link>/.well-known/skills/index.jsonlists each skill'sname,descriptionandfiles, and<hub link>/.well-known/skills/<name>/<file>returns each file.Show what it does. A skill is instructions your agent will follow, written by whoever published it. Before installing, summarise what it tells the agent to do, and name any script it runs and any command, URL or credential it touches.
Ask where. The CLI's own prompts wait for a terminal, so ask in chat instead: which agents (Claude Code, Codex, Cursor, …, or all) and for every project or only this one.
Install by link, from a public hub. Run
npx skills add <hub link> --skill <name> -a <agent> [-a <agent>] -y, with-gfor every project. The link serves text files only, so a skill with an image or other binary file installs through MCP instead.Install through MCP, from a private or team hub.
read_dropthe skill's subfolder and recurse through every nested folder to read every doc and file. Write them to a new temporary folder,<tmp>/<name>/, laid out as above: the doc with slugskillis written asSKILL.md, regardless of its stored filename. Save file drops from the original bytes returned byread_drop(orread_filewithformat: resource), including private files. Add these fields to the frontmatter of the writtenSKILL.md:drop-version: theSKILLdoc's version, anddrop-link: its link.drop-folder: the skill subfolder's link.drop-state: a list sorted by relative file path, with each downloaded file'spath, Dropidandversion. Include every Markdown doc and file drop, includingSKILL.md, references and scripts.
Then run
npx skills add <tmp> --skill <name> -a <agent> [-a <agent>] -y, with-gfor every project, and delete the temporary folder.
When the user wants to pick in the CLI's own wizard, give them the command without -y to run in their terminal instead.
Done when the CLI reports the skill installed for each agent the user named, and no temporary folder is left.
Publish
- Read the skill from disk: its
SKILL.mdand every file beside it. Check the frontmatter hasname(lowercase letters, digits and dashes) and adescriptionthat says when to use it. - Check the hub. When a subfolder with that name exists and the user didn't write that skill, ask before replacing it. Read the existing skill folder recursively and compare its active doc and file paths with the local tree, using the Layout rules. Show any paths missing locally, including old paths of renamed files, and ask before moving those Drops to the Trash. If the user declines, stop before publishing the replacement.
- Prepare folders. Reuse existing folders. For a personal hub, create missing folders with
create_folder. For a team hub, give a team admin the complete missing folder tree (the skill subfolder and any folders such asreferencesorscripts) to create in the browser. Wait for their links and verify the folders withread_dropbefore publishing; agents cannot create folders anywhere inside a team hub. - Publish. Publish
SKILL.mdas a doc with slugskill, each other Markdown file as a doc in its folder (references/format.mdasformatinreferences), and each other file as a file drop with its name. Stripdrop-version,drop-link,drop-folderanddrop-statefrom the frontmatter first. For a new version, match each file by its relative path and publish each changed doc or file drop withpreviousset to that existing Drop's id and anotesaying what changed. Create a new Drop only for a new path, so an updated script replaces its earlier version instead of leaving two files with the same name. - Remove deleted files. After the new and changed files publish successfully, call
update_dropwithidset to each approved removed doc or file Drop's id andtrash: true. Re-read the skill folder recursively and verify that its active doc and file paths match the local tree. Report any failed operation or remaining difference instead of calling the release complete.
On a public hub, everyone who installed by link gets the new version from npx skills update within about a minute: Drop lets the CLI cache the hub for 60 seconds.
Done when the skill subfolder's active file set matches the local skill and you've given the user the subfolder's link.
Update
Installed by link, so its SKILL.md has no drop-link. Run npx skills check, with -g for skills installed for every project. It names each skill that changed on the hub. Show the user what changed, from the version notes through read_drop or the files under the link, and once they agree, run npx skills update <name> with the same flag.
Installed through MCP. The installed SKILL.md has a drop-link. Read its drop-folder with read_drop and recurse through every nested folder. Build the same sorted list of relative file paths, Drop ids and versions as drop-state. Any difference means an update: an added, removed, renamed or versioned doc or file counts, even when the SKILL doc's version has not changed. Show the user the changed paths and their version notes and, once they agree, install again as above. npx skills update can't update these, since the CLI recorded the temporary folder as their source; when their hub has since become public, offer to reinstall them by link so it can.
For an older installation with only drop-link and drop-version, read the linked doc and locate its skill folder through list_folders and list_drops. Offer to reinstall once to record the full state; the entry doc's version alone cannot establish that the skill is current.
Done when every hub skill the user has installed matches the hub's full file state or the user chose to keep theirs.