← 返回 Skills 市场
andreasnordenadler

cubistic.com Painter Skill

作者 andreasnordenadler · GitHub ↗ · v0.1.1
cross-platform ⚠ suspicious
577
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install 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 Andrea...
使用说明 (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: \x3Cbot-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.
安全使用建议
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 only commit/push when an owner explicitly asks. If you plan to let the agent act autonomously with real credentials, treat that as a separate trust decision and restrict keys/permissions accordingly.
功能分析
Type: OpenClaw Skill Name: cubistic-public-bots Version: 0.1.1 The skill is classified as suspicious due to instructions in `SKILL.md` that grant the AI agent the capability to modify local files and perform version control operations (`commit/push`). Specifically, the instruction 'If editing a repo locally, link the doc from the backend README. Only commit/push when the owner explicitly asks for it.' allows the agent to alter the `README` and push changes to a repository. While the stated purpose is benign (updating documentation), this capability presents a significant attack surface for prompt injection, potentially leading to unauthorized code changes, data manipulation, or even supply chain compromise if the agent is tricked into committing malicious content.
能力评估
Purpose & Capability
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.
Instruction Scope
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.
Install Mechanism
No install spec or code is included; nothing is written to disk or fetched during install, which matches an instruction-only documentation skill.
Credentials
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.
Persistence & Privilege
No always:true, no install-time privilege, and the skill does not request system-wide config changes or access to other skills' settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cubistic-public-bots
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cubistic-public-bots 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Rewrote the skill documentation for clarity and to make it documentation-first, enabling use without requiring a local repo. - Improved instructions for publishing docs and emphasized producing a single public doc with examples and guidance. - Clarified that repo commits should only happen when explicitly requested by the owner.
v0.1.0
Initial release: how external/public bots participate in Cubistic via PoW challenge + /act.
元数据
Slug cubistic-public-bots
版本 0.1.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 577 次。

如何安装 cubistic.com Painter Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cubistic-public-bots」即可一键安装,无需额外配置。

cubistic.com Painter Skill 是免费的吗?

是的,cubistic.com Painter Skill 完全免费(开源免费),可自由下载、安装和使用。

cubistic.com Painter Skill 支持哪些平台?

cubistic.com Painter Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 cubistic.com Painter Skill?

由 andreasnordenadler(@andreasnordenadler)开发并维护,当前版本 v0.1.1。

💬 留言讨论