← 返回 Skills 市场
mikewei

guandan

作者 Mike Wei · GitHub ↗ · v0.1.1 · MIT-0
linuxdarwin ✓ 安全检测通过
131
总下载
1
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install guandan
功能描述
Play GuanDan(掼蛋) card game via `clawguandan CLI`. Use when users ask to play GuanDan or create/list/join tables in game.
使用说明 (SKILL.md)

Guandan

You can play GuanDan (掼蛋) card game through the clawguandan CLI as one or more AI players.

Prerequisites

  1. Check CLI available Run the CLI wrapper:

    ./scripts/run.sh show version
    

    When not found, install it first if the user trust it.

  2. Check server ready Run:

    ./scripts/run.sh server status
    

    If the status is unreachable, you can restart the local server:

    ./scripts/run.sh server restart
    

    You can see the Web UI URLs for human users once everything is ready.

Quick start (Bot Mode, default)

  1. Read the current table list:

    ./scripts/run.sh table list
    
  2. Confirm whether you should create the table or the user already specified a table.

    • If you create the table, run ./scripts/run.sh table create "\x3Ca_cool_table_name>" and obtain tableId.
  3. Confirm with the user how many Bot players should join, then run the command in background:

    ./scripts/run.sh bot llm-bot --default-script openclaw --players \x3Cnumber_of_bot_players> -t \x3CtableId> -v
    

    If some error occurs, try to fix it and retry.

  4. If it still does not work, confirm with user to degrade to rule-based bot player.

    ./scripts/run.sh bot rule-bot --players \x3Cnumber_of_bot_players> -t \x3CtableId> -v
    
  5. Game started. Report game status when needed.

Security notes

This skill wraps the clawguandan CLI.

  • The CLI communicates only with a local server process and local agent.
  • It does not require API keys, tokens, or external credentials by default.
  • It does not send data to external services unless the user explicitly configures it to do so.
安全使用建议
This skill is a thin wrapper around an external npm CLI package. Before installing or running it: 1) Inspect the upstream npm package (@mikewei-labs/clawguandan) and its repository/release history to ensure you trust it; 2) If you plan to use the 'llm-bot' mode, confirm whether that mode connects to external LLM services and whether it requires API keys or sends gameplay data externally; 3) Prefer installing and running this in a contained environment (local user account or sandbox) until you confirm the CLI's behavior; 4) If you do not trust the npm package, do not run 'npm install' from an unverified source.
功能分析
Type: OpenClaw Skill Name: guandan Version: 0.1.1 The skill bundle is a straightforward wrapper for a card game CLI tool ('clawguandan'). The 'scripts/run.sh' script is a standard utility to locate and execute the CLI, and 'SKILL.md' provides clear, task-aligned instructions for the AI agent to manage game tables and bot players. No evidence of malicious intent, data exfiltration, or suspicious obfuscation was found.
能力评估
Purpose & Capability
Name/description match the delivered assets: SKILL.md documents using the clawguandan CLI and the repo includes a small wrapper script that launches the 'clawguandan' executable from PATH or node_modules. Requiring npm as a prerequisite is reasonable because installation guidance uses npm.
Instruction Scope
Instructions only invoke the local wrapper script (table list/create, server status/restart, bot launch). They do not instruct reading unrelated files or environment variables. One point to note: the instructions reference an 'llm-bot' mode; the skill does not document whether that mode calls external LLM services or only a local agent — that behavior is determined by the external CLI package, not the provided files.
Install Mechanism
There is no install spec and the included script is a simple shell wrapper. Nothing in the skill downloads or extracts remote archives or writes arbitrary files. The only install advice is to run 'npm install @mikewei-labs/clawguandan@latest' which is a standard npm package install.
Credentials
The skill declares no required environment variables or credentials, which aligns with the SKILL.md claim that no API keys are required by default. However, 'llm-bot' or other CLI behaviors might require external model credentials or configuration if the underlying CLI is configured that way — this is outside the wrapper and should be verified in the external package's docs.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and has no install-time persistent agents. It only runs a local CLI wrapper when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install guandan
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /guandan 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Added a new "Security notes" section to clarify how the skill interacts with the clawguandan CLI and handles data privacy. - No changes to the workflow or commands.
v0.1.0
- Initial release of the guandan skill. - Play GuanDan (掼蛋) via the clawguandan CLI with support for AI and rule-based bots. - Includes instructions for setting up prerequisites, checking server status, and starting games. - Supports Linux and Darwin operating systems; requires npm.
v0.1.0-beta.7
Version 0.1.0 - Added scripts/run.sh as a CLI wrapper for all commands. - Updated documentation to use the new scripts/run.sh interface for running and managing games. - Removed outdated reference to subagent_mode.md. - Simplified fallback instructions for bot mode failures. - Improved clarity and step-by-step guidance in SKILL.md.
v0.1.0-beta.6
guandan 0.1.0 - Updated installation instructions to check for and install the `clawguandan` CLI with npm if not found - Metadata requirements now specify only the `npm` binary - Improved and clarified server readiness and quick start instructions - Corrected and streamlined bot joining workflow and error handling steps - Simplified documentation by removing Subagent Mode warnings and referencing its usage more clearly
v0.1.0-beta.5
Initial release of the Guandan skill. - Play GuanDan (掼蛋) card game via the `clawguandan` CLI. - Supports listing, creating, and joining game tables. - Choose between bot players (LLM or rule-based) and Subagent Mode. - Includes setup instructions and troubleshooting steps for server and gameplay. - Compatible with Linux and macOS; requires `clawguandan` binary (installable via npm).
元数据
Slug guandan
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

guandan 是什么?

Play GuanDan(掼蛋) card game via `clawguandan CLI`. Use when users ask to play GuanDan or create/list/join tables in game. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。

如何安装 guandan?

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

guandan 是免费的吗?

是的,guandan 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

guandan 支持哪些平台?

guandan 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin)。

谁开发了 guandan?

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

💬 留言讨论