返回 Skill 列表
extension
分类: 开发与工程无需 API Key

enter-world

启动冒险引擎应用程序以进行冒险项目。当用户想要“进入”一个世界,“开始”或“启动”一次冒险会话,或者开始互动游戏时使用。该应用程序会在后台启动,并将当前工作目录作为冒险项目的根目录。

person作者: jakexiaohubgithub

Enter World

Launch the Adventure Engine application to begin an interactive adventure session.

Usage

  1. Ensure the current working directory contains a valid adventure project
  2. Run the launcher script which will boot the Adventure Engine application in fire-and-forget mode:
bash "${CLAUDE_PLUGIN_ROOT}/skills/enter-world/scripts/launch-world.sh" "$PWD"

To skip opening a browser (useful for remote/headless servers):

bash "${CLAUDE_PLUGIN_ROOT}/skills/enter-world/scripts/launch-world.sh" --no-browser "$PWD"

The script launches the application asynchronously - control returns immediately to Claude Code while the adventure application runs independently. Output is written to .adventure-engine.log in the project directory.

Script Location

The launcher script is at: skills/enter-world/scripts/launch-world.sh

What the Script Does

  • Validates the adventure project directory
  • Starts the backend server using bun run start
  • Waits for server health check (up to 30 seconds)
  • Opens the default browser to http://localhost:3000 (unless --no-browser is specified)
  • Logs server PID for later shutdown
  • Detaches from the terminal (fire and forget)
  • All output is logged to .adventure-engine.log in the project directory