Index of every page on this site: llms.txt
All skills
vite-hub avatar

/skill-hub

@8c10e89
by ViteHubvite-hub/drop9 stars
Run it yourself

Shares agent skills through a Drop folder, the hub, and installs them from it with the skills CLI, so a team or one person keeps their skills in one place across projects and agents. Use when the user wants to share, publish, find, install, or update a skill from Drop.

Use this Skill: https://skilld.dev/gh/vite-hub/drop/skill-hub

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈70 tokens for metadata: the name and description. ≈2.3k when used: this file.

Description uses 3.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈281 characters, or 3.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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.mjs

A 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-hub skill (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

  1. Find the skill. list_drops with folder set to the hub lists its skills; with query, it searches their docs. Read each candidate's SKILL doc 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.json lists each skill's name, description and files, and <hub link>/.well-known/skills/<name>/<file> returns each file.

  2. 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.

  3. 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.

  4. Install by link, from a public hub. Run npx skills add <hub link> --skill <name> -a <agent> [-a <agent>] -y, with -g for every project. The link serves text files only, so a skill with an image or other binary file installs through MCP instead.

  5. Install through MCP, from a private or team hub. read_drop the 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 slug skill is written as SKILL.md, regardless of its stored filename. Save file drops from the original bytes returned by read_drop (or read_file with format: resource), including private files. Add these fields to the frontmatter of the written SKILL.md:

    • drop-version: the SKILL doc's version, and drop-link: its link.
    • drop-folder: the skill subfolder's link.
    • drop-state: a list sorted by relative file path, with each downloaded file's path, Drop id and version. Include every Markdown doc and file drop, including SKILL.md, references and scripts.

    Then run npx skills add <tmp> --skill <name> -a <agent> [-a <agent>] -y, with -g for 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

  1. Read the skill from disk: its SKILL.md and every file beside it. Check the frontmatter has name (lowercase letters, digits and dashes) and a description that says when to use it.
  2. 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.
  3. 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 as references or scripts) to create in the browser. Wait for their links and verify the folders with read_drop before publishing; agents cannot create folders anywhere inside a team hub.
  4. Publish. Publish SKILL.md as a doc with slug skill, each other Markdown file as a doc in its folder (references/format.md as format in references), and each other file as a file drop with its name. Strip drop-version, drop-link, drop-folder and drop-state from the frontmatter first. For a new version, match each file by its relative path and publish each changed doc or file drop with previous set to that existing Drop's id and a note saying 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.
  5. Remove deleted files. After the new and changed files publish successfully, call update_drop with id set to each approved removed doc or file Drop's id and trash: 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.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning10d3 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    This skill acts as a manager for agent skills, allowing users to find, install, and publish skills using a 'Drop' folder as a repository. It handles external downloads of scripts and documents and executes a CLI tool to manage installations. Security relies on a manual review step where the agent must summarize the skill's actions and get user confirmation before installation.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: MEDIUM · 1 issue

Signed by skilld at 8c10e89. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week

README badge

README badge for vite-hub/drop/skill-hub