Pre-release
This release is a pre-release and may not be stable for production use.
Agent Skills Plugin for elizaOS (Python)
Implements the Agent Skills specification with:
- Spec-compliant SKILL.md parsing and validation
- Progressive disclosure (metadata → instructions → resources)
- ClawHub registry integration
- Otto metadata compatibility
- Dual storage modes (memory/filesystem)
Installation
pip install elizaos-plugin-agent-skills
For development:
pip install -e ".[dev]"
Usage
Basic Parsing
from elizaos_plugin_agent_skills import parse_frontmatter, validate_frontmatter
content = """---
name: my-skill
description: A helpful skill for doing things
---
# My Skill
Instructions here.
"""
result = parse_frontmatter(content)
frontmatter = result["frontmatter"]
body = result["body"]
# Validate
validation = validate_frontmatter(frontmatter, "my-skill")
if validation["valid"]:
print(f"Skill: {frontmatter['name']}")
Storage (Memory vs Filesystem)
from elizaos_plugin_agent_skills import (
MemorySkillStore,
FileSystemSkillStore,
load_skill_from_storage,
install_from_github,
)
# Memory storage (browser/virtual FS)
store = MemorySkillStore("/virtual/skills")
await store.initialize()
# Load from content
await store.load_from_content("my-skill", skill_md_content)
# Or from GitHub
skill = await install_from_github(store, "owner/repo", path="skills/my-skill")
# Load skill
skill = await load_skill_from_storage(store, "my-skill")
print(f"Loaded: {skill['name']}")
Generate XML for Agent Prompts
from elizaos_plugin_agent_skills import generate_skills_xml
skills = [
{"name": "skill-one", "description": "First skill", "location": "/path/to/skill"},
{"name": "skill-two", "description": "Second skill", "location": "/path/to/skill"},
]
xml = generate_skills_xml(skills, include_location=True)
print(xml)
Testing
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# With Anthropic integration tests
ANTHROPIC_API_KEY=your-key pytest
Specification
Metadata
Release files for elizaos-plugin-agent-skills 2.0.0a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elizaos_plugin_agent_skills-2.0.0a5.tar.gz | 32.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elizaos_plugin_agent_skills-2.0.0a5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.1 kB
Release files / elizaos_plugin_agent_skills-2.0.0a5.tar.gz
| Download URL | elizaos_plugin_agent_skills-2.0.0a5.tar.gz |
|---|---|
| Size | 32.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
968ddcb69caa11eaa1480c1c53a3d985a29d2f2debcbc5846062e023f8711671
|
|
BLAKE2b-256 checksum How to use checksums |
100358c670dc1b91064bfa59c6c8ca05bcc0f816d62101d13dacb99ddcaa2e18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / elizaos_plugin_agent_skills-2.0.0a5-py3-none-any.whl
| Download URL | elizaos_plugin_agent_skills-2.0.0a5-py3-none-any.whl |
|---|---|
| Size | 29.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3987ca7b957044a727583dc02a5c4384b655ee03d18732b80fb050b0c3c4e8f0
|
|
BLAKE2b-256 checksum How to use checksums |
442738374505eeab299b5ea0095fd5926a54306d96ca3898bee74ce499f0d040
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|