0
0
Source

Mine AIT (Proof of AI Work) on BNB Chain. Install, configure, start/stop mining entirely from OpenClaw. No terminal or manual file edits required.

Install

mkdir -p .claude/skills/aimine && curl -L -o skill.zip "https://mcp.directory/api/skills/download/7147" && unzip -o skill.zip -d .claude/skills/aimine && rm skill.zip

Installs to .claude/skills/aimine

About this skill

AI Mine (PoAIW) — OpenClaw Skill

This skill lets users install, configure, and start/stop AIT mining entirely from OpenClaw. All actions are performed by the agent via Exec; the user never needs to open a terminal or edit files manually.

Supported user intents (English trigger phrases):

  • Install — e.g. "install AIT mining", "set up AIT miner", "install the miner"
  • Configure — e.g. "configure AIT mining", "configure mining", "set up my keys"
  • Start mining — e.g. "start mining", "start AIT mining", "begin mining"
  • Stop mining — e.g. "stop mining", "stop AIT mining"
  • Mining status — e.g. "mining status", "status", "how is mining doing"
  • Balance — e.g. "AIT balance", "check balance", "my AIT balance"

Conventions:

  • AIMINE_DIR: base directory for the repo; default ~/PoAIW. Miner directory is $AIMINE_DIR/miner.
  • Port for the miner web API: 3000 (localhost only).
  • Keys: user can set PRIVATE_KEY and either OPENAI_KEY or OPENAI_API_KEY in OpenClaw skill config (env injection), or provide them once in chat. The miner accepts both env var names for the OpenAI key. Then the agent runs init with those values.

When the user wants to INSTALL the miner

Run (use AIMINE_DIR if set, else default to $HOME/PoAIW):

AIMINE_DIR=${AIMINE_DIR:-$HOME/PoAIW}
[ -d "$AIMINE_DIR/.git" ] || git clone https://github.com/AIMineRes/PoAIW.git "$AIMINE_DIR"
cd "$AIMINE_DIR/miner" && npm install

Do not ask the user to open a terminal or run these manually.


When the user wants to CONFIGURE mining

The user must have provided wallet private key and OpenAI API key (either in OpenClaw skill config as PRIVATE_KEY and OPENAI_KEY or OPENAI_API_KEY, or in the conversation). If users get "invalid API key", have them check: no leading/trailing spaces, key starts with sk-, and if using OpenClaw config try setting OPENAI_API_KEY (some UIs use that name).

  • If keys are in environment (e.g. injected by OpenClaw skill config): run
    cd "$AIMINE_DIR/miner" && npx ts-node src/index.ts init --from-env
    (ensure AIMINE_DIR is set or use $HOME/PoAIW/miner).

  • If the user provided keys in the message: run
    cd "$AIMINE_DIR/miner" && npx ts-node src/index.ts init --private-key <key> --openai-key <key>
    using the keys they provided. Do not echo the keys back in full.

Do not ask the user to manually edit .env or openclaw.json.


When the user wants to START mining

Run the one-shot script so that the web server is started in the background if needed, then the API is called. Do not tell the user to "run npm run web first".

cd "${AIMINE_DIR:-$HOME/PoAIW}/miner" && node scripts/start-mining.js

If AIMINE_DIR is not set, use $HOME/PoAIW (or equivalent on the host). The script will start the web server on port 3000 if it is not already listening, wait a few seconds, then POST to http://127.0.0.1:3000/api/start.


When the user wants to STOP mining

Run:

curl -s -X POST http://127.0.0.1:3000/api/stop

When the user wants MINING STATUS

Run:

curl -s http://127.0.0.1:3000/api/status

Then summarize the JSON (miningActive, blocksMined, tokenBalance, bnbBalance, hashRate) in a short reply.


When the user wants AIT BALANCE (wallet / mining stats)

Run:

cd "${AIMINE_DIR:-$HOME/PoAIW}/miner" && npx ts-node src/index.ts balance

Summarize the output for the user.


Summary

  • Install: clone repo into AIMINE_DIR (default ~/PoAIW), then cd miner && npm install.
  • Configure: ai-mine init --from-env (if keys in env) or ai-mine init --private-key ... --openai-key ... (if user gave keys in chat).
  • Start: node scripts/start-mining.js in the miner directory (no need for user to run npm run web).
  • Stop: curl -s -X POST http://127.0.0.1:3000/api/stop.
  • Status: curl -s http://127.0.0.1:3000/api/status.
  • Balance: npx ts-node src/index.ts balance in the miner directory.

Always use the miner directory as $AIMINE_DIR/miner with AIMINE_DIR defaulting to ~/PoAIW when not set.

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

9521,094

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

846846

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

571699

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

548492

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

673466

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

514280

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.