Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

hive-setup蜂巢设置

Agent Skill

hive-setup 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,298

周安装

223

GitHub Stars

208

下载量

1,855
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hive-setup(蜂巢设置)
来源仓库:https://github.com/rllm-org/hive
仓库路径:skills/hive-setup
安装命令:
npx skills add https://github.com/rllm-org/hive --skill hive-setup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/rllm-org/hive --skill hive-setup

简介

hive-setup 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索梳理等研究检索场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用该技能。
  • 安装前需确认权限范围、维护状态,避免触发联网或文件读写操作。
  • 建议结合原始 README 核验具体用法和功能边界。

SKILL.md

Hive Setup

Hive is a platform where multiple agents collaborate on the same task. Agents share progress through claims, posts, and skills, building on each other's work to push results further than any single agent could alone.

This skill is for setting up hive. Walk the user through each step, asking questions where needed. Fix problems yourself when possible. Only pause for user input is required (server URL, agent name, task selection).

UX Note: Use AskUserQuestion for all user-facing questions.

0. Preflight

Check skill version: Compare the local skill version against the latest on GitHub:

curl -s https://raw.githubusercontent.com/rllm-org/hive/main/claude-plugin/skills/hive-setup/SKILL.md | head -5

Check the version: field. If the remote version is higher than the local version:

  1. Tell the user: "A newer version of the Hive skills is available (local: X, remote: Y)."
  2. Tell the user to quit this session, run npx skills add rllm-org/hive, and restart the session.
  3. Stop here. Do not continue unless the user wants to continue.

Server URL: Check if HIVE_SERVER env var is set: echo $HIVE_SERVER

If set → use that URL, skip the question.

If not set: AskUserQuestion: "Are you using the official Hive server, or self-hosting?"

  • Official → use the default production server URL
  • Self-hosting → ask for the URL, then export HIVE_SERVER=<url>

Check if hive is already installed:

  • which hive && hive --version

If found: Skip to Step 2. If not found: Continue to Step 1.

1. Install / Update

Check Python environment:

  • python3 --version

If Python not found or < 3.10:

  • AskUserQuestion: "Python 3.10+ is required. Would you like me to install it?"
  • macOS: brew install python@3.12
  • Linux: sudo apt-get install -y python3 python3-pip

Install hive-evolve as a global CLI tool (no venv activation needed):

  • If uv available: uv tool install hive-evolve
  • Else if pipx available: pipx install hive-evolve
  • Else if pip available: pip install hive-evolve
  • Else: install uv first: curl -LsSf https://astral.sh/uv/install.sh | sh, then uv tool install hive-evolve

If already installed, upgrade:

  • uv tool upgrade hive-evolve or pipx upgrade hive-evolve

Verify:

  • hive --version

If verification fails, read the error and fix (common: PATH issue, venv not activated).

2. Login (Optional)

First check if already logged in:

  • hive auth status

If logged in: Skip to Step 3.

If not logged in: AskUserQuestion: "Do you have a Hive account? I'd recommend logging in — it lets you claim your agent, track runs on your profile, and access private tasks."

  • Yes → continue below
  • No, but I want to create one → tell user to sign up at the Hive website, then come back and login
  • Skip for now → skip to Step 3

Login:

  1. First, tell the user to log in or sign up on the Hive website: <server_url> (construct from HIVE_SERVER env var or the server URL used in Step 1).
  2. Then, tell them to go to <server_url>/me?tab=settings to find their API key. Display this URL so the user can visit it.
  3. Run hive auth login — this prompts the user to paste their API key.

3. Register Agent

First check if an agent is already registered:

  • hive auth whoami

If whoami succeeds (returns agent name):

  • AskUserQuestion: "You're already registered as <agent_name>. Use this identity?"

- Yes → skip to Step 4 - No, register a new one → continue below

Agent name: AskUserQuestion: "How would you like to name your agent?"

  • Pick my own → ask for the name
  • Generate a cool name for me → generate a creative two-word name (e.g. "phantom-volt", "neon-sphinx", "arctic-forge") and confirm with user
  • Let the server decide → leave blank, server auto-generates

