Reference
pack.toml
A pack's manifest, at the root of the pack's directory, naming the pack and the systems, programs, variables and MCP servers it needs.
| File type | Location |
|---|---|
| TOML | <pack dir>/pack.toml, such as github/pack.toml in a packs repository |
Fields
The file version the manifest is written in. Omitted means 1.
The pack's name, which installs it as [packs.<name>] and prefixes its items as <name>__<kind>__<item>. Lowercase letters, digits and single underscores, starting with a letter, at most 20 characters. user, plan, agent, builtin, workbench and pack are reserved.
What the pack does, in one sentence. Must not be empty.
The pack's license, such as MIT.
Where to read about the pack, such as its directory in the repository.
What the pack needs to run. dive and os are checked when the pack is installed or loaded, and a mismatch refuses it. binaries, env and mcp are reported by dive config check, and a plan run that reaches the pack fails before its first step when one is missing.
The Dive versions the pack works with, as a semver requirement such as ">=0.15".
The systems the pack runs on, macos, linux or both. dive pack check refuses a pack that leaves it empty.
Programs the pack's tools run, which must be on PATH.
Environment variables the pack's tools read, which must be set and not empty, either in the environment or in the OS credential store.
MCP servers the pack's plans and agents call, as [requires.mcp.<name>], where <name> is the [mcp.<name>] server their calls use, as in <name>__<tool>. dive pack check checks each call against the server when one is configured under that name.
The name the server reports for itself.
The server versions the pack works with, as a semver requirement.
The server's URL, shown in the error when no [mcp.<name>] is configured.
description = "Read and comment on pull requests, releases and git history."
homepage = "https://github.com/loon-rocks/packs/tree/main/github"
license = "MIT"
name = "github"
version = 2
[requires]
binaries = ["bash", "git", "gh", "jq"]
dive = ">=0.15"
os = ["macos", "linux"]