Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [
]

[workspace.package]
version = "0.2.6"
version = "0.2.7"
edition = "2021"
rust-version = "1.88"
license = "Apache-2.0"
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

| You want | Run | What happens |
| :--- | :--- | :--- |
| **npm** | `npm install -g cli-box-skill` | Binaries + skill installed automatically |
| **Shell** | `bash <(curl -fsSL https://raw.githubusercontent.com/Shadow-Azure/cli-box/main/packages/cli-box-skill/skill/install.sh)` | Downloads to `~/.cli-box/bin/`, installs skill |
| **npm** | `npx cli-box-skill install` | Choose harness(es); binaries + skill installed |
| **Shell** | `bash <(curl -fsSL https://raw.githubusercontent.com/Shadow-Azure/cli-box/main/packages/cli-box-skill/skill/install.sh) claude` | Downloads to `~/.cli-box/bin/`, installs skill |
| **Manual** | [GitHub Releases](https://github.com/Shadow-Azure/cli-box/releases) | Download and extract manually |

### For Humans
Expand All @@ -44,12 +44,15 @@ https://raw.githubusercontent.com/Shadow-Azure/cli-box/main/docs/guide/installat

### For LLM Agents

> **Install cli-box in one command:** run
> `npx cli-box-skill install all` to install the skill into every supported
> harness (Claude Code, OpenCode, OpenClaw), or replace `all` with `claude` /
> `opencode` / `openclaw` for a single target.

```bash
curl -fsSL https://raw.githubusercontent.com/Shadow-Azure/cli-box/main/docs/guide/installation.md
npx cli-box-skill install claude # claude | opencode | openclaw | all
```

Follow the guide step by step.

### Add to PATH

```bash
Expand Down
14 changes: 8 additions & 6 deletions README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

| 你想 | 运行 | 效果 |
| :--- | :--- | :--- |
| **npm** | `npm install -g cli-box-skill` | 自动安装二进制 + skill |
| **Shell** | `bash <(curl -fsSL https://raw.githubusercontent.com/Shadow-Azure/cli-box/main/packages/cli-box-skill/skill/install.sh)` | 下载到 `~/.cli-box/bin/`,安装 skill |
| **npm** | `npx cli-box-skill install` | 选择 harness,自动装二进制 + skill |
| **Shell** | `bash <(curl -fsSL https://raw.githubusercontent.com/Shadow-Azure/cli-box/main/packages/cli-box-skill/skill/install.sh) claude` | 下载到 `~/.cli-box/bin/`,安装 skill |
| **手动** | [GitHub Releases](https://github.com/Shadow-Azure/cli-box/releases) | 手动下载解压 |

### 给人类用户
Expand All @@ -46,14 +46,16 @@ https://raw.githubusercontent.com/Shadow-Azure/cli-box/main/docs/guide/installat

> Agent 会处理 macOS 权限、PATH 配置和快速测试。只需在提示时确认即可。

### 给 LLM Agent
### 给 AI Agent

> **一行安装 cli-box:** 运行 `npx cli-box-skill install all` 把 skill 装到所有受支持的
> harness(Claude Code、OpenCode、OpenClaw);把 `all` 换成 `claude` / `opencode` /
> `openclaw` 可只装一个。

```bash
curl -fsSL https://raw.githubusercontent.com/Shadow-Azure/cli-box/main/docs/guide/installation.md
npx cli-box-skill install claude # claude | opencode | openclaw | all
```

按指引逐步执行。

### 添加 PATH

```bash
Expand Down
10 changes: 7 additions & 3 deletions docs/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,21 @@ If curl or tar is missing, stop and ask the user to install them.
### Option A: npm (recommended)

```bash
npm install -g cli-box-skill
npx cli-box-skill install
```

npm automatically installs the correct binaries for your platform.
Choose Claude Code, OpenCode, and/or OpenClaw (auto-detects installed ones). Or
non-interactively: `npx cli-box-skill install claude` (targets: `claude | opencode | openclaw | all`).
This installs the binaries to `~/.cli-box/bin/` and the skill into the chosen harness.

### Option B: Direct download

```bash
bash <(curl -fsSL https://raw.githubusercontent.com/Shadow-Azure/cli-box/main/packages/cli-box-skill/skill/install.sh)
bash <(curl -fsSL https://raw.githubusercontent.com/Shadow-Azure/cli-box/main/packages/cli-box-skill/skill/install.sh) claude
```

Pass one or more of `claude | opencode | openclaw`, or `all`.

## Step 3: Verify Installation

```bash
Expand Down
Loading
Loading