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.70.4

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.70.4
File Size Uploaded Provenance Actions
ktl-0.70.4.tar.gz 863.1 kB With provenance Details for ktl-0.70.4.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / ktl-0.70.4.tar.gz

Download URL ktl-0.70.4.tar.gz
Size 863.1 kB
Tags Source
SHA-256 checksum
How to use checksums
21cd1e374e9ab9df8290eadb224daebb29ccc86dc252dd612594e122dfee7a0e
BLAKE2b-256 checksum
How to use checksums
23895038f1c2215ce79016654e1344df35d54ebcc7b3b1a69afc7e4b692d7a64
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 19, 2026.

Transparency log

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

Download URL ktl-0.70.4-py3-none-any.whl
Size 978.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b333329c414a2b39232ff750eaf0a45194c3eec21978a2468f07691beb639b26
BLAKE2b-256 checksum
How to use checksums
0bc89efe49379f9902d611f994a30a7a940e627be87fb9ac1db6055f268977da
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 19, 2026.

Transparency log

Security for ktl 0.70.4

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.70.4.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 19, 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