Back to AI Tools & Agents

ClawHub

aipackage-managerautomationcliagent-development
4.7 (78)379.0k📄 NOASSERTION🕒 2026-06-16Source ↗

Install this skill

npx skills add openclaw/openclaw

Works across Claude Code, Cursor, Codex, Copilot & Antigravity

What this skill does

  • Search registry for pre-built agent skills
  • Install and manage third-party skill modules locally
  • Perform version-controlled updates with hash-based validation
  • Publish custom skills to the central registry
  • Override default registries and storage paths via configuration

When to use it

  • Expanding your OpenClaw assistant with community-developed tools
  • Standardizing agent skill versions across multiple local projects
  • Distributing your custom AI tools to other OpenClaw users
  • Maintaining local skill integrity using automated update checks

When not to use it

  • Managing general software packages not related to the OpenClaw ecosystem
  • Deploying large-scale production microservices
  • Installing dependencies for non-agent JavaScript projects

How to invoke it

Example prompts that trigger this skill:

  • clawhub search for postgres backup tools
  • clawhub install the latest weather data skill
  • update all my currently installed skills
  • publish this folder as a new agent skill
  • list everything currently installed in my workspace

Example workflow

  1. Run 'clawhub search' to find a relevant skill slug
  2. Execute 'clawhub install [skill-name]' to pull it into your ./skills directory
  3. Configure local environment variables if the skill requires authentication
  4. Periodically run 'clawhub update --all' to ensure your features are current
  5. Verify the installation status using 'clawhub list'

Prerequisites

  • Node.js runtime installed
  • OpenClaw environment initialized

Pitfalls & limitations

  • !Requires active network connectivity to reach the default registry
  • !Local skill directory structure must align with OpenClaw conventions
  • !Security caution: skills run shell commands; verify source before installation

FAQ

Can I use a custom registry instead of the default?
Yes, you can override the default registry by setting the CLAWHUB_REGISTRY environment variable or using the --registry flag during execution.
How does the update command verify my files?
ClawHub uses hash-based matching to compare your local skill files against the registry, ensuring that updates only occur if a genuine version mismatch exists.
Where are skills stored by default?
By default, ClawHub installs skills into a ./skills directory within your current working directory or the OpenClaw workspace.
Is it safe to run all updates automatically?
While you can use the --no-input flag for automation, it is recommended to review changelogs, as skills often execute shell commands that could affect your local environment.

How it compares

Unlike manual cloning or npm installs, ClawHub manages the specific lifecycle, versioning, and registry metadata required for agent-based behaviors in the OpenClaw architecture.

Source & trust

379k stars📄 NOASSERTION🕒 Updated 2026-06-16🛡 runs-shell, network

From the source: “# ClawHub CLI Install ```bash npm i -g clawhub ``` Auth (publish) ```bash clawhub login clawhub whoami ``` Search ```bash clawhub search "postgres backups" ``` Install ```bash clawhub install my-skill clawhub install my-skill --version 1.2.3 ``` Update (hash-based match + upgrade) ```bash clawhub up…”

View the full SKILL.md source

# ClawHub CLI

Install

```bash
npm i -g clawhub
```

Auth (publish)

```bash
clawhub login
clawhub whoami
```

Search

```bash
clawhub search "postgres backups"
```

Install

```bash
clawhub install my-skill
clawhub install my-skill --version 1.2.3
```

Update (hash-based match + upgrade)

```bash
clawhub update my-skill
clawhub update my-skill --version 1.2.3
clawhub update --all
clawhub update my-skill --force
clawhub update --all --no-input --force
```

List

```bash
clawhub list
```

Publish

```bash
clawhub publish ./my-skill --slug my-skill --name "My Skill" --version 1.2.0 --changelog "Fixes + docs"
```

Notes

- Default registry: https://clawhub.com (override with CLAWHUB_REGISTRY or --registry)
- Default workdir: cwd (falls back to OpenClaw workspace); install dir: ./skills (override with --workdir / --dir / CLAWHUB_WORKDIR)
- Update command hashes local files, resolves matching version, and upgrades to latest unless --version is set

Quoted from openclaw/openclaw for reference — see the original for the authoritative, latest version.

📄 Full skill instructions — original source: openclaw/openclaw
ClawHub serves as the centralized package manager for the OpenClaw ecosystem, facilitating the discovery, distribution, and maintenance of AI-agent skills. For developers building or customizing personal AI assistants, it provides a command-line interface to browse available community modules, install them into specific project directories, and sync existing integrations with the latest upstream versions. By standardizing the format for skill updates, ClawHub ensures that local agent configurations remain compatible with remote registries. It handles the complexities of versioning and dependency management, allowing users to move beyond manual script management to a structured workflow. Whether you are bootstrapping a new assistant or iterating on custom agent behaviors, ClawHub acts as the bridge between distributed developer contributions and your local runtime, ensuring your agent possesses the current capabilities needed for your specific task requirements.

How to Use This Skill Unit

Option A: Project-Specific (Recommended)

  1. Click "Download" above
  2. In your project, create the directory: .agent/skills/clawhub/
  3. Save the file as SKILL.md
  4. The agent will automatically discover the skill based on its description.

Option B: Global Installation (All Agents)

Save the file to these locations to make it available across all projects:

  • Claude Code: ~/.claude/skills/openclaw/openclaw/clawhub/SKILL.md
  • Cursor: ~/.cursor/skills/openclaw/openclaw/clawhub/SKILL.md
  • Antigravity: ~/.gemini/antigravity/skills/openclaw/openclaw/clawhub/SKILL.md

🚀 Install with CLI:
npx skills add openclaw/openclaw

Read the Master Guide: Mastering Agent Skills

Recommended Rules

View more rules

Recommended Workflows

View more workflows

Recommended MCP Servers

View more MCP servers

Take It Further

Maximize your productivity with these powerful resources

📋

Define Your Standards

Set up coding standards to ensure this workflow produces consistent, high-quality results.

Browse Rules Library
📖

Master Workflows

Learn how to create custom workflows, use Turbo Mode, and build your automation library.

Complete Guide

How to use this Skill in Claude Code & Cursor

For Claude Code (CLI)

To use this skill in Claude Code, copy the rule content into your project's custom instructions or follow our Add-Skill CLI guide. This ensures Claude follows your standards during every code generation.

For Cursor & Windsurf

For Cursor or Windsurf, individual skills are best used in the "Rules for AI" section. This specific unit helps the agent avoid ai tools & agents issues, leading to cleaner, more efficient code.

Why the skill format matters: the standardized Agent Skills format lets your AI agent load detailed instructions only when they are relevant, keeping your prompt clean while improving results.

Source & attribution

This skill is categorized under AI Tools & Agents and is published by openclaw, maintained in openclaw/openclaw.

← Browse All Agent Skills
Sponsored AI assistant. Recommendations may be paid.