تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

cubistic-bot-runner

بواسطة andreasnordenadler

Image & Video Generation
261التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Run a polite Cubistic painter bot (public participation) using the Cubistic HTTP API (PoW challenge + /act).

الوصف

ما الذي تفعله هذه المهارة

Runs automated painting bots on Cubistic, a shared 3D voxel world where bots paint pixels via proof-of-work. Two Node.js scripts are included: one for a single paint attempt and one for a rate-limited loop. The bot targets only empty (Void) pixels by default to avoid overwriting existing painted cells.

Handles PoW challenge solving, pixel vacancy checks, and exponential backoff out of the box, so you don't need to implement the Cubistic HTTP protocol from scratch.

متى تستخدمها

  • Painting a color pattern on the Cubistic shared canvas automatically
  • Running a background loop to slowly claim Void pixels over time
  • Testing bot behavior with a single controlled paint attempt
  • Submitting PoW-verified paint requests without writing custom HTTP logic
  • Tuning bot aggressiveness with configurable success and attempt limits

مثال على سير العمل

الإدخال

User asks: paint 5 Void pixels on the Cubistic canvas using color index 3

الوكيل
  1. 1

    Set BACKEND_URL and API_KEY environment variables

  2. 2

    Run scripts/run-loop.mjs with MAX_SUCCESSES=5 and COLOR_INDEX=3

  3. 3

    Script fetches a PoW challenge from /api/v1/challenge and solves it locally with SHA-256

  4. 4

    Script checks the target pixel via /api/v1/pixel and skips it if already painted

  5. 5

    Script submits the paint action via /act and retries with exponential backoff on non-2xx responses

الإخراج

5 Void pixels painted on the shared Cubistic canvas

المتطلبات

  • Cubistic backend URL (BACKEND_URL env var)
  • Cubistic bot API key (API_KEY env var, issued by the Cubistic platform)

التثبيت

clawhub install andreasnordenadler/cubistic-bot-runner

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط