Claim this agent
agentCLAWHUBUnverified

ClawQuest: Agent Mine - OpenClaw Managed Mining

The managed automated mining server interface supports OpenClaw session mode and incremental event retrieval, enabling mining startup, status query, settlement, and stamina management.

OpenClaw

Rank

62

Safety

84

Downloads

9.6k

Updated

Oct 9, 2026

Version

1.0.11

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 9.6K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
9.6K downloadsadoption · observed Oct 9, 2026
Latest release
1.0.11release · observed Apr 26, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s17624wnb61zvd51ys0jmmpkkn8440pw:clawquest-agent-mine-openclaw
  1. Install using `clawhub skill install s17624wnb61zvd51ys0jmmpkkn8440pw:clawquest-agent-mine-openclaw` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/zhzai30/clawquest-agent-mine-openclaw before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zhzai30-clawquest-agent-mine-openclaw/snapshot"

Documentation

CLAWHUB

146,660 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

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:
        - REQUEST_TIMEOUT_MS
    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**

| Value | Name        |
| ----- | ----------- |
| 0     | ApiInactive |
| 1     | ApiInUse    |
| 2     | ApiClosing  |
| 3     | ApiActive   |

**miningState**

| Value | Name                |
| ----- | ------------------- |
| 0     | MiningIdle          |
| 1     | MiningInProgress    |
| 2     | MiningRewardPending |

## 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

Quer

_meta.json

{
  "ownerId": "kn749jzfaas35ckrmnw2x8dqax845ndf",
  "slug": "clawquest-agent-mine-openclaw",
  "version": "1.0.11",
  "publishedAt": 1777200604529
}

skill-card.md

## Description:

Managed mining over public game APIs using X-Api-Code authentication.

This skill is ready for commercial/non-commercial use.

## Publisher:

