hub

Commands for saving and managing skill hubs, which are shared sources that Skillshare can search for coding-assistant skills.

In plain words
What is it for?
Use it to add a hub from a web address, local path, or SSH Git repository, choose project or global storage, and manage the saved hub list.
Why use it?
It avoids repeatedly entering organization or team hub locations and makes it easier to switch between saved sources.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/runkids/skillshare/hub
Clone the repo
git clone --depth 1 https://github.com/runkids/skillshare
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,889 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01889
Opus 5 $0.00000 $0.00945
Sonnet 5 $0.00000 $0.00378
Haiku 4.5 $0.00000 $0.00189

Measured 2d ago against content hash f76423106a86, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hub scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

website/docs/reference/commands/hub.md · 236 lines

How it starts

The opening of the file, as written. The whole thing — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.

hub

Manage skill hubs — saved hub sources for organization-wide skill discovery.

When to Use

  • Set up your organization's skill catalog for search to query
  • Switch between multiple hubs (e.g., company-wide vs team-specific)
  • List or remove saved hub sources

hub add

Save a hub source to config for reuse in search --hub.

skillshare hub add <url> [options]
Flag Description
--label, -l Custom label (default: derived from URL hostname)
--project, -p Save to project config
--global, -g Save to global config

The first hub added is automatically set as the default. Labels are case-insensitive.

A hub URL can be an HTTP(S) URL, a local file path, or an SSH URL — scp-style (git@host:org/repo.git) or scheme-style (ssh://git@host/org/repo.git). For SSH sources the index file is read from the repo via the //path suffix, defaulting to skillshare-hub.json at the repo root. SSH sources are cloned using your SSH agent/keys, which works for private and GitHub Enterprise hosts.

When an SSH hub contains same-host GitHub or GitHub Enterprise domain-prefixed entries, Skillshare installs them through the hub's SSH identity. For example, a hub added as [email protected]:Org/skills.git//hubs/team.json can contain acme.ghe.com/Org/skills/skills/reviewer, and search results install it as [email protected]:Org/skills.git//skills/reviewer. Outside an SSH hub, domain-prefixed sources still mean HTTPS.

skillshare hub add https://internal.corp/hub.json --label team
skillshare hub add ./local-hub.json                          # label derived: "local-hub"
skillshare hub add [email protected]:team/skills.git --label ghe
skillshare hub add [email protected]:team/skills.git//hubs/team.json --label ghe-team

hub list

List saved hubs. * marks the default hub.

skillshare hub list [options]
Flag Description
--project, -p Show project hubs
--global, -g Show global hubs

Read the full file on GitHub · 236 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 236 lines · 0 tokens per session scan A f76423106a86

Subscribe to this mod's changes

hub is a command published in the GitHub repository runkids/skillshare (2,597 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,889 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.