← 返回 Skills 市场
ivankuznetsov

Hive CLI

作者 Ivan Kuznetsov · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
41
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hive-cli
功能描述
Install, set up, or drive any Hive CLI workflow from OpenClaw.
使用说明 (SKILL.md)

Hive CLI

Use this skill when the user wants to install Hive, set up Hive in the current project, or inspect, create, advance, review, or administer Hive tasks through the hive CLI.

Before running a Hive workflow, check whether the Hive CLI is installed:

if hive --version 2>/dev/null | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$'; then
  hive_cmd=hive
elif hv --version 2>/dev/null | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$'; then
  hive_cmd=hv
else
  hive_cmd=
fi

If hive_cmd is empty, start a guided setup instead of failing. Restate that setup will install the Hive CLI, verify it, install/enable the per-user daemon service, and optionally run hive init for the current project. Get explicit user confirmation before running installers.

Use the host platform to choose one install path:

  • macOS arm64: brew tap ivankuznetsov/hive && brew install ivankuznetsov/hive/hive.
  • Arch Linux with yay: yay -S --noconfirm --needed hive-bin.
  • Arch Linux with paru: paru -S --noconfirm --needed hive-bin.
  • Ubuntu 22.04+ / glibc Linux x86_64 or aarch64:
tmpdir="$(mktemp -d)"
trap 'rm -rf "$tmpdir"' EXIT
curl -fsSL https://raw.githubusercontent.com/ivankuznetsov/hive/v0.2.0/install.sh -o "$tmpdir/hive-install.sh"
bash "$tmpdir/hive-install.sh"

After install, run the strict hive / hv version check again. If neither command prints a bare X.Y.Z version, stop and report that setup failed or Apache Hive may be shadowing the command. If verification succeeds, run "${hive_cmd}" daemon install once. Then ask whether to initialize the current project; if yes, run "${hive_cmd}" init . --json \x3C/dev/null, followed by "${hive_cmd}" doctor non-fatally. Summarize the installed version, daemon setup result, project initialization result, and any missing runtime dependencies.

Treat /hive setup, /hive install, and /hive bootstrap as requests for the guided setup flow above. Otherwise, treat the user's slash-command text after /hive as arguments for hive_cmd. If no arguments are supplied and Hive is already installed, run "${hive_cmd}" --help and summarize the available workflow. Run commands from the current project/workspace directory unless the user gives another path. Pass arguments safely; do not interpolate raw user text into a shell string.

Prefer --json when the Hive command supports it and you need structured output. Summarize the result, including task slug, stage/action, marker, and next command when present.

Before running destructive admin verbs (drop, uninstall, update, forget, prune, migrate, or metrics), restate the effect and get explicit user confirmation. These verbs can kill agents, remove worktrees, close draft PRs, drop registry entries, or rewrite installed software — they are not undoable.

Before running nested destructive or bypass commands (daemon stop, daemon disable --all, daemon install --force, bot stop, bot install --force, markers clear, or approve --force), restate the effect and get explicit user confirmation. These can stop background automation, replace autostart services, clear recovery markers, or skip terminal-marker safety.

Prefer hive daemon start --detach for daemon startup. Before running hive daemon start without --detach, hive daemon tail, hive bot start --foreground, or hive bot tail, restate that the command can hold the agent in a foreground or streaming process and get explicit user confirmation.

安全使用建议
Install this only in a ClawHub maintainer or Convex development context. Before running moderation commands, verify the target and reason; before using autoreview, decide whether full-access nested review and external fallback reviewers are acceptable for the code being reviewed.
能力评估
Purpose & Capability
The artifacts cover code review, ClawHub moderation, PR maintenance, UI proofing, and Convex setup/auth/migration/performance work; these capabilities match the stated skill purposes.
Instruction Scope
Runtime instructions include concrete scoping safeguards such as explicit moderation targets and reasons, confirmation before writes, API auth/audit requirements, dry-run proof commands, and opt-in dev auth.
Install Mechanism
The package consists of plain skill files, optional UI metadata/assets, references, and one Bash helper script; I found no hidden installer, lifecycle hook, or automatic execution path.
Credentials
The skills use repo-local tools, GitHub CLI, Convex CLI, npm/npx, proof publishing, and review CLIs, which is proportionate for maintainer workflows but can touch local code, remote PR artifacts, and Convex development environments.
Persistence & Privilege
No unbounded daemon or covert persistence is present; sensitive state changes are user-directed, while the autoreview helper discloses its default nested Codex full-access mode and provides a no-yolo opt-out.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hive-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hive-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial Hive OpenClaw skill with guided setup
元数据
Slug hive-cli
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Hive CLI 是什么?

Install, set up, or drive any Hive CLI workflow from OpenClaw. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。

如何安装 Hive CLI?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hive-cli」即可一键安装,无需额外配置。

Hive CLI 是免费的吗?

是的,Hive CLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Hive CLI 支持哪些平台?

Hive CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Hive CLI?

由 Ivan Kuznetsov(@ivankuznetsov)开发并维护,当前版本 v0.1.0。

💬 留言讨论