返回顶部
d

datahive-installerDataHive安装器

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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
271
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

datahive-installer

技能名称: datahive-installer

详细描述:

datahive-installer

自动化安装DataHive节点。

DataHive背景(面向运维人员)

DataHive是一个面向高质量AI训练数据集和分析用例的平台,涵盖电子商务、评论、音频、图像和视频等领域,专注于去中心化和被动式数据收集工作流。本技能仅限于仪表板认证自动化,具体包括请求魔法链接、检索链接并打开登录标签页,不涉及数据集管理。

触发短语

当用户说出以下内容时使用此技能:

  • - 运行datahive-installer
  • 登录DataHive
  • 启动DataHive登录流程
  • 执行DataHive安装程序
  • 设置DataHive
  • 安装DataHive

执行规则

始终按照SKILL.md中定义的严格顺序精确执行此技能。
除非用户明确要求更改顺序,否则不得跳过、重新排序或并行执行步骤。

技能功能

  1. 0. 检测平台(ubuntu或macos),其他操作系统则报错停止。
  2. 为检测到的平台安装运行时依赖项。
  3. 在启用CDP的持久后台模式下启动Chrome。
  4. 读取已认证的gog账户邮箱。
  5. 通过API请求DataHive魔法链接。
  6. 在Gmail中查找最新的DataHive登录邮件。
  7. 提取魔法登录URL。
  8. 通过CDP在新浏览器标签页中打开魔法URL。

步骤0 — 检测平台

运行:

bash
./scripts/0detectplatform.sh

预期输出:

  • - ubuntu 适用于Ubuntu主机
  • macos 适用于macOS主机

任何其他值或非零退出码表示不支持的平台。

步骤1 — 安装依赖项(平台感知)

运行:

bash
PLATFORM=$(./scripts/0detectplatform.sh) ./scripts/1installprerequisites.sh

各平台行为:

  • - ubuntu:通过apt安装Chrome + xvfb,应用托管扩展策略,安装websocat。
  • macos:通过Homebrew cask安装Chrome(如缺失),在/Library/Managed Preferences/com.google.Chrome.plist中应用托管扩展策略,安装websocat。

步骤2 — 在持久后台模式下启动浏览器(平台感知)

运行:

bash
PLATFORM=$(./scripts/0detectplatform.sh) ./scripts/2launchchrome_supervisor.sh

各平台行为:

  • - ubuntu:在xvfb-run下启动google-chrome。
  • macos:直接启动/Applications/Google Chrome.app/Contents/MacOS/Google Chrome。

可选检查:

bash
curl -sf http://localhost:9222/json/version

bash
tail -f $HOME/.chrome-datahive/chrome.log

步骤3 — 从gog获取邮箱

bash
gog auth list --json

使用输出中的默认账户邮箱(示例:peter@gmail.com)。

步骤4 — 请求魔法链接

使用包含gog邮箱的辅助脚本:

bash
./scripts/4requestmagic_link.sh

(或 EMAIL= ./scripts/4requestmagic_link.sh)

预期响应:

json
{message:如果此邮箱存在,登录链接已发送}

步骤5 — 查找最新的DataHive魔法链接邮件

bash
gog gmail messages search from:datahive newer_than:7d --max 10 --account

获取顶部/最新的消息ID并提取:

bash
gog gmail get --account --json

从HTML正文中提取URL:

https://dashboard.datahive.ai/auth?token=...

步骤6 — 打开魔法链接

运行:

bash
TARGETURL=https://dashboard.datahive.ai/auth?token= ./scripts/6openmagiclink.sh

注意事项

  • - 魔法链接过期很快(约15分钟)。
  • 将魔法链接视为机密信息,请勿分享。
  • 如果CDP不可用,请启用远程调试启动Chrome。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 datahive-installer-1776185969 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 datahive-installer-1776185969 技能

通过命令行安装

skillhub install datahive-installer-1776185969

下载

⬇ 下载 datahive-installer v0.1.0(免费)

文件大小: 6.91 KB | 发布时间: 2026-4-15 10:16

v0.1.0 最新 2026-4-15 10:16
Initial release of datahive-installer.

- Automates DataHive dashboard login using a magic link workflow.
- Detects platform (Ubuntu or macOS) and installs required dependencies.
- Launches Chrome in persistent background mode with DevTools enabled.
- Retrieves magic login link from Gmail via gog and opens it automatically.
- Enforces a strict, stepwise execution sequence.
- Limited to dashboard authentication; does not handle dataset management.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部