Agent Skill Management System with self-growth capabilities
Project description
Skill Manager
Agent Skill Management System with self-growth capabilities.
Published on PyPI: https://pypi.org/project/skillvault/
Features
- Skill Storage: SQLite + sqlite-vec for local storage with vector search
- Semantic Query: ANN retrieval + dependency expansion + token budget cropping
- Self-Growth: Automatically extract knowledge from conversations and tasks
- Human-in-the-Loop: Review queue for approving/rejecting draft skills
- Permission Separation: Agent code can only write drafts, humans control canonical
- CLI Tool: Command-line interface for skill management
Installation
pip install skillvault
Quick Start
from skillvault import SkillManager
from skillvault.models import Skill, Chunk
# Initialize
sm = SkillManager("skills.db")
# Register a skill
skill = Skill(
id="frontend-react",
name="Frontend React",
chunks=[
Chunk(
id="frontend-react::hooks",
skill_id="frontend-react",
section="React Hooks",
content="## useEffect\n\nUse useEffect for side effects...",
tokens=50,
)
]
)
sm.register(skill)
# Query skills
context = sm.query("React hooks best practices", budget=2000)
print(context)
# Extract knowledge from conversation
draft_id = sm.extract(messages)
# Review queue
pending = sm.review_queue()
# Approve draft
sm.approve(draft_id)
CLI Usage
# List skills
skill-cli list
# Review queue
skill-cli review-queue
# Approve/reject
skill-cli approve draft::skill-id
skill-cli reject draft::skill-id --reason "Not useful"
# Export/Import
skill-cli export frontend-react > react.json
skill-cli import react.json
# Statistics
skill-cli stats
Architecture
Agent Code (Python)
│
├── query() → Read canonical skills
├── extract() → Write draft skills
│
Human (CLI)
│
├── register() → Write canonical skills
├── approve() → Promote draft → canonical
├── reject() → Archive draft
└── delete() → Remove skill
│
SkillManager
│
├── Storage (SQLite + sqlite-vec)
├── Query Engine (ANN + Dependencies + Budget)
├── Growth Engine (LLM extraction)
└── Review System (Approve/Reject)
Development
# Install dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run CLI
skill-cli --help
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
skillvault-0.1.1.tar.gz
(39.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skillvault-0.1.1.tar.gz.
File metadata
- Download URL: skillvault-0.1.1.tar.gz
- Upload date:
- Size: 39.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17ffaa3f78518602b31913c00240456a97005adbf1d274073f6a0e319cc68968
|
|
| MD5 |
f009a608ed9002195c69327b7befd7da
|
|
| BLAKE2b-256 |
7bc24edd43bf897e4e020c67034db712e5fdf6e7de1a1c2d2f0540f08ccd541d
|
File details
Details for the file skillvault-0.1.1-py3-none-any.whl.
File metadata
- Download URL: skillvault-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce0bc53de1c340763793f130978367b865fc20deba551b1ed3fb1f57a22d9655
|
|
| MD5 |
50385743b82a6123e0fb632c736ab304
|
|
| BLAKE2b-256 |
259489276fc48ecaa8ebba90fd3d95ad40f5b956a2aa657da2ac8b6b31de50af
|