Token导航 LogoToken导航

Agent Skill · 开发

clawquest-agent-mine-openclaw(clawquest Agent mine OpenClaw 开发)

clawquest-agent-mine-openclaw 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

clawquest-agent-mine-openclaw 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 5,303。

总安装 6,558周安装 276GitHub Stars 1下载 2,296核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.11

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:clawquest-agent-mine-openclaw(clawquest Agent mine OpenClaw 开发)
来源仓库:https://github.com/zhzai30/clawquest-agent-mine-openclaw
安装命令:
openclaw skills install clawquest-agent-mine-openclaw
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install clawquest-agent-mine-openclaw

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

托管自动挖矿服务端接口,支持OpenClaw会话模式和事件增量拉取,实现挖矿启动、状态查询、结算和体力管理。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install clawquest-agent-mine-openclaw;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

clawquest-agent-mine-openclaw 怎么安装?

在终端执行 openclaw skills install clawquest-agent-mine-openclaw。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

clawquest-agent-mine-openclaw 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

clawquest-agent-mine-openclaw 需要什么权限?

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

clawquest-agent-mine-openclaw 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

clawquest-agent-mine-openclaw 用的人多吗?

公开数据是累计安装 6,558 次,近一周安装 276 次,下载 2,296 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

clawquest-agent-mine-openclaw 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
clawquest-agent-mine-openclaw

clawquest Agent mine OpenClaw 开发 · 本页

6,5581接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

slug
clawquest-agent-mine-openclaw
name
ClawQuest: Agent Mine - OpenClaw Managed Mining
owner
@zhzai30 - zhzai30
version
1.0.10
description
Managed mining over public game APIs using X-Api-Code authentication.
metadata
openclaw
requires
env
emoji
⛏️
homepage

ClawQuest: Agent Mine - OpenClaw Managed Mining

This Skill exposes managed mining tools for OpenClaw session workflows.

Agent rules OpenClaw

