Skip to main content

OpenSkills Python Bindings

Python bindings for OpenSkills Runtime - Claude Skills compatible runtime with WASM sandbox.

Installation

pip install finclip-openskills

Note: Pre-built wheels are available for macOS and Linux only. Windows users need to build from source:

git clone https://github.com/Geeksfino/openskills.git
cd openskills/bindings/python
pip install maturin
maturin develop

Usage

Basic Runtime API

from openskills import OpenSkillRuntime

# Create runtime (discovers from standard locations)
runtime = OpenSkillRuntime()

# Or specify project root
runtime = OpenSkillRuntime.with_project_root('/path/to/project')

# Or load from specific directory
runtime = OpenSkillRuntime.from_directory('/path/to/skills')

# Discover skills from standard locations
skills = runtime.discover_skills()
print(f"Found {len(skills)} skills")

# List skills (progressive disclosure)
for skill in runtime.list_skills():
    print(f"{skill['id']}: {skill['description']}")

# Activate a skill (load full content)
loaded = runtime.activate_skill('my-skill')
print(loaded['instructions'])

# Execute WASM module
result = runtime.execute_skill(
    'my-skill',
    input={'query': 'hello'},
    timeout_ms=5000
)

print(result['output'])
print(result['audit'])

# Check tool permissions
can_read = runtime.is_tool_allowed('my-skill', 'Read')

⭐ Pre-built Tools (Recommended)

For agent integration, use pre-built tools that eliminate boilerplate:

LangChain Integration:

from openskills import OpenSkillRuntime
from openskills_tools import create_langchain_tools, get_agent_system_prompt

# Initialize runtime
runtime = OpenSkillRuntime.from_directory('./skills')
runtime.discover_skills()

# Create LangChain-compatible tools
tools = create_langchain_tools(runtime, workspace_dir='./output')

# Get skill-agnostic system prompt
system_prompt = get_agent_system_prompt(runtime)

# Use with LangChain
from langchain.agents import create_agent
agent = create_agent(model, tools, system_prompt=system_prompt)

Framework-Agnostic (Simple Functions):

from openskills import OpenSkillRuntime
from openskills_tools import create_simple_tools

runtime = OpenSkillRuntime.from_directory('./skills')
runtime.discover_skills()

# Create simple callable functions (works with any framework)
tools = create_simple_tools(runtime, workspace_dir='./output')

# Use tools directly
skills = tools['list_skills']()
loaded = tools['activate_skill']('my-skill')
tools['write_file']('output.txt', 'Hello, World!')

# Run a WASM module from a skill (auto-detected by file extension)
result = tools['run_skill_script'](
    'skill-creator',
    'wasm/skill.wasm',
    input={'action': 'init_skill', 'skill_name': 'my-skill', 'path': 'skills/public'}
)
print(result['output'])

Available Tools:

  • list_skills - List available skills
  • activate_skill - Load full SKILL.md instructions
  • read_skill_file - Read helper files from skills
  • list_skill_files - List files in skill directories
  • run_skill_script - Execute sandboxed scripts or WASM modules
  • write_file - Write to workspace (with security validation)
  • read_file - Read from workspace (with security validation)
  • list_workspace_files - List files in workspace
  • get_file_info - Get file metadata

Benefits:

  • ✅ ~200 lines less code: No manual tool definitions
  • ✅ Security built-in: Path validation, workspace isolation
  • ✅ Workspace management: Automatic sandboxed file I/O
  • ✅ Skill-agnostic: Works with any skill without code changes

Metadata

Release files for finclip-openskills 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for finclip-openskills 0.5.0
File Size Uploaded Provenance
finclip_openskills-0.5.0.tar.gz 148.0 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for finclip-openskills 0.5.0
File Interpreter ABI Platform
finclip_openskills-0.5.0-cp311-cp311-manylinux_2_39_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.39+ x86-64 Details
finclip_openskills-0.5.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
finclip_openskills-0.5.0-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details

Total release size: 26.6 MB

Release files / finclip_openskills-0.5.0.tar.gz

Download URL finclip_openskills-0.5.0.tar.gz
Size 148.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ed0a0f0a0e7affad07d5fa4a53ff3a5e26e518073254d821f0a7b4699a96221f
BLAKE2b-256 checksum
How to use checksums
f94ca78dd40b15857eb7d16e54cc974304fd54f43b24502e7964cb5b8a2fe84c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / finclip_openskills-0.5.0-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL finclip_openskills-0.5.0-cp311-cp311-manylinux_2_39_x86_64.whl
Size 9.4 MB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
5a8df15ba5147bc9d140f6baf547e6945eb1d83e50ee0edfb8d5568d33462a0f
BLAKE2b-256 checksum
How to use checksums
835f5e44ec071399ec4be04b8394a3e12a617cd9d29a4f4d0c18740047c9ea1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / finclip_openskills-0.5.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL finclip_openskills-0.5.0-cp311-cp311-macosx_11_0_arm64.whl
Size 8.1 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2d21683d0f2bc45a50154b0570c67428d8ed7345e8e67211f94138831fc69709
BLAKE2b-256 checksum
How to use checksums
3b9bcd5212bb743eb3d00f8250f5b0e08e6785fb535af1d83196d2104b40be85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / finclip_openskills-0.5.0-cp311-cp311-macosx_10_12_x86_64.whl

Download URL finclip_openskills-0.5.0-cp311-cp311-macosx_10_12_x86_64.whl
Size 8.9 MB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
544b2d8311c98e1e70b92a559bc035979b0a3360ad310afc3c9f551a6395334e
BLAKE2b-256 checksum
How to use checksums
c6af991011e1d14ac7798c88a8652ec5b1c61511d300d0d035a87a5e956425eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for finclip-openskills 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page