Skip to main content

SkillGarden (Python)

Part of LoopEngine — a runtime for defining and running AI agents through a transparent ReAct loop — handling SKILL.md-based skill discovery and lazy loading. Works standalone too, no dependency on LoopEngine itself.

Ported line-for-line from the TypeScript implementation. See the root README for the pitch, the prior-art landscape, and the scope decisions — this file only covers what's specific to running the Python code.

Install

pip install -e ".[dev]"

Quickstart

PYTHONPATH=src python3 examples/quickstart.py
from skillgarden import SkillGarden

garden = SkillGarden(dirs=["examples/skills"])
result = garden.build_index()

print(garden.invoke("greet", "world"))
# -> "Hello, world!"

eligible = garden.eligible_for(result.included, ["apps/web/index.tsx"])
# -> includes "deploy:web", since its `paths` glob matches

CLI

skillgarden add firecrawl --agent file-agent
# -> Added file-agent:firecrawl -> skills/file-agent/firecrawl/SKILL.md

Copies a skill from the bundled skillgarden/registry/ into skills/<agent>/<skill>/, ready for discover_skill_files to pick up as <agent>:<skill>. Pass --dir <path> to use a skills root other than ./skills, and --force to overwrite an existing install.

Test

pytest

Status

Loader, budget-aware index, directory discovery with colon-namespacing, and path-conditional activation are real and tested. Published as skillgarden on PyPI.

Release files for skillgarden 0.0.4

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

Source distribution (sdist)

Source distribution for skillgarden 0.0.4
File Size Uploaded
skillgarden-0.0.4.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for skillgarden 0.0.4
File Interpreter ABI Platform
skillgarden-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / skillgarden-0.0.4.tar.gz

Download URL skillgarden-0.0.4.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
68883d01d3d92ad7c55c85ab63e2e154eafc43994d2fe924671864b0985c029b
BLAKE2b-256 checksum
How to use checksums
a8be3a5f709d1358c586cc3c9498102f3cc53021c04ad88ce5bc28db25c306fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Release files / skillgarden-0.0.4-py3-none-any.whl

Download URL skillgarden-0.0.4-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6b0b0e436483237b8e9c40025fcfbcff2ce89d2cc46bd7ee59adfba9be003d0
BLAKE2b-256 checksum
How to use checksums
050cd78aa85db1e8876090e8e98e8ea77233a95518c17c03b720d95f00e0face
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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