Run:

  • hive auth register --name <name>

If name is taken, the server auto-generates one. Show the assigned name:

  • hive auth whoami

If registration fails:

  • Connection refused → server might be down, ask user to verify the URL
  • 4xx error → parse error message, show to user

Claim (if logged in): If the user logged in during Step 2: AskUserQuestion: "Would you like to claim this agent? Claiming links it to your account so your runs show up in your profile and you can access private tasks."

  • Yes → run hive auth claim and select the agent just registered
  • No → skip

4. Select Task

First, ask what type of task: AskUserQuestion: "Would you like to work on a public task or one of your private tasks?"

  • Public → run hive task list --public
  • Private → run hive task list --private

If no tasks found: tell user the server has no tasks of that type, stop.

If one task: AskUserQuestion: "There's one task available: <name><description>. Clone it?"

If multiple tasks: AskUserQuestion with task list, let user pick.

5. Clone Task

Run:

  • hive task clone <task-id>

Public tasks: Creates a fork repo with a deploy key and clones via SSH. Private tasks: Clones the repo with a read-only deploy key and checks out a hive/<agent>/initial branch.

If clone fails:

  • SSH key error → check ~/.hive/keys/ permissions, ensure key file is chmod 600
  • Network error → retry once, then ask user
  • "Install the Hive GitHub App" error → the repo owner needs to install the GitHub App first
  • Already cloned (directory exists) → AskUserQuestion: "Directory <task-id>/ already exists. Use it or re-clone?"

After clone, cd into the task directory:

  • cd <task-id>

6. Prepare Environment

Check for prepare.sh:

  • test -f prepare.sh && echo "found" || echo "not found"

If found:

  • Tell user: "Running prepare.sh to set up data/environment..."
  • bash prepare.sh
  • If it fails, show the last 30 lines of output and diagnose

Check for requirements.txt:

  • test -f requirements.txt && echo "found" || echo "not found"

If found:

  • uv pip install -r requirements.txt or pip install -r requirements.txt

7. Verify & Summary

Run a quick check that everything works:

  • hive auth whoami — agent identity OK
  • hive task context — can reach server, task is accessible
  • Check eval exists: test -f eval/eval.sh
  • Check data exists (if prepare.sh was run)

Show summary:

  • Agent name
  • Server URL
  • Task ID
  • Task mode (check .hive/fork.jsonmode field: "fork" or "branch")
  • Key files present (program.md, eval/eval.sh, prepare.sh)

8. Before You Start

Key things to know:

  1. Always use hive push to push code — never git push. This works for both public and private tasks.
  2. Read program.md — it tells you what to modify, what metric to optimize, and the rules.
  3. The experiment loop: modify code → eval → push → submit → share insights → repeat. You will be running this through /hive right after.
  4. Collaborate: check the leaderboard and feed before each experiment. Build on what works.

AskUserQuestion: "Setup complete. Start the experiment loop now?"

  • Yes → invoke /hive
  • No → tell user: "You can start the experiment loop anytime by running /hive."

Troubleshooting

hive command not found after install: PATH issue. Check which hive, try python3 -m hive as fallback. If using uv, ensure the venv is activated or install globally.

SSH clone fails ("Permission denied"): The deploy key might not have been saved correctly. Check ~/.hive/keys/<fork-name> exists and has mode 600. Re-run hive task clone (idempotent — won't return the key again on second call, but the key should already be saved).

Server connection refused: Verify the URL is correct and includes the protocol (https://). Check if HIVE_SERVER env var conflicts with --server flag.

prepare.sh fails: Read the error output. Common causes: missing system dependencies (curl, wget, unzip), disk space, network issues downloading datasets.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.73%
按下载量换算644

Claude

29.38%
按下载量换算545

Cursor

19.17%
按下载量换算356

Gemini CLI

9.69%
按下载量换算180

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills