Skip to main content

Skills SDK for Python

Project description

Skills SDK for Python

Python SDK for fetching and managing agent skills from GitHub repositories.

Install

pip install skills-sdk

Usage

import asyncio
from skills_sdk import Client, Memory, ClientOptions

async def main():
    store = Memory()
    async with Client(store, "/skills", ClientOptions(token="ghp_...")) as client:
        # List skills in a remote repo
        skills = await client.list_remote("owner", "repo")
        for s in skills:
            print(s.name, s.description)

        # Download skills to local storage
        await client.store("owner", "repo")

        # Read from local storage
        local = await client.list_local()
        md = await client.get_skill_md("my-skill")
        meta = await client.get_metadata("my-skill")

asyncio.run(main())

Filesystem store

from skills_sdk import Client, FS

client = Client(FS(), "/tmp/skills")

Environment variables

Variable Description
SKILLS_BASE_PATH Base path for storing skills (used when omitted)
SKILLS_GITHUB_TOKEN GitHub token for private repos
SKILLS_GITHUB_URL GitHub API base URL (default: https://api.github.com)

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

skills_sdk-0.1.1.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skills_sdk-0.1.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file skills_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: skills_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for skills_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2f35b1725630b27d82658b248576057439c2decce19207e59128cbaa6a7ea4b3
MD5 d9aaaf9ed20eba45e5731255e6ba150a
BLAKE2b-256 0c5727b5d9426da9019d13bccef99afdad65c08492ca46b8b820a1e27df3b0e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for skills_sdk-0.1.1.tar.gz:

Publisher: publish-pypi.yml on a4s-lab/skills

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skills_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: skills_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for skills_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf3b36b60dec01893b0b4b4120aa2ddc43ef90ed65ce149ca4fd7f0a1d3fc345
MD5 35efab8400393bedd2fba111143ca3c2
BLAKE2b-256 0ee3d59d3f178896a70f36aeaf568febd43c486b2eb14d15753098db6080fd78

See more details on using hashes here.

Provenance

The following attestation bundles were made for skills_sdk-0.1.1-py3-none-any.whl:

Publisher: publish-pypi.yml on a4s-lab/skills

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page