360 Secure SkillHub
360 安全技能中心

MUD

该 Skill 通过 scripts/mud_cmd.py 包装本地 MUD 引擎命令,用于冒烟测试、玩家与角色管理、存档/恢复、图像生成冷却检查等运维操作,并附带命令与运维参考文档。引擎目录采用 OpenClaw 专属路径,调用方式为 Windows PowerShell 下的 python 脚本,图像生成需运行时图像管线已配置。

andrew-goetz-com
andrew-goetz-com
热度 59.89
最近更新 2026-05-17 12:57:29
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本 / 工作流 / 图像生成 / 调试排错

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mud
Metadata
name
mud
description
Operate and maintain the persistent MUD agent for OpenClaw. Use when running MUD engine commands, smoke-testing mud state behavior, validating save/restore, diagnosing MUD data issues, or handling MUD deployment operations.

MUD

Authors: agigui and lia

Use this skill to run the local MUD engine safely and deterministically.

Workflow

  1. Locate the engine directory.
    • Prefer C:\Users\openclaw\.openclaw\workspace-mud-dm\mud-agent
    • Fallback: C:\Users\openclaw\.openclaw\workspace\mud-agent
  2. Run a smoke test with scripts/mud_cmd.py.
  3. Run requested MUD operations.
  4. Use references/ops.md and references/commands.md for runbook details.

Command runner

python skills/mud/scripts/mud_cmd.py "<command>"

Examples (current CLI engine):

python skills/mud/scripts/mud_cmd.py "list-races"
python skills/mud/scripts/mud_cmd.py "register-player --campaign demo --player u1 --name Hero"
python skills/mud/scripts/mud_cmd.py "new-character --campaign demo --player u1 --name Rook --race human --char-class rogue"
python skills/mud/scripts/mud_cmd.py "save --campaign demo"
python skills/mud/scripts/mud_cmd.py "check-image-cooldown --campaign demo"
python skills/mud/scripts/mud_cmd.py "generate-image --campaign demo --prompt \"A rain-soaked neon tavern\""

Legacy slash-command engine is auto-detected and still supported by the same wrapper.

Notes

  • Keep mechanics deterministic in engine code; use LLM for narration.
  • Avoid hardcoded secrets/tokens in skill files.
  • Image generation is available through engine commands (check-image-cooldown, record-image, generate-image) when the runtime image pipeline is configured.
  • Keep this skill focused on operations and execution.