# Skills, MCP, Desktop & Business OS

URL: https://docs.hanzo.ai/docs/skills

> Complete progressive setup for Claude Code, Codex, Cursor, Windsurf, Gemini CLI, Antigravity, Hanzo Desktop, Hanzo Dev, and Hanzo Bot — plus deploying OSS business apps (Analytics, Insights, Marketing, Team, Commerce, Mail, Workflows).

> **Canonical drop-in `CLAUDE.md` / `AGENTS.md`**: [hanzoskills.com/CLAUDE.md](https://hanzoskills.com/CLAUDE.md) · [hanzo.ai/CLAUDE.md](https://hanzo.ai/CLAUDE.md) · [hanzoskills.com/AGENTS.md](https://hanzoskills.com/AGENTS.md)

[hanzoskills.com](https://hanzoskills.com) publishes **1,477+ plain-markdown skills** across 14 categories and a progressive index of **2,832+ public open-source repositories** hosted on [forge.hanzo.ai](https://forge.hanzo.ai) — over plain HTTPS, with zero authentication required.

Everything uses **3-tier progressive disclosure**: an agent loads a compact Tier-0 index (\~7–8 KB) up front, drills into a single category or organization at Tier 1 only when needed, and fetches one `SKILL.md` or clones one repository at Tier 2 on demand.

## Universal Copy-Paste Setup Prompt

Paste this directly into **Claude Code, Codex, Cursor, Windsurf, Gemini CLI, Antigravity, or any AI agent** so it configures its own native files, installs Hanzo MCP + CLI + Browser Extension + Desktop visibility, verifies live usage, and unlocks the full Business AI Operating System:

```text
Configure this machine and workspace so you can operate the entire Hanzo AI Operating System fluently using YOUR OWN native config format and 3-tier progressive disclosure (never dump the full skill corpus into context):

1. Native instructions file — fetch https://hanzoskills.com/CLAUDE.md (or https://hanzo.ai/CLAUDE.md) and write it into your native instructions location:
   - Claude Code: append to ./CLAUDE.md and ~/.claude/CLAUDE.md; save on-demand skills to ~/.claude/skills/<id>/SKILL.md
   - Codex: append https://hanzoskills.com/AGENTS.md to ./AGENTS.md and ~/.codex/AGENTS.md; skills in ~/.codex/skills/<id>/SKILL.md
   - Cursor: write .cursor/rules/hanzo.mdc (alwaysApply: true); on-demand skills in .cursor/rules/<id>.mdc (alwaysApply: false)
   - Windsurf: write .windsurf/rules/hanzo.md (or .windsurfrules)
   - Gemini CLI / Antigravity: append to ./GEMINI.md and ~/.gemini/GEMINI.md; skills in ~/.gemini/antigravity/skills/<id>/SKILL.md
   - GitHub Copilot: write .github/copilot-instructions.md; per-skill .github/instructions/<id>.instructions.md
   - Hanzo Dev / Hanzo Bot: use <repo>/.agents/skills/ or ~/.agents/skills/ (Bot: ~/.hanzo/bot/skills/)

2. Wire Hanzo MCP natively (13 HIP-0300 unified tools + linked cloud connectors):
   - Claude Code: run `claude mcp add --scope user hanzo -- npx -y hanzo mcp`
   - Codex: run `codex mcp add hanzo -- npx -y hanzo mcp`
   - Cursor / Claude Desktop / Windsurf / Gemini CLI / Antigravity / VS Code: add to your native MCP JSON config:
     {"mcpServers":{"hanzo":{"command":"npx","args":["-y","hanzo","mcp"]}}}
   - Hosted Cloud MCP alternative (Streamable HTTP, zero local setup): https://api.hanzo.ai/v1/mcp (Authorization: Bearer $HANZO_API_KEY)

3. Install the Hanzo Browser Extension (and IDE plugin if applicable):
   - Download and unpack the latest Chrome/Chromium extension into ~/.hanzo/browser-extension:
     mkdir -p ~/.hanzo/browser-extension && cd ~/.hanzo/browser-extension && URL=$(curl -fsSL https://api.github.com/repos/hanzoai/extension/releases/latest | grep -oE 'https://[^"]*hanzo-ai-chrome[^"]*\.zip' | head -1) && curl -fsSL "$URL" -o ext.zip && unzip -oq ext.zip && rm ext.zip
   - Prompt me to open chrome://extensions -> enable Developer mode -> Load unpacked -> select ~/.hanzo/browser-extension -> sign in via https://hanzo.id (Firefox/Safari/Edge & IDE .vsix plugins are at https://hanzo.ai/extension and https://hanzo.ai/download).
   - Once linked, use Hanzo MCP's `computer`/browser tools over ZAP/CDP for live tabs, DOM snapshots, click/type, screenshots, and social automation.

4. Wire Hanzo CLI, Hanzo Desktop, Hanzo Dev, Hanzo Bot & Live Usage Visibility:
   - Install native CLI + Dev + MCP + local inference engine: `curl -fsSL https://hanzo.sh | sh` (or `npm i -g hanzo`)
   - Sign in with `hanzo login` (or headless wallet signup + free API key via https://hanzoskills.com/hanzo.md) and export HANZO_API_KEY.
   - Install Hanzo Desktop from https://hanzo.ai/download (or https://hanzo.ai/desktop) and sign in with the same Hanzo ID so ALL local & cloud agents, sessions, bot runs, and spend show up in one control plane.
   - Launch agents through the Hanzo CLI (`hanzo dev`, `hanzo --claude`, `hanzo --codex`, `hanzo --cursor`, `hanzo --agy`, `hanzo --gemini`; add `--cloud` to run model calls on your Hanzo plan) so every session and tool call registers in Hanzo Desktop & CLI automatically.
   - Verify live access & usage now: run `hanzo billing tier`, `hanzo billing balance`, and `hanzo usage summary`.
   - Hanzo Bot (always-on autonomous agents for Slack/Discord/Telegram/WhatsApp/iMessage + browser/terminal/cron): cloud at https://hanzo.bot (`hanzo bot runs list`) or local daemon `npm i -g @hanzo/bot && hanzo-bot onboard --install-daemon`.

5. Business AI Operating System (Deploy OSS Apps on Hanzo Cloud or Self-Host):
   - Org & KMS bootstrap: follow https://docs.hanzo.ai/docs/run-your-org (`hanzo kms put` for secrets, scoped org API keys).
   - Deploy or connect OSS business apps from https://forge.hanzo.ai/hanzoai/* (`hanzo deploy .` or self-host):
     * Web Analytics: forge.hanzo.ai/hanzoai/analytics (skill: /skills/hanzo-analytics/SKILL.md)
     * Product Insights & Feature Flags: forge.hanzo.ai/hanzoai/insights (skill: /skills/hanzo-insights/SKILL.md)
     * Marketing, Social & Ads: forge.hanzo.ai/hanzoai/post & hanzoai/ads (skill: /skills/hanzo-post/SKILL.md + /categories/growth-product.md)
     * Team Workspace, Commerce, Billing, Cal, Mail, Workflows & Studio: hanzoai/team, hanzoai/commerce, hanzoai/billing, hanzoai/cal, hanzoai/mail, hanzoai/flow, hanzoai/studio, hanzoai/o11y
   - Full platform API (https://api.hanzo.ai/v1): zero-auth discovery at GET /v1 and /v1/openapi.json (Enso, Zen, Kai /v1/decisions, IAM, KMS, Base, SQL, KV, Vector, S3, PubSub, Tasks, Sandboxes, Billing/USDC).

6. Progressive skills & Forge OSS (2,832+ public repos — NEVER fetch /all.md):
   - Skills: https://hanzoskills.com/llms.txt -> /categories/<slug>.md -> /skills/<id>/SKILL.md
   - Forge OSS: https://hanzoskills.com/oss/index.md -> /oss/<org>.md -> `git clone https://forge.hanzo.ai/<org>/<repo>.git`

Docs: https://docs.hanzo.ai/docs/skills · Skills: https://hanzoskills.com · Platform: https://hanzo.ai · Forge: https://forge.hanzo.ai
```

## Native Per-Agent Configuration

Every agent should use its own native instructions file, skills directory, and MCP server registration so nothing fights the host harness:

| Agent                        | Native Instructions                             | Native Skills Path                              | Native MCP Wiring                                       |
| ---------------------------- | ----------------------------------------------- | ----------------------------------------------- | ------------------------------------------------------- |
| **Claude Code**              | `./CLAUDE.md` & `~/.claude/CLAUDE.md`           | `~/.claude/skills/<id>/SKILL.md`                | `claude mcp add --scope user hanzo -- npx -y hanzo mcp` |
| **Codex**                    | `./AGENTS.md` & `~/.codex/AGENTS.md`            | `~/.codex/skills/<id>/SKILL.md`                 | `codex mcp add hanzo -- npx -y hanzo mcp`               |
| **Cursor**                   | `.cursor/rules/hanzo.mdc` (`alwaysApply: true`) | `.cursor/rules/<id>.mdc` (`alwaysApply: false`) | `.cursor/mcp.json`                                      |
| **Windsurf**                 | `.windsurf/rules/hanzo.md` / `.windsurfrules`   | `.windsurf/rules/<id>.md`                       | `~/.codeium/windsurf/mcp_config.json`                   |
| **Gemini CLI / Antigravity** | `./GEMINI.md` & `~/.gemini/GEMINI.md`           | `~/.gemini/antigravity/skills/<id>/SKILL.md`    | `~/.gemini/settings.json`                               |
| **GitHub Copilot**           | `.github/copilot-instructions.md`               | `.github/instructions/<id>.instructions.md`     | `.vscode/mcp.json`                                      |
| **Hanzo Dev**                | Native (`CLAUDE.md` / `AGENTS.md`)              | `<repo>/.agents/skills/` or `~/.agents/skills/` | Built-in native MCP + ZAP                               |
| **Hanzo Bot**                | Native (`hanzo.bot`)                            | `<workspace>/skills/` or `~/.hanzo/bot/skills/` | Built-in native MCP + sandbox browser                   |

## Install Hanzo MCP (Local Stdio & Hosted HTTP)

```bash
# Claude Code (user scope — available in every repo)
claude mcp add --scope user hanzo -- npx -y hanzo mcp

# Codex
codex mcp add hanzo -- npx -y hanzo mcp
```

JSON MCP entry for **Cursor, Claude Desktop, Windsurf, Gemini CLI, Antigravity, and VS Code**:

```json
{
  "mcpServers": {
    "hanzo": {
      "command": "npx",
      "args": ["-y", "hanzo", "mcp"]
    }
  }
}
```

- **Hosted Cloud MCP (Streamable HTTP, zero local setup)**: `https://api.hanzo.ai/v1/mcp` (`Authorization: Bearer $HANZO_API_KEY`).
- **13 HIP-0300 unified tools**: `fs`, `exec`, `code`, `git`, `fetch`, `workspace`, `computer`, `think`, `memory`, `hanzo`, `plan`, `tasks`, `ui` plus linked cloud connectors (GitHub, Slack, Google, Discord, X).
- **Progressive schemas**: [`hanzoskills.com/mcp/index.json`](https://hanzoskills.com/mcp/index.json) → `/mcp/<tool>.json`. See [MCP](https://docs.hanzo.ai/docs/mcp).

## Install the Hanzo Browser Extension (Chrome, Firefox, Safari, Edge)

Download and unpack the latest Chrome/Chromium extension in one command:

```bash
mkdir -p ~/.hanzo/browser-extension && cd ~/.hanzo/browser-extension
URL=$(curl -fsSL https://api.github.com/repos/hanzoai/extension/releases/latest \
  | grep -oE 'https://[^"]*hanzo-ai-chrome[^"]*\.zip' | head -1)
curl -fsSL "$URL" -o ext.zip && unzip -oq ext.zip && rm ext.zip
```

1. Open `chrome://extensions` in Chrome, Brave, Arc, or Edge.
2. Enable **Developer mode** → click **Load unpacked** → select `~/.hanzo/browser-extension`.
3. Click the Hanzo extension icon and sign in via \*\*[hanzo.id](https://hanzo.id)\*\*. Once connected, Hanzo MCP's `computer`/browser tools bridge directly to live tabs over ZAP/CDP.
4. Firefox, Safari, Edge zips and VS Code / Cursor / Windsurf / Antigravity \`.vsix\` plugins are all at \*_[hanzo.ai/extension](https://hanzo.ai/extension)_\* and \*\*[hanzo.ai/download](https://hanzo.ai/download)\*\*.

## Hanzo Desktop, CLI, Hanzo Dev, Hanzo Bot & Unified Usage Visibility

Install the native CLI + Dev agent + MCP + Engine, and install **Hanzo Desktop** so every local and cloud agent, session, bot run, and usage metric appears in one place:

```bash
curl -fsSL https://hanzo.sh | sh     # or: npm i -g hanzo
hanzo login                           # or headless wallet signup: https://hanzoskills.com/hanzo.md
```

- __Download Hanzo Desktop_\* (macOS / Windows / Linux): \*_[hanzo.ai/download](https://hanzo.ai/download)_\* (or \*_[hanzo.ai/desktop](https://hanzo.ai/desktop)\*\*) and sign in with the same Hanzo ID.
- **Launch any coding agent via Hanzo CLI** so sessions, tool calls, and spend register automatically in Hanzo Desktop & CLI:
  ```bash
  hanzo dev                   # native Rust coding agent
  hanzo --claude              # Claude Code (keeps your Claude plan + attaches Hanzo MCP & session tracking)
  hanzo --claude --cloud      # Claude Code running model calls on your Hanzo plan
  hanzo --codex               # Codex (or add --cloud)
  hanzo --cursor              # Cursor
  hanzo --agy                 # Antigravity
  hanzo --gemini              # Gemini CLI
  hanzo engine serve <model>  # local open-weight inference
  hanzo up                    # run Hanzo Cloud locally
  ```
- **Live usage, plan & balance**:
  ```bash
  hanzo usage summary         # token & request usage across agents and models
  hanzo billing tier          # active plan & remaining allowance
  hanzo billing balance       # prepaid balance
  hanzo billing topup         # add credit (card or USDC/USDT)
  ```
- **Hanzo Bot (always-on autonomous resident agents)**:
  - Cloud: \*\*[hanzo.bot](https://hanzo.bot)\*\* (`hanzo bot runs list`) — dedicated sandbox Chromium, terminal, filesystem, memory, cron, and Slack/Discord/Telegram/WhatsApp/iMessage.
  - Local open-source daemon: `npm install -g @hanzo/bot && hanzo-bot onboard --install-daemon` ([docs.hanzo.bot](https://docs.hanzo.bot)).

## Business AI Operating System: Deploy OSS Business Apps

Every business can stand up a complete, sovereign AI Operating System by deploying Hanzo's open-source apps on Hanzo Cloud (`hanzo deploy .` / [platform.hanzo.ai](https://platform.hanzo.ai\)) or self-hosting on its own cluster. Start with \*\*[Run Your Org](https://docs.hanzo.ai/docs/run-your-org)\*\* to create your org, scoped API keys, and `hanzo kms put` secrets, then deploy the business apps you need:

| Business Function               | OSS Repository on Forge                                                                                                                                                 | Skill (Tier 2)                                                                                                                                | What It Gives Your Business                                                                                                                                                |
| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Web Analytics**               | [`hanzoai/analytics`](https://forge.hanzo.ai/hanzoai/analytics)                                                                                                         | [`hanzo-analytics`](https://hanzoskills.com/skills/hanzo-analytics/SKILL.md)                                                                  | Privacy-first, cookieless, anti-adblock web traffic, real-time dashboards & revenue attribution (`analytics.hanzo.ai`)                                                     |
| **Product Insights**            | [`hanzoai/insights`](https://forge.hanzo.ai/hanzoai/insights)                                                                                                           | [`hanzo-insights`](https://hanzoskills.com/skills/hanzo-insights/SKILL.md)                                                                    | Product event tracking, funnels, session recording, cohorts, feature flags & A/B experiments (`insights.hanzo.ai`)                                                         |
| **Marketing, Social & Ads**     | [`hanzoai/post`](https://forge.hanzo.ai/hanzoai/post) · [`hanzoai/ads`](https://forge.hanzo.ai/hanzoai/ads)                                                             | [`hanzo-post`](https://hanzoskills.com/skills/hanzo-post/SKILL.md) · [`growth-product`](https://hanzoskills.com/categories/growth-product.md) | Multi-channel social publishing, campaign automation, plus 30+ growth skills (`marketing-strategy`, `ai-seo`, `programmatic-seo`, `page-cro`, `cold-email`, `ad-creative`) |
| **Team Workspace**              | [`hanzoai/team`](https://forge.hanzo.ai/hanzoai/team)                                                                                                                   | [`hanzo-team`](https://hanzoskills.com/skills/hanzo-team/SKILL.md)                                                                            | Shared workspace for humans, bots, and agents (`hanzo.team`)                                                                                                               |
| **Commerce & Billing**          | [`hanzoai/commerce`](https://forge.hanzo.ai/hanzoai/commerce) · [`hanzoai/billing`](https://forge.hanzo.ai/hanzoai/billing)                                             | [`hanzo-commerce`](https://hanzoskills.com/skills/hanzo-commerce/SKILL.md)                                                                    | Orders, subscriptions, invoices, metered usage, card & crypto checkout                                                                                                     |
| **Calendar & Booking**          | [`hanzoai/cal`](https://forge.hanzo.ai/hanzoai/cal)                                                                                                                     | —                                                                                                                                             | Scheduling & booking on native Hanzo Base (`cal.hanzo.ai`)                                                                                                                 |
| **Business Mail**               | [`hanzoai/mail`](https://forge.hanzo.ai/hanzoai/mail)                                                                                                                   | —                                                                                                                                             | Self-hosted SMTP/IMAP/webmail with DKIM, SPF & DMARC                                                                                                                       |
| **Autonomous Bots & Workflows** | [`hanzoai/bot`](https://forge.hanzo.ai/hanzoai/bot) · [`hanzoai/flow`](https://forge.hanzo.ai/hanzoai/flow)                                                             | [`hanzo-bot`](https://hanzoskills.com/skills/hanzo-bot/SKILL.md) · [`hanzo-flow`](https://hanzoskills.com/skills/hanzo-flow/SKILL.md)         | Resident support/ops/sales bots + visual & code workflow orchestration                                                                                                     |
| **Creative Studio & Chat**      | [`hanzoai/studio`](https://forge.hanzo.ai/hanzoai/studio) · [`hanzoai/chat`](https://forge.hanzo.ai/hanzoai/chat)                                                       | —                                                                                                                                             | Brand assets, images, posters, slides, docs & multi-model chat                                                                                                             |
| **Observability & Core Cloud**  | [`hanzoai/o11y`](https://forge.hanzo.ai/hanzoai/o11y) · [`hanzoai/cloud`](https://forge.hanzo.ai/hanzoai/cloud) · [`hanzoai/base`](https://forge.hanzo.ai/hanzoai/base) | [`hanzo-cloud`](https://hanzoskills.com/skills/hanzo-cloud/SKILL.md) · [`hanzo-base`](https://hanzoskills.com/skills/hanzo-base/SKILL.md)     | OpenTelemetry metrics/logs/traces, IAM, KMS, Base, SQL, KV, Vector, S3 & single-binary Cloud                                                                               |

Deploy any OSS business app from Forge to your Hanzo Cloud org:

```bash
git clone https://forge.hanzo.ai/hanzoai/analytics.git && cd analytics
hanzo deploy .
```

## 3-Tier Progressive Disclosure & Forge OSS Index

| Tier       | Skills Endpoint                                                                                                                                             | Forge OSS Endpoint                                                                                                   | Size        |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | ----------- |
| **Tier 0** | [`/CLAUDE.md`](https://hanzoskills.com/CLAUDE.md), [`/llms.txt`](https://hanzoskills.com/llms.txt), [`/catalog.json`](https://hanzoskills.com/catalog.json) | [`/oss/index.md`](https://hanzoskills.com/oss/index.md), [`/oss/index.json`](https://hanzoskills.com/oss/index.json) | \~7–12 KB   |
| **Tier 1** | [`/categories/<slug>.md`](https://hanzoskills.com/categories/hanzo.md)                                                                                      | [`/oss/<org>.md`](https://hanzoskills.com/oss/hanzoai.md)                                                            | \~3–25 KB   |
| **Tier 2** | [`/skills/<id>/SKILL.md`](https://hanzoskills.com/skills/hanzo/SKILL.md)                                                                                    | `git clone https://forge.hanzo.ai/<org>/<repo>.git`                                                                  | Single item |

Every public open-source repository on \*\*[forge.hanzo.ai](https://forge.hanzo.ai)\*\* also exposes a progressive `CLAUDE.md` directly at `/<owner>/<repo>/CLAUDE.md` without modifying upstream mirrors.
