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.

Metadata

Release files for skill-trivium 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skill-trivium 1.0.0
File Size Uploaded
skill_trivium-1.0.0.tar.gz 35.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for skill-trivium 1.0.0
File Interpreter ABI Platform
skill_trivium-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 78.7 kB

Release files / skill_trivium-1.0.0.tar.gz

Download URL skill_trivium-1.0.0.tar.gz
Size 35.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ebeb88e77f1bd3208a8e6c69dc48bb5ac708b0e3901e24b9d3d5900896d71729
BLAKE2b-256 checksum
How to use checksums
4f7f95d759b1337b19d61c3c3953168e526669fc685fa0207263f6a27cf5ddec
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / skill_trivium-1.0.0-py3-none-any.whl

Download URL skill_trivium-1.0.0-py3-none-any.whl
Size 43.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa1d1d9898eb13c42510afee174b8042e436b6df4fba8d9dff601c9e8242d371
BLAKE2b-256 checksum
How to use checksums
8277cbd91fef96749c3e06761c9ab406add58f04232ff75e9f8c98f8ce0ef603
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release 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