Trivium
Install and manage Agent Skills from Git repositories.
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.
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebeb88e77f1bd3208a8e6c69dc48bb5ac708b0e3901e24b9d3d5900896d71729
|
|
| MD5 |
14fd09aa6b5a4dacc0358af075a06500
|
|
| BLAKE2b-256 |
4f7f95d759b1337b19d61c3c3953168e526669fc685fa0207263f6a27cf5ddec
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa1d1d9898eb13c42510afee174b8042e436b6df4fba8d9dff601c9e8242d371
|
|
| MD5 |
302192fbd9b5ea37c2f4836848a90c55
|
|
| BLAKE2b-256 |
8277cbd91fef96749c3e06761c9ab406add58f04232ff75e9f8c98f8ce0ef603
|