[zhzai30](https://clawhub.ai/user/zhzai30)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agent developers use this skill to manage OpenClaw mining sessions, check mining and stamina state, collect incremental session events, and start or stop automated mining loops through documented tools.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Saved game API codes can be exposed through the local service or persisted cache.

Mitigation: Run the service only on a trusted local machine or behind strong authentication, avoid shared cache keys such as default, clear cached codes when finished, and rotate any apiCode that may have been stored or exposed.

Risk: Mining automation and stamina purchase tools can spend account resources, including diamonds when auto-buy is enabled.

Mitigation: Keep auto-buy disabled unless automatic diamond spending is intended, set conservative failure limits, and monitor stamina and diamond status before starting long-running loops.

Risk: The server security verdict is suspicious because the local HTTP service is under-protected for secret storage and resource-spending actions.

Mitigation: Review before installing, restrict network exposure, and treat the apiCode as an account secret.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/zhzai30/skills/clawquest-agent-mine-openclaw)
- [ClawHub publisher profile](https://clawhub.ai/user/zhzai30)
- [Configured game API base URL](https://api.km.cocweb3.com)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown with tool names, JSON-style API responses, shell commands, and configuration guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [The skill can expose session status, cached API-code state, mining events, stamina data, and upstream game API responses.]

## Skill Version(s):

1.0.11 (source: server release evidence; artifact frontmatter reports 1.0.10 and package.json reports 1.0.4)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

config/ore-type-map.json

{
  "oreTypeNameMap": {
    "1": {
      "resourceId": 10003,
      "zh_CN": "金矿石",
      "zh_TW": "金礦石",
      "en_US": "Gold Ore",
      "ja_JP": "金鉱石",
      "ko_KR": "금 광석",
      "ru_RU": "Золотая руда"
    },
    "2": {
      "resourceId": 10004,
      "zh_CN": "铜矿石",
      "zh_TW": "銅礦石",
      "en_US": "Copper Ore",
      "ja_JP": "銅鉱石",
      "ko_KR": "구리 광석",
      "ru_RU": "Медная руда"
    },
    "3": {
      "resourceId": 10005,
      "zh_CN": "铁矿石",
      "zh_TW": "鐵礦石",
      "en_US": "Iron Ore",
      "ja_JP": "鉄鉱石",
      "ko_KR": "철 광석",
      "ru_RU": "Железная руда"
    },
    "4": {
      "resourceId": 10006,
      "zh_CN": "钴矿石",
      "zh_TW": "鈷礦石",
      "en_US": "Cobalt Ore",
      "ja_JP": "コバルト鉱石",
      "ko_KR": "코발트 광석",
      "ru_RU": "Кобальтовая руда"
    },
    "5": {
      "resourceId": 10007,
      "zh_CN": "铀矿石",
      "zh_TW": "鈾礦石",
      "en_US": "Uranium Ore",
      "ja_JP": "ウラン鉱石",
      "ko_KR": "우라늄 광석",
      "ru_RU": "Урановая руда"
    },
    "6": {
      "resourceId": 10008,
      "zh_CN": "伊斯密矿石",
      "zh_TW": "伊斯密礦石",
      "en_US": "Ismium Ore",
      "ja_JP": "イズミウム鉱石",
      "ko_KR": "이즈미움 광석",
      "ru_RU": "Измиевая руда"
    },
    "7": {
      "resourceId": 10009,
      "zh_CN": "铱矿石",
      "zh_TW": "銥礦石",
      "en_US": "Iridium Ore",
      "ja_JP": "イリジウム鉱石",
      "ko_KR": "이리듐 광석",
      "ru_RU": "Иридиевая руда"
    },
    "8": {
      "resourceId": 10010,
      "zh_CN": "电气石矿石",
      "zh_TW": "電氣石礦石",
      "en_US": "Tourmaline Ore",
      "ja_JP": "電気石鉱石",
      "ko_KR": "전기석 광석",
      "ru_RU": "Турмалиновая руда"
    }
  }
}

package-lock.json

{
  "name": "clawquest-agent-mine-openclaw",
  "version": "1.0.4",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "name": "clawquest-agent-mine-openclaw",
      "version": "1.0.4",
      "dependencies": {
        "express": "^4.21.2",
        "zod": "^3.23.8"
      },
      "devDependencies": {
        "@types/express": "^4.17.21",
        "@types/node": "^25.5.2",
        "tsx": "^4.19.2",
        "typescript": "^5.6.3"
      },
      "engines": {
        "node": ">=20"
      }
    },
    "node_modules/@esbuild/aix-ppc64": {
      "version": "0.27.7",
      "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
      "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==",
      "cpu": [
        "ppc64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "aix"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/android-arm": {
      "version": "0.27.7",
      "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz",
      "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==",
      "cpu": [
        "arm"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "android"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/android-arm64": {
      "version": "0.27.7",
      "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz",
      "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "android"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/android-x64": {
      "version": "0.27.7",
      "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz",
      "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "android"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/darwin-arm64": {
      "version": "0.27.7",
      "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz",
      "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "darwin"
      ],
    
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/zhzai30/skills/clawquest-agent-mine-openclaw",
      "sourceUrl": "https://clawhub.ai/zhzai30/skills/clawquest-agent-mine-openclaw",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T02:26:04.668Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-zhzai30-clawquest-agent-mine-openclaw/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-zhzai30-clawquest-agent-mine-openclaw/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T02:26:04.668Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "9.6K downloads",
      "href": "https://clawhub.ai/zhzai30/clawquest-agent-mine-openclaw",
      "sourceUrl": "https://clawhub.ai/zhzai30/clawquest-agent-mine-openclaw",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T02:26:04.668Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.11",
      "href": "https://clawhub.ai/zhzai30/clawquest-agent-mine-openclaw",
      "sourceUrl": "https://clawhub.ai/zhzai30/clawquest-agent-mine-openclaw",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-26T10:50:04.529Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-zhzai30-clawquest-agent-mine-openclaw/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-zhzai30-clawquest-agent-mine-openclaw/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.11",
      "description": "No user-facing changes in this version. - Version bump only; no updates to code or documentation detected.",
      "href": "https://clawhub.ai/zhzai30/clawquest-agent-mine-openclaw",
      "sourceUrl": "https://clawhub.ai/zhzai30/clawquest-agent-mine-openclaw",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-26T10:50:04.529Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 9, 2026.

Sponsored

Ads related to ClawQuest: Agent Mine - OpenClaw Managed Mining and adjacent AI workflows.