Official Python SDK for SkillPlus
Project description
SkillPlus Python SDK
Official Python SDK for the hosted SkillPlus API.
SkillPlus provides security intelligence for AI skills and agent-facing software, helping developers, teams, and platforms scan, understand, and trust AI skills before installation, approval, or integration.
Install
pip install skillplus
Basic usage
from skillplus import SkillPlus
client = SkillPlus(api_key="skp_...")
result = client.query("https://github.com/owner/repo")
if result.status == "found" and result.report:
print(result.report.rating) # "safe" | "medium" | "high"
Advanced options
For repositories containing many skills, or to queue a scan automatically when no report exists yet:
result = client.query(
"https://github.com/owner/repo",
skill_path="skills/example", # pick one skill in a multi-skill repo
scan_if_missing=True, # queue a scan if no report exists
)
The SDK talks to the official SkillPlus service at https://skillplus.xyz.
Context manager
from skillplus import SkillPlus
with SkillPlus(api_key="skp_...") as client:
result = client.scan(
"https://github.com/owner/repo",
skill_path="skills/example",
)
print(result.status)
Methods
| Method | Use case |
|---|---|
query(...) |
Check whether SkillPlus already has a report for a skill. |
scan(...) |
Request a scan when a report is missing or when a fresh check is needed. |
get_report(scan_id) |
Retrieve structured report data for dashboards, registries, or automation. |
get_badge(scan_id) |
Fetch the badge SVG for embedding. |
get_badge_url(scan_id) |
Generate a badge URL for READMEs, marketplaces, or internal portals. |
Error handling
from skillplus import SkillPlus, SkillPlusError
client = SkillPlus(api_key="skp_...")
try:
result = client.query("https://github.com/owner/repo")
except SkillPlusError as error:
print(error.status_code)
print(error.message)
Development
uv sync --extra dev
uv run pytest
uv run python -m build
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
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 skillplus-0.1.0.tar.gz.
File metadata
- Download URL: skillplus-0.1.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c6d5a953b3af48279533904ce5cedac2d36245897d4b38abe1e1800807d21c5
|
|
| MD5 |
7351c337bed4033a1f8add66c8ed2e9a
|
|
| BLAKE2b-256 |
a10ccee3c539d4c89de111d51dbbab6737051d92c10036404bfd9dbec8e24f05
|
File details
Details for the file skillplus-0.1.0-py3-none-any.whl.
File metadata
- Download URL: skillplus-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79bd3a8b22ea79bf5fefbb21f40342e4273d8ccd64608ec2e25cf1a84a7f4093
|
|
| MD5 |
f2f39dee1d03224a24448fd6c6bfe9fb
|
|
| BLAKE2b-256 |
0ee692556b89ef2f63f78c5d590c60817ba7220659f33028d669e0f3e5bfaa66
|