Capability Format
Tuff discovers capabilities from directory structure and, optionally, a source
tuff.toml manifest. The manifest is not required — Tuff can infer
type, files, and metadata from the filesystem or from --type and --name
flags passed at install time.
Tracking metadata lives exclusively in tuff.lock and
the user cache directory. No tracking files are emitted into agent directories
(.agents/, .claude/). Tuff regenerates derived artifacts like
CAPABILITIES.md on demand with tuff generate index.
Discovery and auto-detection
Section titled “Discovery and auto-detection”Tuff infers capability type at tuff add time from:
- The
--typeflag (explicit):--type skill,--type tool, etc. - Parent directory name:
skills/orskill/→ skill,tools/ortool/→ tool - For git repositories: the cloned directory structure
When installing from a git URL, --name identifies the capability folder
inside the repository. Tuff searches both plural and singular directory
names (skills/<name>, skill/<name>, tools/, tool/
Installed output
Section titled “Installed output”For a skill with id = "python-uv-default", Tuff installs:
.agents/skills/python-uv-default/SKILL.mdIt records an install-time materialized-tree hash in tuff.lock; the disposable
verified tree cache is machine-global:
<user-cache>/tuff/sha256/a1/b2c3...Capabilities tracked from existing project files (e.g., scripts/deploy.sh)
are tracked in-place without copying. The lockfile records their source path:
[[capabilities]]name = "prod-deploy"type = "tool"source = "local"source_path = "scripts/deploy.sh"sha256 = "..."target = "open-agents"installed_path = ".agents/tools/prod-deploy"Where capabilities should live
Section titled “Where capabilities should live”Tuff core stays content-agnostic. Capabilities live in:
- the user project that owns the capability (any path in the repo)
- an external pack repository maintained by a person, team, or company
Runnable capability examples live under examples/<type>/, such as
examples/skills/ and examples/tools/. Test-only inputs belong under
tests/fixtures/.