Validate agent skills and check the evidence behind a release.
CLI reference · Report a bug or request a feature
About the project
TraceMantle is a Python CLI and library for checking agent skill bundles before they are committed or released. It provides:
- Skill validation: checks
SKILL.mdfrontmatter, file references, size limits and compatibility advice against the Agent Skills specification. - Bundle tracking: hashes skill files and packaged resources so helper changes are detected too.
- Evidence checks: imports evaluator results and compares bundles against trusted policies. Missing, stale or incompatible evidence blocks the gate.
TraceMantle analyzes files; it does not execute skills or evaluators. Static checks and imported model judgments do not prove that a skill works in a live agent.
Getting started
Requires Python 3.10 or later. Install in a virtual environment:
python -m venv .venv
source .venv/bin/activate
python -m pip install tracemantle==1.6.0
tracemantle --version
On Windows PowerShell, activate with .venv\Scripts\Activate.ps1. Replacing SkillCheck? Follow the migration guide before installing.
Usage
Validate a skill, scan a directory, or inspect a bundle:
tracemantle path/to/SKILL.md
tracemantle path/to/skills/ --strict --format json
tracemantle path/to/SKILL.md --analyze-graph
tracemantle manifest path/to/skill --format json
Validation exits 0 when it passes and nonzero on errors; --strict also fails on warnings. Text, JSON and GitHub annotation output are supported.
For release evidence, use import-evidence and compare with a trusted base revision and approved evidence. The evidence workflow covers setup, supported imports and runnable examples.
Configure defaults in tracemantle.toml or [tool.tracemantle] in pyproject.toml. Explicit CLI flags take precedence. Token counting uses an offline estimate by default; optional tiktoken counting must be selected explicitly.
See the CLI and configuration reference, compatibility profiles and input limits for details.
Integrations
Use the composite GitHub Action pinned to a release:
- uses: moonrunnerkc/tracemantle@v1.6.0
with:
path: skills/
Action inputs control validation and reporting. Versions before 1.6.0 contain the older SkillCheck implementation. A pre-commit hook, Python API and installed skill are also included.
Contributing
1168 tests cover validation, CLI integrations, bundle identity and evidence checks. CI runs Python 3.10 through 3.13 on Linux, macOS and Windows, plus optional-tokenizer and clean package-install checks.
See CONTRIBUTING.md for development setup and verification. Submit fixes through pull requests; use issues for bugs and proposals. Changes are recorded in the changelog.
License and contact
MIT. Maintained by moonrunnerkc, Aftermath Technologies Ltd.
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 tracemantle-1.6.0.tar.gz.
File metadata
- Download URL: tracemantle-1.6.0.tar.gz
- Upload date:
- Size: 389.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9a100cfc2b6cecece7b439d12b8bd47fe42d57048393c51b247d13dfc8b4049
|
|
| MD5 |
b8fe50d33509f765c81a03d8b092190b
|
|
| BLAKE2b-256 |
ce45ad539e66f678573e70c350e8d3c92f9a492ef8be1fd9d1be7af1230dd66f
|
Provenance
The following attestation bundles were made for tracemantle-1.6.0.tar.gz:
Publisher:
release.yml on moonrunnerkc/tracemantle
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tracemantle-1.6.0.tar.gz -
Subject digest:
c9a100cfc2b6cecece7b439d12b8bd47fe42d57048393c51b247d13dfc8b4049 - Sigstore transparency entry: 2812731434
- Sigstore integration time:
-
Permalink:
moonrunnerkc/tracemantle@3f0363cbc348be7f2d77bc3c0a5e2da19d9e7844 -
Branch / Tag:
refs/tags/v1.6.0 - Owner: https://github.com/moonrunnerkc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3f0363cbc348be7f2d77bc3c0a5e2da19d9e7844 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tracemantle-1.6.0-py3-none-any.whl.
File metadata
- Download URL: tracemantle-1.6.0-py3-none-any.whl
- Upload date:
- Size: 144.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ec4bf4f5e3fc3169f80643505028b29cb40ea72d668f54bfbfcd1120480b1fc
|
|
| MD5 |
3073320639ee95eb75f3ba1dc2229d1a
|
|
| BLAKE2b-256 |
35b8713d471e11d3d306de4c85c092818f668b9160826011dded1629caf24e27
|
Provenance
The following attestation bundles were made for tracemantle-1.6.0-py3-none-any.whl:
Publisher:
release.yml on moonrunnerkc/tracemantle
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tracemantle-1.6.0-py3-none-any.whl -
Subject digest:
0ec4bf4f5e3fc3169f80643505028b29cb40ea72d668f54bfbfcd1120480b1fc - Sigstore transparency entry: 2812731645
- Sigstore integration time:
-
Permalink:
moonrunnerkc/tracemantle@3f0363cbc348be7f2d77bc3c0a5e2da19d9e7844 -
Branch / Tag:
refs/tags/v1.6.0 - Owner: https://github.com/moonrunnerkc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3f0363cbc348be7f2d77bc3c0a5e2da19d9e7844 -
Trigger Event:
push
-
Statement type: