Skip to main content

ktl

The six Knowledge Trust Ladder (KTL) agent skills, and a command that installs them for GitHub Copilot, Claude Code, Codex or any other agent that reads skill folders, and sets the GitHub settings their workflows need. The skills keep a LOKF knowledge bundle beside a repository true, and record who checked each claim. The KTL site says what each skill does.

The package has no dependencies and needs Python 3.9 or later.

Install the skills

Install all six for your user:

uvx ktl skills install --scope user

That installs for GitHub Copilot, as gh skill install does. For Claude Code or Codex, add --agent claude-code or --agent codex. --scope takes user or project, and project means the top folder of the repository you are in. For any other agent, give the folder it reads with --dest. To install one skill, add --skill ktl-docent. To pin a version, write ktl@X.Y.Z in place of ktl, or ktl==X.Y.Z to pip. The six skills are released together, so one version pins them all. To update, run the command again as uvx ktl@latest, or uv tool upgrade ktl where uv tool install put the package.

Without uv, pipx does the same:

pipx run ktl skills install --scope user

python3 -m pip install --user ktl, then python3 -m ktl skills install --scope user, works where the system lets pip install for a user. Debian, Ubuntu and Homebrew refuse it.

Check what is installed

ktl skills status says, for each folder an agent reads at project and user scope, whether each KTL skill there is the same as this package's, and names each file that differs. A copy gh skill install made counts as the same when only gh's own rewrite of its SKILL.md differs. It exits 1 when a copy differs, so a script can act on it. --dest checks one folder.

Set the GitHub settings

The workflows the skills install read repository variables, secrets kept in Environments, and a few repository settings. ktl gh compares what each skill's catalogue asks for with a repository's settings, through the GitHub CLI and your own login, and sets what is missing:

uvx ktl gh plan              # what is missing, and why; changes nothing
uvx ktl gh apply             # the Environments, their branch rules, and the values a catalogue gives
uvx ktl gh secrets           # each secret, asked for without an echo
uvx ktl gh enable librarian  # one switch, once what it needs is in place
uvx ktl gh prune             # the variables a release retired

Run it in a clone, or name a repository with --repo owner/name. It needs gh auth login and admin rights on the repository. apply never loosens a setting and never turns a switch on, and each verb that changes something prints the change and asks first. Turn on the workflows says what each workflow needs, and links the page on each verb.

Other installers

ktl skills path prints the folder that holds the skills. It is the argument for the installers that take a local folder:

gh skill install "$(ktl skills path)" --from-local --all --scope user --agent github-copilot
npx skills add "$(ktl skills path)" --global --yes

The package folder is also a Claude Code plugin marketplace. Install the package with uv tool install ktl first, so that the folder stays in place, then:

claude plugin marketplace add "$(ktl skills path --marketplace)"
claude plugin install knowledge-trust-ladder@knowledge-trust-ladder

ktl skills names the six skills. The package also goes by the repository's name: knowledge-trust-ladder installs ktl at the same version. Each release's files can be rebuilt from its tag and compared byte for byte, as the release page says. The install page gives every other route, and what each skill needs on the machine.

Metadata

Release files for ktl 0.65.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ktl 0.65.0
File Size Uploaded Provenance Actions
ktl-0.65.0.tar.gz 829.0 kB With provenance Details for ktl-0.65.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ktl 0.65.0
File Interpreter ABI Platform Actions
ktl-0.65.0-py3-none-any.whl Python 3 none any Details for ktl-0.65.0-py3-none-any.whl

Total release size: 1.8 MB

Release files / ktl-0.65.0.tar.gz

Download URL ktl-0.65.0.tar.gz
Size 829.0 kB
Tags Source
SHA-256 checksum
How to use checksums
543a4fd9589e34a3677b2efc4d7e64167da7609c4aa159c1c2580824599c72f9
BLAKE2b-256 checksum
How to use checksums
270f0ff8e8cfa0661ee90b79e0eabeef8b3c8d0adcee60f3c326a48be690ad73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / ktl-0.65.0-py3-none-any.whl

Download URL ktl-0.65.0-py3-none-any.whl
Size 939.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2c28e28ea217169854460cf75c74756379bd581345500f90e490344acf117a3
BLAKE2b-256 checksum
How to use checksums
3e389058cdc4d4aa845b9411dc319351fc701d4f88230039764aba8de5f98034
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for ktl 0.65.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ktl-0.65.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page