Automated agents (including OpenClaw workflows) must follow these constraints:

  • Tools only: Interact with the game only through this Skill’s tool HTTP API — POST /tool/:name on the skill-openclaw service, using the tool names documented below (set_api_code, check_mining_state, start_managed_mining_loop, etc.). Do not call the upstream game **/api/*** endpoints directly from the agent, custom scripts, or curl unless this Skill explicitly documents that path as a supported tool (it does not for raw /api/*).
  • Do not modify source: Do not edit, patch, or fork the skill-openclaw source tree, package.json, or runtime code to “fix” behaviour. Use documented environment variables and this SKILL.md only.
  • Report errors; do not self-heal in code: If a tool fails or behaviour is unexpected, report the failure (HTTP status, response body, tool name, cacheKey, timestamps, logs). Do not rewrite Skill code, inject alternate HTTP clients, or bypass the tool layer as a workaround.

API Contract

All mining and stamina APIs require X-Api-Code.

  • POST /api/startMining
  • POST /api/checkMiningState
  • POST /api/endMining
  • POST /api/setAutoMining
  • POST /api/buyStamina
  • POST /api/getStamina

(Internal round flow still uses POST /api/setAutoMining, POST /api/startMining and POST /api/endMining via the managed loop implementation; they are not exposed as Skill tools.)

Authentication:

  • Header: X-Api-Code: <apiCode>

The Skill does not perform game client login. Users must provide apiCode generated in-game.

State Codes

check_mining_state returns apiState and miningState. Numeric values map as follows.

apiState

ValueName
0ApiInactive
1ApiInUse
2ApiClosing
3ApiActive

miningState

ValueName
0MiningIdle
1MiningInProgress
2MiningRewardPending

Tools

set_api_code

Persist an apiCode for later calls.

Inputs:

  • apiCode (required)
  • cacheKey (optional, default: default)

get_api_code

Read the cached apiCode.

Inputs:

  • cacheKey (optional, default: default)

clear_api_code

Delete the cached apiCode.

Inputs:

  • cacheKey (optional, default: default)

check_mining_state

Query API activation status and mining state. Returns apiState and miningState (see State Codes).

Inputs:

  • apiCode (optional, falls back to cache)
  • cacheKey (optional, default: default)

buy_stamina

Buy stamina using diamonds.

Inputs:

  • apiCode (optional, falls back to cache)
  • cacheKey (optional, default: default)

get_stamina

Get stamina and diamonds.

Inputs:

  • apiCode (optional, falls back to cache)
  • cacheKey (optional, default: default)

start_managed_mining_loop

Start managed loop execution.

Flow:

  1. start_mining — abort on error
  2. wait for estimatedEndAt
  3. loop end_mining — retry on error, round complete on success
  4. record reward
  5. wait round interval and continue

Inputs:

  • apiCode (optional, falls back to cache)
  • cacheKey (optional, default: default)
  • lang (optional)
  • pollingIntervalMilliseconds (optional)
  • roundIntervalMilliseconds (optional)
  • maxConsecutiveErrorCount (optional)
  • autoBuyStamina (optional)
  • autoBuyStaminaMaxFailures (optional)
  • forceRestart (optional)

start_mining_session

Same as start_managed_mining_loop with OpenClaw session binding and event stream.

get_mining_session_events

Read incremental session events.

Inputs:

  • sinceEventId (optional, default: 0)

get_mining_quick_status

Read lightweight managed loop status.

get_managed_mining_status

Read full managed loop status.

stop_managed_mining_loop

Request safe stop for running managed loop.

Deprecated Tools

  • start_auto_mining (deprecated)
  • stop_auto_mining (deprecated)

Suggested Call Order

  1. set_api_code (one-time setup)
  2. start_mining_session
  3. (optional) call get_mining_quick_status or get_mining_session_events on demand — do not set up automatic periodic polling by default
  4. call stop_managed_mining_loop when needed

Error Codes

All API responses include a code field. 0 means success; non-zero values indicate an error.

Common Errors

CodeNameDescription
400InvalidParamsInvalid or missing parameters (e.g. empty X-Api-Code header)
401AuthFailedAuthentication failed (invalid apiCode)
500InternalServerErrorServer internal error
1010NotEnoughResourcesInsufficient resources (diamonds not enough for stamina purchase)

Mining Errors

CodeNameDescription
2003InsufficientResourcesInsufficient stamina to start mining
2008DiamondNotEnoughtInsufficient diamonds
2009MiningStateConflictMining state conflict (e.g. calling startMining while already in progress, or endMining when not mining via API)
2014MiningApiNotActiveAPI mining feature not activated for this player
2018MiningNotFinishedMining not finished yet (current time has not reached estimatedEndAt)

Environment Variables

VariableDescription
GAME_API_BASE_URLOptional API base URL override (default: https://api.km.cocweb3.com)
REQUEST_TIMEOUT_MSRequest timeout in milliseconds (default: 8000)
MANAGED_MINING_POLL_INTERVAL_MSDefault polling interval in milliseconds (default: 1000)
MANAGED_MINING_ROUND_INTERVAL_MSDefault round interval in milliseconds (default: 2000)
MANAGED_MINING_MAX_CONSECUTIVE_ERROR_COUNTConsecutive error stop threshold (default: 10)
MANAGED_MINING_AUTO_BUY_STAMINAEnable auto-buy on stamina insufficient: 1 or true
MANAGED_MINING_AUTO_BUY_MAX_FAILURESConsecutive auto-buy failures stop threshold (default: 3)
MINING_SESSION_MAX_EVENTSRing buffer size for events (default: 200)
API_CODE_STORE_PATHPath for cached apiCode store (default: ./data/api-code-store.json)
ORE_TYPE_NAME_MAP_PATHPath for ore type display name map (default: ./config/ore-type-map.json)

平台分布

OpenClaw

76.18%
按下载量换算1,749

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills