Skip to main content

TraceMantle

Validate agent skills and check the evidence behind a release.

CLI reference · Report a bug or request a feature

CI status MIT license
Contents
  1. About the project
  2. Getting started
  3. Usage
  4. Integrations
  5. Contributing
  6. License and contact

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.md frontmatter, 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

tracemantle-1.6.0.tar.gz (389.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tracemantle-1.6.0-py3-none-any.whl (144.5 kB view details)

Uploaded Python 3

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

Hashes for tracemantle-1.6.0.tar.gz
Algorithm Hash digest
SHA256 c9a100cfc2b6cecece7b439d12b8bd47fe42d57048393c51b247d13dfc8b4049
MD5 b8fe50d33509f765c81a03d8b092190b
BLAKE2b-256 ce45ad539e66f678573e70c350e8d3c92f9a492ef8be1fd9d1be7af1230dd66f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tracemantle-1.6.0.tar.gz:

Publisher: release.yml on moonrunnerkc/tracemantle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for tracemantle-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ec4bf4f5e3fc3169f80643505028b29cb40ea72d668f54bfbfcd1120480b1fc
MD5 3073320639ee95eb75f3ba1dc2229d1a
BLAKE2b-256 35b8713d471e11d3d306de4c85c092818f668b9160826011dded1629caf24e27

See more details on using hashes here.

Provenance

The following attestation bundles were made for tracemantle-1.6.0-py3-none-any.whl:

Publisher: release.yml on moonrunnerkc/tracemantle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.6.1

2 files

This release

1.6.0 This release

2 files

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