Lybic Sandbox is a cloud sandbox built for agents and automation workflows. Think of it as a disposable cloud computer you can spin up on demand. Agents can perform GUI actions like seeing the screen, clicking, typing, and handling pop ups, which makes it a great fit for legacy apps and complex flows where APIs are missing or incomplete. It is designed for control and observability. You can monitor execution in real time, stop it when needed, and use logs and replay to debug, reproduce runs, and evaluate reliability. For long running tasks, iterative experimentation, or sensitive environments, sandboxed execution helps reduce risk and operational overhead.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install lybic-sandbox或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install lybic-sandbox⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/lybic-sandbox/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: lybic cloud-computer skill description: Lybic Sandbox is a cloud sandbox built for agents and automation workflows. Think of it as a disposable cloud computer you can spin up on demand. Agents can perform GUI actions like seeing the screen, clicking, typing, and handling pop ups, which makes it a great fit for legacy apps and complex flows where APIs are missing or incomplete. It is designed for control and observability. You can monitor execution in real time, stop it when needed, and use logs and replay to debug, reproduce runs, and evaluate reliability. For long running tasks, iterative experimentation, or sensitive environments, sandboxed execution helps reduce risk and operational overhead. homepage: https://lybic.ai metadata: { "openclaw": { "emoji": "🧫", "requires": { "bins": [ "pip3", "python3" ], "env": [ "LYBIC_ORG_ID","LYBIC_API_KEY" ] }, "install": [ { "id": "brew", "kind": "brew", "formula": "python3", "bins": [ "python3" ], "label": "Install python3 (brew)" }, { "id": "brew", "kind": "brew", "formula": "pipx", "bins": [ "pip3" ], "label": "Install Pip (brew)" } ] } } ---
You are an expert at controlling Lybic cloud sandboxes using the Lybic Python SDK.
You can help users interact with Lybic cloud sandboxes to:
- Create sandboxes (Windows/Linux/Android) - List, get details, and delete sandboxes - Monitor sandbox state and lifecycle
- Desktop (Windows/Linux): Mouse clicks, keyboard input, scrolling, dragging - Mobile (Android): Touch, swipe, long press, app management - Take screenshots for visual feedback
- Run Python, Node.js, Go, Rust, Java code - Execute shell commands and scripts - Handle stdin/stdout/stderr with base64 encoding
- Download files from URLs into sandbox - Copy files within sandbox or between locations - Read and write files in sandbox
- Create HTTP port mappings - Forward sandbox ports to public URLs - Enable external access to sandbox services
- Create and organize projects - Manage sandboxes within projects - Track organization usage
The Lybic Python SDK must be installed:
pip install lybic
Users need Lybic credentials set via environment variables:
LYBIC_ORG_ID - Organization IDLYBIC_API_KEY - API keyOf course, these two parameters can also be manually specified and passed to the client.
import asyncio
from lybic import LybicClient, LybicAuth
async def main():
async with LybicClient(LybicAuth(
org_id="your_org_id", # Lybic organization ID
api_key="your_api_key"
)) as client:
# Your code here
pass
import asyncio
from lybic import LybicClient
async def main():
async with LybicClient() as client:
# Your code here
pass
if __name__ == '__main__':
asyncio.run(main())
try:
result = await client.sandbox.create(name="test", shape="beijing-2c-4g-cpu-linux")
print(f"Created: {result.id}")
except Exception as e:
print(f"Error: {e}")
import base64
# For stdin
code = "print('hello')"
stdin_b64 = base64.b64encode(code.encode()).decode()
# For stdout/stderr
result = await client.sandbox.execute_process(...)
output = base64.b64decode(result.stdoutBase64 or '').decode()
# Recommended: Resolution-independent
action = {
"type": "mouse:click",
"x": {"type": "/", "numerator": 1, "denominator": 2}, # 50%
"y": {"type": "/", "numerator": 1, "denominator": 2}, # 50%
"button": 1
}
# Alternative: Absolute pixels (less portable)
action = {
"type": "mouse:click",
"x": {"type": "px", "value": 500},
"y": {"type": "px", "value": 300},
"button": 1
}
import asyncio
import base64
from lybic import LybicClient
async def run_code_in_sandbox():
async with LybicClient() as client:
# Create linux based code sandbox
sandbox = await client.sandbox.create(
name="code-runner",
shape="beijing-2c-4g-cpu-linux"
)
# Execute code
code = "print('Hello from sandbox')"
result = await client.sandbox.execute_process(
sandbox.id,
executable="python3",
stdinBase64=base64.b64encode(code.encode()).decode()
)
print(base64.b64decode(result.stdoutBase64).decode())
# Cleanup
await client.sandbox.delete(sandbox.id)
asyncio.run(run_code_in_sandbox())
import asyncio
from lybic import LybicClient
async def automate_gui():
async with LybicClient() as client:
sandbox_id = "SBX-xxxx"
# Take initial screenshot
url, img, _ = await client.sandbox.get_screenshot(sandbox_id)
img.show()
# Click at center
await client.sandbox.execute_sandbox_action(
sandbox_id,
action={
"type": "mouse:click",
"x": {"type": "/", "numerator": 1, "denominator": 2},
"y": {"type": "/", "numerator": 1, "denominator": 2},
"button": 1
}
)
# Type text
await client.sandbox.execute_sandbox_action(
sandbox_id,
action={
"type": "keyboard:type",
"content": "Hello!"
}
)
# Press Enter
await client.sandbox.execute_sandbox_action(
sandbox_id,
action={
"type": "keyboard:hotkey",
"keys": "Return"
}
)
asyncio.run(automate_gui())
import asyncio
import base64
from lybic import LybicClient
from lybic.dto import FileCopyItem, HttpGetLocation, SandboxFileLocation
async def download_and_process():
async with LybicClient() as client:
sandbox_id = "SBX-xxxx"
# Download file
await client.sandbox.copy_files(
sandbox_id,
files=[
FileCopyItem(
id="dataset",
src=HttpGetLocation(url="https://example.com/data.csv"),
dest=SandboxFileLocation(path="/tmp/data.csv")
)
]
)
# Process with Python
code = """
import pandas as pd
df = pd.read_csv('/tmp/data.csv')
print(df.describe())
"""
result = await client.sandbox.execute_process(
sandbox_id,
executable="python3",
stdinBase64=base64.b64encode(code.encode()).decode()
)
print(base64.b64decode(result.stdoutBase64).decode())
asyncio.run(download_and_process())
# Click
{"type": "mouse:click", "x": {...}, "y": {...}, "button": 1} # 1=left, 2=right
# Double-click
{"type": "mouse:doubleClick", "x": {...}, "y": {...}, "button": 1}
# Move
{"type": "mouse:move", "x": {...}, "y": {...}}
...安装 Lybic Sandbox 后,可以对 AI 说这些话来触发它
Help me get started with Lybic Sandbox
Explains what Lybic Sandbox does, walks through the setup, and runs a quick demo based on your current project
Use Lybic Sandbox to lybic Sandbox is a cloud sandbox built for agents and automation wo...
Invokes Lybic Sandbox with the right parameters and returns the result directly in the conversation
What can I do with Lybic Sandbox in my developer & devops workflow?
Lists the top use cases for Lybic Sandbox, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/lybic-sandbox/ 目录(个人级,所有项目可用),或 .claude/skills/lybic-sandbox/(项目级)。重启 AI 客户端后,用 /lybic-sandbox 主动调用,或让 AI 根据上下文自动发现并使用。
Lybic Sandbox 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Lybic Sandbox 可免费安装使用。请查阅仓库了解许可证信息。
Lybic Sandbox is a cloud sandbox built for agents and automation workflows. Think of it as a disposable cloud computer you can spin up on demand. Agents can perform GUI actions like seeing the screen, clicking, typing, and handling pop ups, which makes it a great fit for legacy apps and complex flows where APIs are missing or incomplete. It is designed for control and observability. You can monitor execution in real time, stop it when needed, and use logs and replay to debug, reproduce runs, and evaluate reliability. For long running tasks, iterative experimentation, or sensitive environments, sandboxed execution helps reduce risk and operational overhead.
Automate my developer & devops tasks using Lybic Sandbox
Identifies repetitive steps in your workflow and sets up Lybic Sandbox to handle them automatically
Lybic Sandbox 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。