← 返回
未分类 Key 中文

Clawtrap Skill

Launch ClawTrap maze game where an AI villain reads the player's local files and memories to build personalized trials and taunts.
启动ClawTrap迷宫游戏,AI反派读取玩家的本地文件和记忆,生成个性化试炼与嘲讽。
tatsuko-tsukimi
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 355
下载
💾 0
安装
1
版本
#latest

概述

When to Use

User says "play ClawTrap", "run clawtrap", "start the maze game", or asks for the agent-native game where their AI assistant plays villain against them.

Setup (one-time)

The game is not bundled in this skill. Clone and install:

git clone https://github.com/TatsuKo-Tsukimi/ClawTrap.git ~/ClawTrap
cd ~/ClawTrap && npm install

Launch

cd ~/ClawTrap && node server.js
# then open http://localhost:3000

OpenClaw users get zero-config auth via auth-profiles.json. For other providers, set ANTHROPIC_API_KEY, or OPENAI_API_KEY + API_BASE, before launch. Docker: docker compose up --build.

Warnings to Surface Before First Run

  • Token cost: every card, trial, and villain monologue is a live LLM call. The background archivist (file analysis + fact extraction) is especially heavy. Point MAZE_MODEL at a cheaper model in .env to reduce spend.
  • Local file access: the game scans the player's workspace (SOUL.md, MEMORY.md, documents, images) with their permission to craft personalized attacks. All data stays local — nothing leaves the machine except LLM calls to the provider the player configured.
  • Model-dependent quality: tested mainly with Claude and Codex. Stronger model = better game (follows the bitter lesson of minimal hardcoded constraints).

Data Storage

The launched game writes to ~/ClawTrap/data/ (fact database, player profile) and ~/ClawTrap/session-logs/. Both are .gitignored in the upstream repo. This skill itself does not write files.

Acting as the Villain Yourself

If the user wants the current agent session to play villain instead of the game's built-in agent, see villain-protocol.md for the role spec. Connect via AGENT_URL=http://localhost: node server.js or via the bundled MCP adapter (mcp-server.js).

Related

  • Repo: https://github.com/TatsuKo-Tsukimi/ClawTrap
  • Upstream license: MIT (game) · this skill wrapper: MIT-0

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 12:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Multi-Dim Eval Framework Designer

tatsuko-tsukimi
为AI系统设计多维度评估框架,弥补单一评分基准的信息缺失,适用于跨实验/代理的比较
★ 0 📥 295

Screencast Studio

tatsuko-tsukimi
Auto-record narrated demo videos of any web UI from a Playwright-driven walkthrough — primary use case is the vibe-codin
★ 0 📥 383

Epistemic Hygiene

tatsuko-tsukimi
当用户询问如何讨论产品/策略问题、请求分析不熟悉的市场,或在文档稀疏可能导致不当推断时激活
★ 0 📥 293