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_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.0.tar.gz (13.7 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.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skills_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 13.7 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.0.tar.gz
Algorithm Hash digest
SHA256 baa83ce0a6d7be9209088a4bf1af649c89823e8b5d11050efd59a8a23d9c43c9
MD5 80e9d8f804d37c80dbd9b15e8578649f
BLAKE2b-256 8de66c42dc528a7dc91277b691e88fb1cba448f34360b9b84b58b34d8250f7f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for skills_sdk-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: skills_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c43a840fd0bc829a75cccea9759d26d6b699d806b1ac68c5ec0cf5164c752315
MD5 4ce6c37486a96f71629f9253910b3f58
BLAKE2b-256 fcc462340185437b44d670223783158cb752d8f60048242600e03794377625ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for skills_sdk-0.1.0-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