Skip to main content

A minimal CLI for managing AI agent skills

Project description

trivium

A CLI for installing, updating, and scaffolding AI agent skills that follow the Agent Skills Specification.

demo

Requirements

  • Python >=3.13
  • uv

Installation

Install globally with uv:

uv tool install skill-trivium

Or use directly with uvx:

uvx --from skill-trivium trv

Or add an alias for convenience:

# For bash
echo "alias trv='uvx --from skill-trivium trv'" >> ~/.bashrc
# For zsh
echo "alias trv='uvx --from skill-trivium trv'" >> ~/.zshrc

The command is trv after tool installation.

Getting Help

Every command and subcommand in trv comes with a built-in help menu. You can append --help or -h to any command to see the full list of arguments, options, and short flag abbreviations.

trv --help
trv add -h
trv init --help

Quick Start

# Install skills from a git repository
trv add https://github.com/example/skills.git --all

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

# List installed skills
trv list

# Update installed skills
trv update

# Create a new skill scaffold
trv init my-skill

By default, trv uses project mode in the current directory. If you are inside a git repository, the project root is the git root. If you are not in a git repository, the project root is simply your current working directory. Use --global or -g when you explicitly want ~/.agents/skills/.

Commands

add - Install skills

# Install all skills from repo (long or short flags)
trv add <url> --all
trv add <url> -a

# Install specific skills
trv add <url> --skills name1 name2
trv add <url> -s name1 name2

# Use explicit skills directory
trv add <url> -a --path skills/
trv add <url> -a -p skills/

# Preview without installing
trv add <url> -a --dry-run
trv add <url> -a -n

# Install to ~/.agents/
trv add <url> -a --global
trv add <url> -a -g

Note: Options can be placed before or after the URL. All these are valid:

  • trv add https://example.com/repo.git --all
  • trv add --all https://example.com/repo.git

update - Update installed skills

trv update                 # Update all skills
trv update skill1 skill2   # Update specific skills
trv update -n              # Preview without updating (--dry-run)
trv update -g              # Update global skills (--global)

list - List installed skills

trv list          # Show skills table
trv list --json   # Output as JSON

info - Show skill details

trv info skill-name

remove - Remove skills

trv remove skill1 skill2   # Remove specific skills
trv remove -a              # Remove all skills (--all)
trv remove -a -y           # Skip confirmation (--yes)

init - Create a new skill

trv init my-skill           # Minimal scaffold
trv init my-skill --full    # Include scripts/, references/, assets/

Project vs Global Mode

Project mode (default):

  • Skills install to .agents/skills/
  • Metadata stored in skills.lock
  • If you are in a git repo, the git root is used
  • If you are not in a git repo, the current working directory is used

Global mode (with --global):

  • Skills install to ~/.agents/skills/
  • Available across all projects

What is skills.lock?

skills.lock records where each skill came from:

  • Source repository URL
  • Commit hash
  • Per-skill content hash
  • Skill metadata (description, license, compatibility)

This enables trv update to fetch newer versions from the original sources.

Project details


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-0.2.0.tar.gz (15.7 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-0.2.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skill_trivium-0.2.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d27693cf2b7546fd2e91eb0e215089fbd11adf849affdde0fbfeda415c2043d2
MD5 02daf9bd9e9d9bdb5cf6113e58b44ad6
BLAKE2b-256 70f667412f6f1a24267efed407d32535c51749aa3b1a0200b65944bc1d222dca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skill_trivium-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e2a3b0d3db4337ec32f905d1625b2770f9886bbe743e1c196691bebc0be98b2
MD5 04a113bbc6b1edd6e94082836abaa83c
BLAKE2b-256 667785b5b02212d855485f8d69bea0e94350de270a6655b4824e464e3f1efaa2

See more details on using hashes here.

Supported by

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