ai-catalog-cli

Command-line tool for inspecting, validating, and packaging
AI Catalog documents.
The crate is named ai-catalog-cli; the installed binary is ai-catalog.
Install
On macOS and Linux, install from the tap in this repository:
brew tap Agent-Card/ai-catalog-cli https://github.com/Agent-Card/ai-catalog-cli
brew trust Agent-Card/ai-catalog-cli
brew install ai-catalog
To pin a minor version, install its versioned formula. It is keg-only, so run it by path or link it:
brew install [email protected]
"$(brew --prefix [email protected])/bin/ai-catalog" --version
On Windows, install with WinGet:
winget install --id AgentCard.AICatalog --exact
Open a new terminal afterwards so the ai-catalog command is on your PATH.
Upgrade later with winget upgrade --id AgentCard.AICatalog --exact.
Prebuilt binaries for Linux, macOS, and Windows are attached to each
release. Download the
archive for your platform, verify it against the accompanying .sha256 file,
and place ai-catalog on your PATH:
VERSION=v0.1.0
NAME=ai-catalog-darwin-arm64 # see the release page for other platforms
BASE=https://github.com/Agent-Card/ai-catalog-cli/releases/download/$VERSION
curl -fsSLO "$BASE/$NAME.tar.gz" -O "$BASE/$NAME.sha256"
shasum -a 256 -c "$NAME.sha256"
tar -xzf "$NAME.tar.gz"
install -m 0755 ai-catalog /usr/local/bin/
Linux archives come in gnu (glibc 2.28 or newer) and musl (statically
linked) flavours; pick musl for Alpine or other non-glibc distributions.
With a Rust toolchain installed:
cargo install ai-catalog-cli
From a checkout of this repository:
cargo install --path .
Or run without installing, replacing ai-catalog with cargo run -- in any
example below:
cargo run -- --help
Agent skill
SKILL.md follows the Agent Skills standard
and teaches an AI agent to use this CLI to discover, inspect, and install AI
artifacts from a catalog. It requires the ai-catalog binary on PATH.
Each skill is loaded from a directory named after it, so install it as:
mkdir -p ~/.agents/skills/ai-catalog-cli
cp SKILL.md ~/.agents/skills/ai-catalog-cli/
~/.agents/skills/ is read by Cursor, Copilot, VS Code, Codex, and Gemini CLI.
For Claude Code, use ~/.claude/skills/ instead.
Install as a plugin
The repository also provides a Claude-compatible plugin marketplace at
.claude-plugin/marketplace.json. Its ai-catalog-cli plugin loads the existing
skill from plugins/ai-catalog-cli/skills/ai-catalog-cli/SKILL.md. This is a
generated copy of the canonical root SKILL.md: after editing the root file,
run just sync-plugin-skill. CI runs the equivalent of just check-plugin-skill
and rejects stale or missing copies. The plugin includes a portable Agent
Plugins manifest and a Claude Code compatibility manifest.
Installing the plugin does not install the ai-catalog binary; install it as
described above.
Register the marketplace directly from GitHub and install the plugin; no manual
checkout is needed:
| Host | Register marketplace | Install plugin |
|---|
| Claude Code | claude plugin marketplace add Agent-Card/ai-catalog-cli | claude plugin install ai-catalog-cli@ai-catalog |
| GitHub Copilot CLI | copilot plugin marketplace add Agent-Card/ai-catalog-cli | copilot plugin install ai-catalog-cli@ai-catalog |
| Codex CLI | codex plugin marketplace add Agent-Card/ai-catalog-cli | codex plugin add ai-catalog-cli@ai-catalog |
The @ai-catalog suffix is the marketplace name defined in marketplace.json,
not the GitHub organization. For local testing, replace Agent-Card/ai-catalog-cli
with . when registering the marketplace from a checkout.
Restart the host after installation to load the skill.
Development
just build # cargo build
just lint # fmt --check + clippy -D warnings
just test # cargo test
just coverage # llvm-cov summary