TraceMantle
TraceMantle checks SKILL.md files, the instruction files that tell AI agents when and how to perform a task. Developers who write or maintain agent skills use it to catch broken files before commit or CI. It reports:
- Invalid metadata: malformed YAML frontmatter, or a missing or invalid
nameordescription. - Missing files: links in a skill to helpers that do not exist.
- Advice on size, description wording, and documented agent differences. This is guidance, not proof that a skill runs in any agent.
Quick start
You need Python 3.10 or later; 3.11 or later is recommended. In an empty directory, create a virtual environment, install the published release, and add a directory for the example skill.
macOS or Linux:
python3 -m venv .venv
source .venv/bin/activate
python -m pip install tracemantle==1.9.0
mkdir hello
Windows PowerShell:
py -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install tracemantle==1.9.0
mkdir hello
If PowerShell blocks the activation script, skip it and run .venv\Scripts\python and .venv\Scripts\tracemantle in place of python and tracemantle.
Save this file as hello/SKILL.md. The directory name must match name.
---
name: hello
description: Generates conventional commit messages from staged git diffs, enforcing semantic versioning conventions. Use this skill whenever the user needs a commit message, mentions conventional commits, or has staged changes ready to commit.
---
Read the staged diff and write a conventional commit message.
Validate it:
tracemantle hello/SKILL.md
✔ PASS hello/SKILL.md
· info description.quality-score Description quality score: 95/100.
Checked 1 file: 1 passed, 0 failed
PASS and exit status 0 mean the file has no errors. To check your own skill, substitute its path. Installation downloads packages; default validation then runs locally with no network calls and no account.
Read results and run common tasks
Errors are defects such as invalid frontmatter or a missing file. Warnings do not fail a run by default. Info lines, including the description score, are heuristic advice.
The exit status decides success: 0 for success, 1 for errors, 2 for a bad path or configuration. With --strict, warnings also return 1, even though a file with no errors is still labeled PASS.
For example, adding [commit checklist](checklist.md) to the skill without creating that file fails with exit status 1 (excerpt):
✗ FAIL hello/SKILL.md
line 8 ✗ error references.broken-link Referenced file does not exist: 'checklist.md'.
Create hello/checklist.md or remove the link, then rerun.
| Task | Command |
|---|---|
| Check every skill under a directory | tracemantle hello/ |
| Fail on warnings too | tracemantle hello/ --strict |
Get JSON, with the decision in gate.passed |
tracemantle hello/ --format json |
| List all options | tracemantle --help |
Passing static validation does not prove that a skill behaves correctly in a live agent.
Optional evidence checks
When a helper file changes, an earlier test result may no longer cover the current skill. TraceMantle can identify a skill's content and dependencies and compare imported results against a policy your team approves. The evidence workflow covers setup and approval. Imported evidence records what another tool reported; it does not prove correctness on its own.
Selective reuse of earlier results is experimental. In the maintainers' one workflow study, it saved no time and justified no more skips than a simple cache.
Guides and project information
- Getting started: more examples with expected output.
- CI setup: validate skills on pull requests.
- Evidence checks: detect helper changes.
- CLI reference: options, configuration keys, and rule IDs.
- Troubleshooting: diagnostics and exit codes.
Contribute · Security · Report an issue · Changelog · MIT license
Maintained by moonrunnerkc.
Metadata
Release files for tracemantle 1.9.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 | Provenance | Actions |
|---|---|---|---|---|
| tracemantle-1.9.0.tar.gz | 11.3 MB | With provenance | Details for tracemantle-1.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tracemantle-1.9.0-py3-none-any.whl | Python 3 | none | any | Details for tracemantle-1.9.0-py3-none-any.whl |
Total release size: 11.5 MB
Release files / tracemantle-1.9.0.tar.gz
| Download URL | tracemantle-1.9.0.tar.gz |
|---|---|
| Size | 11.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
644ba13cad35674a724b1b75b84f26bef9916259801ccc2bdc5699182cde9242
|
|
BLAKE2b-256 checksum How to use checksums |
b07d5d1fcdcb9ac733d5e9cf59fc50762c9f696416cc66d083ceaf47e93d27da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 25, 2026.
Transparency logRelease files / tracemantle-1.9.0-py3-none-any.whl
| Download URL | tracemantle-1.9.0-py3-none-any.whl |
|---|---|
| Size | 182.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81786d3e6f246ff7d30d4388f4c43546960eebeb97f4b4d4139694ad9f2c5cd4
|
|
BLAKE2b-256 checksum How to use checksums |
e9e6d6c6ac4135306a47ff2ef99f49013535b64776dd00c22f636dccc93f373b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 25, 2026.
Transparency logSecurity for tracemantle 1.9.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.
Attestation for tracemantle-1.9.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 25, 2026.
Transparency logA 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.