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

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 when in a git repo):

  • Skills install to .agents/skills/
  • Metadata stored in skills.lock

Global mode (when not in a git repo, or 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
  • 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.1.2.tar.gz (14.3 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.1.2-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skill_trivium-0.1.2.tar.gz
  • Upload date:
  • Size: 14.3 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.1.2.tar.gz
Algorithm Hash digest
SHA256 6be275e37c4087e809103a800a8f668b4fb368de179c2afa5130137335713479
MD5 92d698ead83ad495a3fb562e544b08fb
BLAKE2b-256 fe67d7e6ae14738e0879dc7909021b4f15236a69cd0d1945d3a03c368a8f4ba7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skill_trivium-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.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.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a86e18361a0ffd7ffa43715ef8a5141428ca3b4111ed85df0cfac9728b7205d5
MD5 ee7559cb1d4812daecb0080dff71e919
BLAKE2b-256 c67182dc4451be2769ead133b2a15e6b8ce5443ab00ad56ddc9dac31ba2f5db2

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