Core abstractions for SkillOS
Project description
skillos-core
Core abstractions for SkillOS.
SkillRepo
SkillRepo is a read-only abstraction over a directory of skills, backed by
fsspec. The backend is selected
from the URL protocol, so the same code works against local disk, S3, GCS,
Azure, in-memory test fixtures, and anything else fsspec supports.
A skill is any immediate subdirectory of the repo root that contains a
SKILL.md file. The SKILL.md may have YAML frontmatter; everything else
in the directory is treated as bundled resources.
from skillos_core import SkillRepo
repo = SkillRepo("/path/to/skills") # local
repo = SkillRepo("s3://bucket/skills") # S3 (pip install skillos-core[s3])
repo = SkillRepo("gs://bucket/skills") # GCS (pip install skillos-core[gcs])
for skill in repo:
print(skill.name, "-", skill.description)
skill = repo.read("hello")
print(skill.body)
for path in skill.list_resources():
data = skill.read_resource(path)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 skillos_core-0.1.0.tar.gz.
File metadata
- Download URL: skillos_core-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e62c1a83dadf63e7171a8896173688b5e0090dd62389fb44246a490869106aa2
|
|
| MD5 |
ea8f6ff1cf1141dd33cc35da37f86c2d
|
|
| BLAKE2b-256 |
a8740f95a7f0b35a17fffba75384bd293f515675bc6acf542d7c5576adf0db79
|
Provenance
The following attestation bundles were made for skillos_core-0.1.0.tar.gz:
Publisher:
publish.yml on SheaHawkins/skillos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skillos_core-0.1.0.tar.gz -
Subject digest:
e62c1a83dadf63e7171a8896173688b5e0090dd62389fb44246a490869106aa2 - Sigstore transparency entry: 1616261836
- Sigstore integration time:
-
Permalink:
SheaHawkins/skillos@74c4c729f464937a304d6e68d05b7b4848806b09 -
Branch / Tag:
refs/tags/skillos-core-v0.1.0 - Owner: https://github.com/SheaHawkins
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@74c4c729f464937a304d6e68d05b7b4848806b09 -
Trigger Event:
release
-
Statement type:
File details
Details for the file skillos_core-0.1.0-py3-none-any.whl.
File metadata
- Download URL: skillos_core-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f33a47e506882f6173d4c4367b6a49a953f76541d4129acdff186359ddfdd0fa
|
|
| MD5 |
a409de9a2306df380389a628e55ecf8e
|
|
| BLAKE2b-256 |
f972fabc57e02b0592041dfdcb8130acb821c8e21530bbf79f845ba8b26e74af
|
Provenance
The following attestation bundles were made for skillos_core-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on SheaHawkins/skillos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skillos_core-0.1.0-py3-none-any.whl -
Subject digest:
f33a47e506882f6173d4c4367b6a49a953f76541d4129acdff186359ddfdd0fa - Sigstore transparency entry: 1616261868
- Sigstore integration time:
-
Permalink:
SheaHawkins/skillos@74c4c729f464937a304d6e68d05b7b4848806b09 -
Branch / Tag:
refs/tags/skillos-core-v0.1.0 - Owner: https://github.com/SheaHawkins
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@74c4c729f464937a304d6e68d05b7b4848806b09 -
Trigger Event:
release
-
Statement type: