Lybic Docs

Lybic Skills

Using Lybic through agent skills

Agent skills are folders containing instructions, scripts, and resources. Agents can discover and use these folders to complete tasks more accurately and efficiently. This article will introduce how to use Lybic skills.

What is a Skill?

In traditional agents, skills are usually predefined functional (tool) modules, such as MCPs or context prompts. Agents can call these modules or output text in a specific format to perform specific tasks.

Now, Agent Skills are folders containing instructions, scripts, and resources. Agents can automatically discover and use

these folders to complete tasks more accurately and efficiently.

By allowing agents to directly use the instructions and scripts in the skill folders, or even write their own code to execute, agents can more flexibly adapt to different task requirements without needing to predefine all possible functional modules.

This approach enables agents to better utilize external resources and tools, thereby improving their performance and capabilities.

Lybic Skill

The Lybic skill allows agents to control the Lybic cloud sandbox by writing Python code.

This skill enables agents to:

  1. Manage Sandboxes
  • Create sandboxes (Windows/Linux/Android)
  • List, get details, and delete sandboxes
  • Monitor sandbox state and lifecycle
  1. 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
  1. Execute Code and Commands
  • Run Python, Node.js, Go, Rust, Java code
  • Execute shell commands and scripts
  • Handle stdin/stdout/stderr with base64 encoding
  1. Manage Files
  • Download files from URLs into sandbox
  • Copy files within sandbox or between locations
  • Read and write files in sandbox
  1. Network Operations
  • Create HTTP port mappings
  • Forward sandbox ports to public URLs
  • Enable external access to sandbox services
  1. Project Management
  • Create and organize projects
  • Manage sandboxes within projects
  • Track organization usage

安装

  1. Use pnpx to automatically discover and install Lybic skills into your codebase: Run the following command in your project root directory:

    pnpx skills add lybic/skills

    If you want to install it globally, you can use:

    pnpx skills add lybic/skills -g
  2. Manual installation:

    Clone Lybic's skill repository to a specific location:

    git clone git@github.com:lybic/skills.git
    cp -r skills/lybic-skill /path/to/your/skills/lybic-skill

    Load Lybic skills into your agent.

探索

On this page