← 返回 Skills 市场
107
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install undercover-is-who
功能描述
担任谁是卧底游戏法官,负责分词、流程主持、描述记录、投票统计、淘汰判定及游戏结束回顾,全程保密身份。
安全使用建议
This skill appears to do exactly what it says: run locally to manage a “谁是卧底” game, assign roles, record descriptions and votes, and generate messages. Before installing or invoking it, consider: (1) Persistence/privacy: the skill creates database/games.db inside the skill folder and stores player names and message-sender IDs — if your agent runs in a shared environment, those IDs and game logs could be accessible to others; plan for secure storage or periodic cleanup. (2) Message delivery: the skill assumes the agent will send private messages and has access to message-sender IDs; ensure your agent/platform integration can deliver private DMs and that you give only the minimum required privileges. (3) Disclosure behavior: final vote-announcement logic prints who voted for whom — this is a normal gameplay option but is more revealing than “only who has/hasn’t voted”; review the code if you need a different privacy posture. (4) No external network or secrets are requested by this skill, and there is no install-time download risk. If you need higher assurance, inspect the remaining truncated parts of db.py/game_engine.py to confirm there are no unexpected network calls or hidden behaviors and run the skill in an isolated environment first.
功能分析
Type: OpenClaw Skill
Name: undercover-is-who
Version: 1.0.0
The skill bundle implements a 'Who is Undercover' (谁是卧底) party game judge. It uses a structured approach with Python scripts (game_engine.py, vote_handler.py, describe_handler.py) and a local SQLite database (database/games.db) to manage game state, player roles, and voting. The SKILL.md instructions use strong language ('Constitution-level') to ensure the AI agent maintains game integrity and secrecy, which is a functional requirement for this game type rather than a malicious prompt injection. No evidence of data exfiltration, unauthorized network access, or malicious command execution was found.
能力评估
Purpose & Capability
Name/description (game judge) match the provided scripts and SKILL.md. The code only reads the bundled word-pairs, creates a local SQLite database inside the skill directory, assigns roles, records descriptions/votes, and generates templates/messages — all expected for a judge automation. There are no environment variables, third-party credentials, or unrelated binaries required.
Instruction Scope
SKILL.md is explicit about the judge role, secrecy, when to call scripts, and about binding/verifying message-sender IDs. That scope is reasonable. Two points to note: (1) SKILL.md insists on absolute secrecy of words/roles until game end — the code follows this for words/roles but the vote announcement code (cmd_announce) reveals per-player vote targets (who voted for whom), which is a normal game feature but is a disclosure beyond merely listing who has/hasn't voted (the earlier progress message avoids targets). (2) The skill instructs the agent to send private messages (and to always verify IDs first) but does not provide the platform-specific mechanism for sending those messages; the agent/execution environment must implement private-message delivery properly.
Install Mechanism
No install spec; this is instruction-only with bundled Python scripts. No external downloads or package installs are declared. Scripts run locally and create an on-disk SQLite DB in the skill folder.
Credentials
The skill requests no environment variables or external credentials. It does, however, persistently stores player identifiers (player_id / message sender IDs) and game state in a local database under the skill directory. Storing message-sender IDs is necessary for the 'bind-id' / 'verify-id' functionality, but these identifiers can be sensitive in multi-tenant or shared environments — consider that persistent storage of user IDs may be privacy-relevant.
Persistence & Privilege
The skill creates and writes a persistent SQLite database (database/games.db) under its own install directory and logs game state, descriptions, and votes per its design. It does not request always:true, does not change other skills' configs, and does not ask for system-wide privileges. Persisting game data is expected, but be aware of the persistent footprint and where that directory lives and who can access it.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install undercover-is-who - 安装完成后,直接呼叫该 Skill 的名称或使用
/undercover-is-who触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial Python-based version with a strong emphasis on "judge principle" and full CLI/scripted workflow:
- Fully rewritten skill, removing all previous JavaScript and Node dependencies.
- All game logic and state now handled via Python scripts located in the `scripts/` directory.
- Provides command-line utilities for starting games, assigning roles, managing description and voting phases, validating user identity, and exporting game logs.
- Extensive documentation outlining judge duties, strict confidentiality, and process protocols.
- Skill now operates entirely as the game judge, enforcing constitutional "core principles" above all else.
元数据
常见问题
undercover-is-who 是什么?
担任谁是卧底游戏法官,负责分词、流程主持、描述记录、投票统计、淘汰判定及游戏结束回顾,全程保密身份。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 107 次。
如何安装 undercover-is-who?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install undercover-is-who」即可一键安装,无需额外配置。
undercover-is-who 是免费的吗?
是的,undercover-is-who 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
undercover-is-who 支持哪些平台?
undercover-is-who 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 undercover-is-who?
由 loongfay(@loongfay)开发并维护,当前版本 v1.0.0。
推荐 Skills