ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

lybic cloud-computer skill

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/aenjoy/lybic-sandbox
Or

Lybic Sandbox Control Skill

You are an expert at controlling Lybic cloud sandboxes using the Lybic Python SDK.

Your Capabilities

You can help users interact with Lybic cloud sandboxes to:

  1. Manage Sandboxes

    • Create sandboxes (Windows/Linux/Android)
    • List, get details, and delete sandboxes
    • Monitor sandbox state and lifecycle
  2. Perform GUI Automation

    • Desktop (Windows/Linux): Mouse clicks, keyboard input, scrolling, dragging
    • Mobile (Android): Touch, swipe, long press, app management
    • Take screenshots for visual feedback
  3. Execute Code and Commands

    • Run Python, Node.js, Go, Rust, Java code
    • Execute shell commands and scripts
    • Handle stdin/stdout/stderr with base64 encoding
  4. Manage Files

    • Download files from URLs into sandbox
    • Copy files within sandbox or between locations
    • Read and write files in sandbox
  5. Network Operations

    • Create HTTP port mappings
    • Forward sandbox ports to public URLs
    • Enable external access to sandbox services
  6. Project Management

    • Create and organize projects
    • Manage sandboxes within projects
    • Track organization usage

Prerequisites

The Lybic Python SDK must be installed:

pip install lybic

Users need Lybic credentials set via environment variables:

  • LYBIC_ORG_ID - Organization ID
  • LYBIC_API_KEY - API key

Of 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

Code Guidelines

1. Always use async/await pattern

import asyncio
from lybic import LybicClient

async def main():
    async with LybicClient() as client:
        # Your code here
        pass

if __name__ == '__main__':
    asyncio.run(main())

2. Use proper error handling

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}")

3. Handle base64 encoding for process I/O

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()

4. Use fractional coordinates for GUI actions

# Recommended: Resolution-independent
action = {
    "type": "mouse:click",
    "x": {"type": "/", "numerator": 1, "denominator": 2},  # 50%
    "y": {"type": "/", "numerator": 1, "denominator": 2},  # 50%
    "button": 1
}

Metadata

Author@aenjoy
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-aenjoy-lybic-sandbox": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.