AgentSkillsCN

start-playground

启动一个新的游乐场会话并返回其ID。适用于需要为测试或调试而快速搭建沙盒环境的场景。

SKILL.md
--- frontmatter
name: start-playground
description: Starts a new playground session and returns its ID. Use when you need to spin up a sandbox environment for testing or debugging.
argument-hint: <playground-name>

Start a new playground session for playground $0.

Run the following command:

sh
labctl playground start $0 --quiet --skip-wait-init

The --quiet flag makes the command print only the playground ID. The --skip-wait-init flag avoids blocking indefinitely waiting for init tasks to complete (useful because init tasks may fail during debugging).

Capture and report the returned playground ID - it is needed for all subsequent playground operations (SSH, running commands, checking tasks).

After starting, use the list-running-playgrounds skill or labctl playground list to verify the playground is running.