← 返回
未分类 中文

Hive CLI

Run Hive's folder-based coding-agent pipeline from OpenClaw: guided CLI setup, project init, task creation, plan/develop/review workflows, status, daemon, an...
运行 OpenClaw 的 Hive 基于文件夹的编码代理管道:引导式 CLI 设置、项目初始化、任务创建、计划/开发/审查工作流、状态查询、守护进程等。
ivankuznetsov ivankuznetsov 来源
未分类 clawhub v0.1.1 2 版本 100000 Key: 无需
★ 0
Stars
📥 104
下载
💾 1
安装
2
版本
#latest

概述

Hive CLI

Hive turns a repository into a folder-based coding-agent pipeline: ideas become tasks, tasks move through brainstorm, plan, develop, review, artifacts, and finalize stages, and the daemon keeps enrolled projects moving in the background.

Use this skill when the user wants to install Hive from OpenClaw, initialize the current project, create a task, inspect status, move a task through plan/develop/review, run diagnostics, or administer Hive's daemon, bot, markers, metrics, and task registry.

Install From ClawHub

Users install the OpenClaw skill with:

openclaw skills install hive-cli

That listing installs the /hive slash command. First run should normally be:

/hive setup

Common Paths

  • /hive setup installs or verifies the Hive CLI, enables the per-user daemon service, and optionally initializes the current repository.
  • /hive status --json shows the task board and next actions.
  • /hive new . "build this feature" creates a new Hive task in the current project.
  • /hive plan , /hive develop , and /hive review advance a task through the main coding workflow.
  • /hive doctor checks local runtime and skill configuration.

CLI Detection

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 guided setup instead of failing. Restate that setup will install the Hive CLI, verify it, install or enable the per-user daemon service, and optionally run hive init for the current project. Get explicit user confirmation before running installers.

Guided Setup

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 , followed by "${hive_cmd}" doctor non-fatally. Summarize the installed version, daemon setup result, project initialization result, and any missing runtime dependencies.

Dispatch Rules

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.

Safety Boundaries

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.

版本历史

共 2 个版本

  • v0.1.1 当前
    2026-06-09 18:58
  • v0.1.0
    2026-06-07 13:19 安全 安全

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,078 📥 808,418
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 675 📥 325,236
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,376 📥 320,161