Skip to main content

Trivium

Trivium logo

Install and manage Agent Skills from Git repositories.

Tests PyPI Python 3.13+ Apache-2.0

trivium pins installed skills to exact Git commits, records their state in a lockfile, and lets you save and switch between named skill environments. It manages skill directories on disk without coupling your setup to a specific agent runtime or framework.

Demo of installing Agent Skills with trivium

Why trivium?

  • Pinned Git sources: Install skills from exact commits for predictable, reproducible setups.
  • Lockfile tracking: Record installed skills and their source metadata in skills.lock.
  • Project-local or global installs: Manage skills for one project or for your user account.
  • Safe updates: Preview add and update operations with dry runs.
  • Named environments: Save and switch between repeatable skill configurations.
  • Filesystem safety: Validate lockfiles, block unsafe paths, and use atomic writes.

Install

Install trivium with uv:

uv tool install skill-trivium

Or run it without installing:

uvx --from skill-trivium trv --help

Quick start

From the root of your project, install every skill from a Git repository:

trv add https://github.com/example/skills.git --all

Install selected skills:

trv add https://github.com/example/skills.git \
  --skills pdf-processing algorithmic-art

Inspect the current installation:

trv list
trv info skill-name

Preview and apply updates:

trv update --dry-run
trv update

Save and switch between named skill environments:

trv env create focused-work
trv env list
trv env activate focused-work

By default, project-local skills are installed under .agents/skills/ and recorded in skills.lock at the project root.

Commit skills.lock to version control when you want collaborators and CI environments to reproduce the same skill configuration.

Use --global to manage user-wide skills under ~/.agents/skills/.

Target a different agent directory with --dir, and move an existing install with trv move:

trv add https://github.com/example/skills.git --all --dir .claude
trv move .cursor

The choice is recorded in skills.lock, so later commands reuse it without the flag. Set TRIVIUM_AGENT_DIR to change the default for new installs.

Remove individual skills or clear the installation:

trv remove skill-name
trv remove --all --yes

Documentation

Full documentation is available at alapinenjoyer.github.io/trivium.

It covers installation, commands, named environments, the lockfile format, and filesystem safety guarantees.

Development

uv sync
make test

The project requires Python 3.13 or later.

Contributions and bug reports are welcome through GitHub Issues.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skill_trivium-1.0.0.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

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

skill_trivium-1.0.0-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

Details for the file skill_trivium-1.0.0.tar.gz.

File metadata

  • Download URL: skill_trivium-1.0.0.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for skill_trivium-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ebeb88e77f1bd3208a8e6c69dc48bb5ac708b0e3901e24b9d3d5900896d71729
MD5 14fd09aa6b5a4dacc0358af075a06500
BLAKE2b-256 4f7f95d759b1337b19d61c3c3953168e526669fc685fa0207263f6a27cf5ddec

See more details on using hashes here.

File details

Details for the file skill_trivium-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: skill_trivium-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for skill_trivium-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa1d1d9898eb13c42510afee174b8042e436b6df4fba8d9dff601c9e8242d371
MD5 302192fbd9b5ea37c2f4836848a90c55
BLAKE2b-256 8277cbd91fef96749c3e06761c9ab406add58f04232ff75e9f8c98f8ce0ef603

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page