Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add EXboys/skilllite
Or install specific skill: npx add-skill https://github.com/EXboys/skilllite/tree/main/.skills/calculator
# Description
A simple calculator that can add, subtract, multiply, and divide numbers. Use when the user needs to perform basic arithmetic operations.
# SKILL.md
name: calculator
description: A simple calculator that can add, subtract, multiply, and divide numbers. Use when the user needs to perform basic arithmetic operations.
license: MIT
metadata:
author: skillLite
version: "1.0"
Calculator Skill
A simple calculator that performs basic arithmetic operations.
Usage
Provide an operation and two numbers to get the result.
Examples
- Add:
{"operation": "add", "a": 5, "b": 3}β8 - Subtract:
{"operation": "subtract", "a": 10, "b": 4}β6 - Multiply:
{"operation": "multiply", "a": 6, "b": 7}β42 - Divide:
{"operation": "divide", "a": 20, "b": 4}β5
Runtime
input_schema:
type: object
properties:
operation:
type: string
description: "The operation to perform: add, subtract, multiply, divide"
enum: [add, subtract, multiply, divide]
a:
type: number
description: First operand
b:
type: number
description: Second operand
required: [operation, a, b]
# README.md
SkillLite
The only lightweight AI Agent Skills engine with built-in native system-level sandbox, zero dependencies, and local execution.
A lightweight AI Agent Skills execution engine that integrates with any OpenAI-compatible LLM.
π― Why SkillLite?
| Feature | SkillLite | Claude Code Sandbox | LangChain Sandbox | OpenAI Plugins | Semantic Kernel |
|---|---|---|---|---|---|
| Built-in Sandbox | β Rust Native | β Node.js Native | β οΈ Pyodide/Docker | β οΈ Cloud (Closed) | β None (Azure) |
| Sandbox Tech | Seatbelt + Namespace | Seatbelt + bubblewrap | WebAssembly/Docker | Cloud Isolation | - |
| Implementation | Rust (High Perf) | Node.js/TypeScript | Python | - | C# |
| Local Execution | β | β | β | β | β |
| Zero Dependencies | β Single Binary | β Needs Node.js | β Needs Runtime | β | β |
| Cold Start | β‘ Milliseconds | Medium | π’ Seconds | - | - |
| LLM Agnostic | β Any LLM | β Claude Only | β | β OpenAI Only | β |
| License | MIT | Apache 2.0 | MIT | Closed | MIT |
Comparison with Claude Code Sandbox
Claude/Anthropic released Claude Code Sandbox in October 2025, using the same underlying technology stack as SkillLite:
- macOS: Seatbelt (sandbox-exec)
- Linux: bubblewrap + namespace
Key Differences:
| Aspect | SkillLite | Claude Code Sandbox |
|---|---|---|
| Purpose | General Skills Execution Engine | Claude Code Exclusive |
| LLM Binding | β Any LLM | β Claude Only |
| Implementation | Rust (Higher Performance, Smaller Size) | Node.js/TypeScript |
| Deployment | Single Binary, Zero Dependencies | Requires Node.js Runtime |
| Skills Ecosystem | Independent Skills Directory | Depends on MCP Protocol |
| Use Case | Any Agent Framework Integration | Claude Code Internal Use |
π‘ Summary: Claude Code Sandbox validates that "native system-level sandbox" is the right direction for AI Agent secure execution. SkillLite provides an LLM-agnostic, Rust-implemented, lighter-weight alternative for scenarios requiring multi-LLM integration or maximum performance.
π Core Innovation: Native System-Level Security Sandbox
SkillLite uses a Rust-implemented native system-level sandbox, not Docker or WebAssembly:
- macOS: Kernel-level isolation based on Seatbelt (sandbox-exec)
- Linux: Container-level isolation based on Namespace + Seccomp
Fundamental Difference from Other Solutions
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Other Solutions β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
β β Docker β β Pyodide β β Cloud Sandboxβ β
β β (Heavyweight)β β (WebAssembly)β β(Data Upload) β β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SkillLite Solution β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β Rust Native System-Level Sandbox ββ
β β β’ Direct OS security mechanisms (Seatbelt/Namespace) ββ
β β β’ Zero external dependencies, single binary ββ
β β β’ Millisecond cold start, production-grade performance ββ
β β β’ Code and data never leave your machine ββ
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Security Features
| Security Capability | Description |
|---|---|
| Process Isolation | Each Skill runs in an independent process |
| Filesystem Isolation | Only Skill directory and temp directory accessible |
| Network Isolation | Network disabled by default, can be enabled on demand |
| Resource Limits | CPU, memory, execution time limits |
| Least Privilege | Follows the principle of least privilege |
β¨ Features
- π Native Security Sandbox - Rust-implemented system-level isolation, not Docker/WebAssembly
- β‘ Ultra Lightweight - Single binary, millisecond cold start, zero external dependencies
- π Data Sovereignty - Pure local execution, code and data never leave your machine
- π Universal LLM Support - Compatible with all OpenAI API format LLM providers
- π¦ Skills Management - Auto-discovery, registration, and management of Skills
- π§ Smart Schema Inference - Automatically infer input parameter Schema from SKILL.md and script code
- π§ Tool Calls Handling - Seamlessly handle LLM tool call requests
- π Rich Context Support - Support for references, assets, and other extended resources
π Quick Start
1. Install Rust Sandbox Executor
This project uses a Rust-written isolated sandbox to securely execute Skills scripts. You need to install Rust and compile the sandbox first.
β οΈ Platform Support: Currently only supports macOS and Linux. Windows is not supported yet.
Install Rust (if not already installed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Reload environment variables after installation
source ~/.cargo/env
# Verify installation
rustc --version
cargo --version
Compile the Sandbox Executor
# Enter Rust project directory and compile
cd skillbox
cargo build --release
# Optional: Install to system path (recommended)
cargo install --path .
# Verify installation
skillbox --help
After compilation, the skillbox binary will be located at:
- If using cargo install: ~/.cargo/bin/skillbox
- If only cargo build: skillbox/target/release/skillbox
2. Environment Configuration
# Copy environment variable template
cp .env.example .env
# Edit .env with your API configuration
# BASE_URL=https://api.deepseek.com/v1
# API_KEY=your_api_key_here
# MODEL=deepseek-chat
3. Run Example
python3 simple_demo.py
π Project Structure
skillLite/
βββ skillbox/ # Rust sandbox executor
βββ skilllite/ # Python SDK
β βββ skilllite/
β βββ manager.py # SkillManager core manager
β βββ executor.py # Skill executor
β βββ loops.py # Agentic Loop implementation
β βββ tools.py # Tool definitions
β βββ ...
βββ .skills/ # Skills directory
β βββ calculator/ # Calculator Skill
β βββ data-analyzer/ # Data Analysis Skill
β βββ http-request/ # HTTP Request Skill
β βββ text-processor/ # Text Processing Skill
β βββ weather/ # Weather Query Skill
β βββ writing-helper/ # Writing Assistant Skill
βββ simple_demo.py # Full example
βββ simple_demo_v2.py # Simplified example
βββ simple_demo_minimal.py # Minimal example
π‘ Usage
Basic Usage
from openai import OpenAI
from skilllite import SkillManager
# Initialize OpenAI-compatible client
client = OpenAI(base_url="https://api.deepseek.com/v1", api_key="your_key")
# Initialize SkillManager
manager = SkillManager(
skills_dir="./.skills",
llm_client=client,
llm_model="deepseek-chat"
)
# Get tool definitions (OpenAI format)
tools = manager.get_tools()
# Call LLM
response = client.chat.completions.create(
model="deepseek-chat",
tools=tools,
messages=[{"role": "user", "content": "Calculate 15 times 27"}]
)
# Handle tool calls
if response.choices[0].message.tool_calls:
results = manager.handle_tool_calls(response)
Supported LLM Providers
| Provider | base_url |
|---|---|
| OpenAI | https://api.openai.com/v1 |
| DeepSeek | https://api.deepseek.com/v1 |
| Qwen | https://dashscope.aliyuncs.com/compatible-mode/v1 |
| Moonshot | https://api.moonshot.cn/v1 |
| Ollama (Local) | http://localhost:11434/v1 |
π οΈ Create Custom Skill
Each Skill is a directory containing a SKILL.md:
my-skill/
βββ SKILL.md # Skill metadata and description (required)
βββ scripts/ # Scripts directory
β βββ main.py # Entry script
βββ references/ # Reference documents (optional)
βββ assets/ # Resource files (optional)
SKILL.md Example
---
name: my-skill
description: My custom Skill
version: 1.0.0
entry_point: scripts/main.py
---
# My Skill
This is the detailed description of the Skill...
π¦ Core Components
- SkillManager - Manages Skill discovery, registration, and execution
- SkillInfo - Single Skill information encapsulation
- AgenticLoop - Automated Agent loop execution
- ToolDefinition - OpenAI-compatible tool definition
- SchemaInferrer - Smart parameter Schema inference
π License
MIT
This project includes third-party dependencies with various licenses. See THIRD_PARTY_LICENSES.md for details.
π Documentation
- Getting Started - Installation and quick start guide
- Architecture - Project architecture and design
- Contributing Guide - How to contribute
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.