skillflag (Python)
Python implementation of the Skillflag convention: a minimal CLI interface for bundling, listing, and installing agent skills without a third-party registry.
This package ships:
- the embeddable producer library (
skillflag.maybe_handle_skillflag,skillflag.find_skills_root), - the standalone
skillflagbinary, - the
skill-installadaptor that installs exported skills into agent tools (Claude Code, Codex, Amp, Goose, and others).
Exports are byte-identical to the other Skillflag implementations (TypeScript, Go, Rust) — any producer can be paired with any installer.
Install
uv tool install skillflag
# or run one-off
uvx skillflag list
Embed in your CLI
import sys
from skillflag import SkillflagOptions, find_skills_root, maybe_handle_skillflag
maybe_handle_skillflag(
sys.argv,
SkillflagOptions(skills_root=find_skills_root(__file__)),
)
Then ship a skills/<skill-id>/SKILL.md directory in your package. Users install your skill with:
your-tool --skill export <id> | skill-install --agent claude --scope repo
Documentation
Development
cd python
uv sync
uv run ruff format --check . && uv run ruff check . && uv run pytest
License
Metadata
Release files for skillflag 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| skillflag-0.1.0.tar.gz | 34.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| skillflag-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.9 kB
Release files / skillflag-0.1.0.tar.gz
| Download URL | skillflag-0.1.0.tar.gz |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c84c7d294578f6d055b285ca448178e0c5f8c81d009c7bcf37f9cd343c9709c
|
|
BLAKE2b-256 checksum How to use checksums |
876af202dbbfe1deafbcadb98462cea1f01d278e9ba035def74c69f4f30c7744
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","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":true}
|
Release files / skillflag-0.1.0-py3-none-any.whl
| Download URL | skillflag-0.1.0-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab4e731e1cff5f64be7a5afd1feafd4bd1ab458060550498c482cbd4e5b47227
|
|
BLAKE2b-256 checksum How to use checksums |
728358692296cca2e430db48213d49007057087b581a1956428f55da0944b2f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","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":true}
|