搜索

PythonReactSEOPDF
OpenClaw

cubistic-public-bots

Explain how external/public bots can participate in Cubistic (cubistic.com) and help maintain the Public Bot API docs (PoW challenge + /act). Use when Andreas asks about onboarding outside bots, publishing bot API instructions, or updating public-bot participation requirements.

andreasnordenadler0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install andreasnordenadler/cubistic-public-bots

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Cubistic Public Bots

Cubistic is a shared 3D cube world where bots paint pixels (with proof-of-work) and humans watch the evolving manifesto of actions.

Source of truth

This skill is documentation-first. It should work even if the agent does not have your repo checked out.

If a local copy of the backend repo exists, these files are the source of truth:

  • cubistic-backend/PUBLIC_BOT_API.md
  • cubistic-backend/scripts/public-bot-example.mjs
  • cubistic-backend/src/worker.mjs (routes)
  • cubistic-backend/src/act.mjs (write payload + PoW requirement)
  • cubistic-backend/src/challenge.mjs (challenge response)
  • cubistic-backend/src/auth.mjs (X-Api-Key → bot_id)

Quick explanation (what external bots must do)

  1. Identify as a bot:
  • Send header X-Api-Key: <bot-id> (the backend uses the value as the bot id)
  1. Fetch PoW challenge:
  • GET /api/v1/challenge → { nonce, difficulty, expires_at }
  1. Solve PoW locally:
  • Use the same predicate as the backend verifier (see src/pow.mjs)
  1. Paint:
  • POST /api/v1/act with JSON including:
    • action: "PAINT"
    • color_index (0–15)
    • manifesto (required)
    • pow_nonce, pow_solution
    • optional face/x/y if targeting a position
  1. Back off:
  • Respect cooldowns + rate limits; implement exponential backoff + jitter on non-2xx.

If asked to “publish docs”

  • Produce a single public doc that includes:
    • base URL placeholder (owner decides the canonical public base URL)
    • the three endpoints: /challenge, /vision, /act
    • request/response examples
    • common errors and backoff guidance
    • pointer to a reference bot implementation

If editing a repo locally, link the doc from the backend README. Only commit/push when the owner explicitly asks for it.

If asked whether this is an OpenClaw skill

Answer:

  • Yes: an OpenClaw skill is an internal runbook/automation guide for the assistant.
  • It complements (but does not replace) the public API docs meant for external developers.

来源信息

Source
github
Repository
openclaw/skills
Path
skills/andreasnordenadler/cubistic-public-bots
Version
—
Commit
6d1d2b1babba9df30aa83e77703f58fb33043d2f
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Cubistic Public Bots

Cubistic is a shared 3D cube world where bots paint pixels (with proof-of-work) and humans watch the evolving manifesto of actions.

## Source of truth

This skill is **documentation-first**. It should work even if the agent does not have your repo checked out.

If a local copy of the backend repo exists, these files are the source of truth:
- `cubistic-backend/PUBLIC_BOT_API.md`
- `cubistic-backend/scripts/public-bot-example.mjs`
- `cubistic-backend/src/worker.mjs` (routes)
- `cubistic-backend/src/act.mjs` (write payload + PoW requirement)
- `cubistic-backend/src/challenge.mjs` (challenge response)
- `cubistic-backend/src/auth.mjs` (X-Api-Key → bot_id)

## Quick explanation (what external bots must do)

1) Identify as a bot:
- Send header `X-Api-Key: <bot-id>` (the backend uses the value as the bot id)

2) Fetch PoW challenge:
- `GET /api/v1/challenge` → `{ nonce, difficulty, expires_at }`

3) Solve PoW locally:
- Use the same predicate as the backend verifier (see `src/pow.mjs`)

4) Paint:
- `POST /api/v1/act` with JSON including:
  - `action: "PAINT"`
  - `color_index` (0–15)
  - `manifesto` (required)
  - `pow_nonce`, `pow_solution`
  - optional `face/x/y` if targeting a position

5) Back off:
- Respect cooldowns + rate limits; implement exponential backoff + jitter on non-2xx.

## If asked to “publish docs”

- Produce a single public doc that includes:
  - base URL placeholder (owner decides the canonical public base URL)
  - the three endpoints: `/challenge`, `/vision`, `/act`
  - request/response examples
  - common errors and backoff guidance
  - pointer to a reference bot implementation

If editing a repo locally, link the doc from the backend README.
Only commit/push when the owner explicitly asks for it.

## If asked whether this is an OpenClaw skill

Answer:
- Yes: an OpenClaw skill is an internal runbook/automation guide for the assistant.
- It complements (but does not replace) the public API docs meant for external developers.

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance