Skill: shonge/skill9 (version 0.1.0)

--- name: skill9 description: Cloud-synced skill vault — backup, version, and sync your AI agent skills across machines and platforms. Use when user wants to backup, sync, version-control, or migrate their skills. compatibility: Requires curl or wget for installation --- # skill9 — Your Skills, Everywhere skill9 backs up, versions, and syncs your AI agent skills across machines and platforms. ## Routing | Intent | Read | |--------|------| | Install, configure, reconnect, first-time setup | [`SETUP.md`](https://skill9.ai/SETUP.md) | | Uninstall, remove, disable, roll back | [`UNINSTALL.md`](https://skill9.ai/UNINSTALL.md) | ## Commands All commands support `--json` and `--platform <name>`. | Command | Description | |---------|-------------| | `skill9 push [name] [--all]` | Push skill(s) to cloud (creates new version) | | `skill9 push --delete <name>` | Delete a skill from cloud | | `skill9 pull [name] [--all]` | Pull skill(s) from cloud to local | | `skill9 list` | List local and cloud skills | | `skill9 status` | Show sync status | | `skill9 log <name>` | View version history | | `skill9 diff <name> <v1> <v2>` | Compare two versions | | `skill9 rollback <name> <ver>` | Restore a previous version |

path: SETUP.md
content: # skill9 — Setup

## First-Time Setup

Run these checks once. Do not repeat if already set up.

1. **Install CLI** (skip if `skill9` is already in PATH):
   ```bash
   npm install -g skill9
   ```

2. **Login** (skip if `skill9 whoami --json` succeeds):
   ```bash
   skill9 login --github
   ```
   Tell the user: "Please open the URL and click Authorize."

3. **Initial backup**:
   ```bash
   skill9 push --all --json
   ```

## Auto-Backup Rules

After performing ANY of the following actions on skills, you MUST immediately run the corresponding command:

| Action | Command |
|--------|---------|
| Created a new skill | `skill9 push <skill-name> --json` |
| Edited any skill file | `skill9 push <skill-name> --json` |
| Downloaded/installed a skill | `skill9 push <skill-name> --json` |
| Deleted a skill | `skill9 push --delete <skill-name> --json` |

Do not batch — push after EACH individual operation.

If push returns `"unchanged": true`, that is normal. Not an error.

## Supported Platforms

| Platform | Skills Directory |
|----------|-----------------|
| Claude Code | `~/.claude/skills/` |
| OpenClaw | `~/.openclaw/skills/` |
| Cursor (macOS) | `~/Library/Application Support/Cursor/User/skills/` |
| Cursor (Linux) | `~/.config/Cursor/User/skills/` |
| Cursor (Windows) | `%APPDATA%/Cursor/User/skills/` |


path: UNINSTALL.md
content: # skill9 — Uninstall

Remove skill9 CLI, local skill files, hooks, and credentials from this machine.
Cloud data (backed-up skill versions) is NOT deleted.

## Before You Begin

This will remove the following. Confirm before proceeding.

| What | Path |
|------|------|
| CLI binary | `skill9` in PATH (usually `/usr/local/bin/skill9` or `~/bin/skill9`) |
| Credentials | `~/.skill9/` |
| Skill files (OpenClaw) | `~/.openclaw/skills/skill9/` |
| Skill files (Claude Code) | `~/.claude/skills/skill9/` |
| Skill files (Cursor macOS) | `~/Library/Application Support/Cursor/User/skills/skill9/` |
| Skill files (Cursor Linux) | `~/.config/Cursor/User/skills/skill9/` |
| OpenClaw AGENTS.md rule | "Skill Backup Rule (skill9)" section in `~/.openclaw/workspace/AGENTS.md` |
| Claude Code hook | `skill9 push` entry in `~/.claude/settings.json` hooks.Stop |
| Cursor hook | `skill9 push` entry in `~/.cursor/hooks.json` hooks.stop |

**Not deleted:** Your cloud skill versions remain on skill9.ai. You can restore them later with `skill9 pull --all` after reinstalling.

Tell the user what will be removed and ask: "Proceed with uninstall?"

## Step 1: Remove CLI Binary

```bash
rm "$(which skill9)"
```

## Step 2: Remove Credentials

```bash
rm -rf ~/.skill9
```

## Step 3: Remove Skill Files

Remove the skill9 skill directory from all detected platforms:

```bash
rm -rf ~/.openclaw/skills/skill9
rm -rf ~/.claude/skills/skill9
```

For Cursor, check the platform-specific path:
- macOS: `rm -rf ~/Library/Application\ Support/Cursor/User/skills/skill9`
- Linux: `rm -rf ~/.config/Cursor/User/skills/skill9`

## Step 4: Remove OpenClaw Backup Rule

Edit `~/.openclaw/workspace/AGENTS.md`: remove the entire "## Skill Backup Rule (skill9)" section (from the heading to the end of the "Do not batch." line). Do not touch other content in AGENTS.md.

## Step 5: Remove Claude Code and Cursor Hooks

### Claude Code

Edit `~/.claude/settings.json`: remove the `skill9 push` entry from `hooks.Stop` array. If the Stop array becomes empty, remove the entire Stop key. Do not touch other hook entries.

### Cursor

Edit `~/.cursor/hooks.json`: remove the `skill9 push` entry from `hooks.stop` array. If the stop array becomes empty, remove the entire stop key. Do not touch other hook entries.

## Step 6: Verify

```bash
which skill9
# Expected: no output (command not found)

ls ~/.skill9 2>/dev/null
# Expected: no such file or directory

ls ~/.openclaw/skills/skill9 2>/dev/null
# Expected: no such file or directory

grep "skill9 push" ~/.openclaw/workspace/AGENTS.md 2>/dev/null
# Expected: no output
```

## Done

skill9 has been fully removed from this machine. Cloud data is preserved — reinstall anytime with:

```bash
curl -fsSL https://skill9.ai/install.sh | sh
```


Security scan verdicts — ClawScan: suspicious | static analysis: suspicious | VirusTotal: clean | SkillSpector: suspicious (MEDIUM)