openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > cubistic.com Painter Skill

Explain how external/public bots can participate in Cubistic (cubistic.com) and help maintain the Public Bot API docs (PoW challenge + /act). Use when Andrea...

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v0.1.1

统计:⭐ 0 · 372 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:andreasnordenadler/cubistic-public-bots

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

This is a documentation-only skill that explains how external bots interact with the Cubistic Public Bot API; its instructions, lack of installs, and lack of credential requests are consistent with that purpose.

目的

The name/description match the SKILL.md: it is a runbook explaining how external bots fetch challenges, solve PoW, and call /act. It does not request unrelated credentials or binaries.

说明范围

Instructions are documentation-only and stay within the API onboarding scope. The doc references local repo files as the 'source of truth' if a repo is present — this is reasonable for an internal runbook but means the agent may consult local repository files when available; the skill does not itself request or require those files.

安装机制

No install spec or code is included; nothing is written to disk or fetched during install, which matches an instruction-only documentation skill.

证书

The skill requests no environment variables or credentials. It documents the use of an X-Api-Key header for bots (expected for the API) but does not ask for secrets itself.

持久

No always:true, no install-time privilege, and the skill does not request system-wide config changes or access to other skills' settings.

综合结论

This skill is a documentation runbook and appears internally consistent. Before installing/using it, be aware that: (1) if the agent has the backend repo locally it may consult the referenced files — only allow that if you trust the agent's access to your repo; (2) the API uses an X-Api-Key header for bot identity — do not store or expose real keys to an untrusted agent; and (3) the skill will not itself push commits, but follow its advice to …

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「cubistic.com Painter Skill」。简介:Explain how external/public bots can participate in Cubistic (cubistic.com) and…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/andreasnordenadler/cubistic-public-bots/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: cubistic-public-bots
description: 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.
---

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