Skip to main content

SkillGarden (Python)

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.3

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.3
File Size Uploaded
skillgarden-0.0.3.tar.gz 9.5 kB Details

Built distribution (wheel)

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

Total release size: 20.6 kB

Release files / skillgarden-0.0.3.tar.gz

Download URL skillgarden-0.0.3.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c237187dea3a25e1d15385f874e0d15b73fc5b3c69fde690e775841a3881e19e
BLAKE2b-256 checksum
How to use checksums
701a719a3862cd7d42e1a768cbc0305809722eb0a8d14d350f4fefedf0366c71
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.3-py3-none-any.whl

Download URL skillgarden-0.0.3-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81e7b58cb1f3462e91fb4fba58608dc0fec5335aa9cf3cbf06ac45ec31824eb4
BLAKE2b-256 checksum
How to use checksums
9f4a30f360d405cc78f5ee03056490027fb65bf80e506e367f2c5ab8328d72ee
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

0.0.4

2 release files

This release

0.0.3 This release

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