@claudehubcc/install
v1.1.0
Published
Install public skills, workflows, sub-agents and kits from claudehub.cc into your .claude directory
Maintainers
Readme
@claudehubcc/install
Install public skills, workflows, sub-agents and kits from
claudehub.cc straight into your project's .claude/
directory, with no login required.
Usage
# Install any public item by its claudehub.cc URL
npx @claudehubcc/install https://claudehub.cc/skills/<id>
npx @claudehubcc/install https://claudehub.cc/workflows/<id>
npx @claudehubcc/install https://claudehub.cc/sub-agents/<id>
npx @claudehubcc/install https://claudehub.cc/kits/<id>
# Equivalent explicit form
npx @claudehubcc/install add https://claudehub.cc/skills/<id>
# Install into a specific project directory
npx @claudehubcc/install https://claudehub.cc/skills/<id> --dir ./my-projectThe item type is inferred from the URL, so there is no flag to set.
What gets written
The layout matches the site's download/export exactly:
| Type | Destination |
| ---------- | ------------------------------------ |
| Skill | .claude/skills/<name>/ |
| Workflow | .claude/skills/<name>/ (+ workflow-graph.yaml) |
| Sub-agent | .claude/agents/<name>.md |
| Kit | .claude/skills/... + .claude/agents/... |
Each install is recorded in claudehub-lock.json at the project root
({ type, id, source, version, hash }) so installs can be tracked and updated.
Items imported from GitHub
Skills and sub-agents that claudehub.cc imported from a GitHub repository are
downloaded straight from that repository, so you always get its latest content.
GitHub allows 60 anonymous API requests per hour; set GITHUB_TOKEN (or
GH_TOKEN) to raise that limit. If GitHub is unavailable the install falls back
to the claudehub.cc download automatically.
Public items only
Only public items can be installed without authentication. Private items return "not found"; paid items that have not been purchased return a clear error.
Configuration
For local development you can point the CLI at a different instance:
CLAUDEHUB_URL=http://localhost:3000 \
CLAUDEHUB_API_URL=http://localhost:4000 \
npx @claudehubcc/install http://localhost:3000/skills/<id>License
MIT
