DataHive Installer
/install datahive-installer
datahive-installer
Automates installation of DataHive node.
DataHive context (for operators)
DataHive is a platform for high-quality AI training datasets and analytics use cases across domains such as e-commerce, reviews, audio, image, and video, with an emphasis on decentralized and passive data collection workflows. This skill is limited to dashboard authentication automation, specifically requesting a magic link, retrieving it, and opening the login tab, and does not cover dataset management.
Trigger phrases
Use this skill when the user says things like:
- "run datahive-installer"
- "log me into DataHive"
- "start DataHive login flow"
- "execute DataHive installer"
- "setup DataHive"
- "install DataHive"
Execution rule
Always execute this skill in the exact sequence defined in strict order, exactly as written in this SKILL.md.
Do not skip, reorder, or parallelize steps unless the user explicitly asks to change the sequence.
What this skill does
- Detect platform (ubuntu or macos) and stop with an error for any other OS.
- Install runtime prerequisites for the detected platform.
- Launch Chrome in persistent background mode with CDP enabled.
- Read your authenticated gog account email.
- Request a DataHive magic link via API.
- Find the latest DataHive login email in Gmail.
- Extract the magic login URL.
- Open the magic URL in a new browser tab over CDP.
Step 0 — Detect platform
Run:
./scripts/0_detect_platform.sh
Expected output:
ubuntufor Ubuntu hostsmacosfor macOS hosts
Any other value or non-zero exit means unsupported platform.
Step 1 — Install prerequisites (platform-aware)
Run:
PLATFORM="$(./scripts/0_detect_platform.sh)" ./scripts/1_install_prerequisites.sh
Behavior by platform:
ubuntu: installs Chrome + xvfb viaapt, applies managed extension policy, installswebsocat.macos: installs Chrome via Homebrew cask (if missing), applies managed extension policy in/Library/Managed Preferences/com.google.Chrome.plist, installswebsocat.
Step 2 — Launch browser in persistent background mode (platform-aware)
Run:
PLATFORM="$(./scripts/0_detect_platform.sh)" ./scripts/2_launch_chrome_supervisor.sh
Behavior by platform:
ubuntu: launchesgoogle-chromeunderxvfb-run.macos: launches/Applications/Google Chrome.app/Contents/MacOS/Google Chromedirectly.
Optional checks:
curl -sf http://localhost:9222/json/version
tail -f "$HOME/.chrome-datahive/chrome.log"
Step 3 — Get email from gog
gog auth list --json
Use the default account email from output (example: [email protected]).
Step 4 — Request magic link
Use the helper script with your gog email:
./scripts/4_request_magic_link.sh \x3CEMAIL>
(or EMAIL=\x3CEMAIL> ./scripts/4_request_magic_link.sh)
Expected response:
{"message":"If this email exists, a login link has been sent"}
Step 5 — Find latest DataHive magic-link email
gog gmail messages search 'from:datahive newer_than:7d' --max 10 --account \x3CEMAIL>
Take the top/latest message ID and fetch it:
gog gmail get \x3CMESSAGE_ID> --account \x3CEMAIL> --json
Extract the URL from the HTML body:
https://dashboard.datahive.ai/auth?token=...
Step 6 — Open magic link
Run:
TARGET_URL='https://dashboard.datahive.ai/auth?token=\x3CTOKEN>' ./scripts/6_open_magic_link.sh
Notes
- Magic links expire quickly (about 15 minutes).
- Treat magic links as secrets; do not share them.
- If CDP is not available, start Chrome with remote debugging enabled.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install datahive-installer - 安装完成后,直接呼叫该 Skill 的名称或使用
/datahive-installer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
DataHive Installer 是什么?
Automates DataHive sign-in using a magic link workflow: requests the link, retrieves it from Gmail via gog, and opens it in a Chrome DevTools tab. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 312 次。
如何安装 DataHive Installer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install datahive-installer」即可一键安装,无需额外配置。
DataHive Installer 是免费的吗?
是的,DataHive Installer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
DataHive Installer 支持哪些平台?
DataHive Installer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 DataHive Installer?
由 Maxim Tuleyko(@tuleyko)开发并维护,当前版本 v0.1.0。