Reference
CLI reference
Reference for Fygment CLI commands: setup, install, check, update, readiness, lockfile, sync, doctor, and import.
- Audience
- Power users and workspace operators using Fygment from a terminal.
- Updated
- 2026-05-20
The CLI is the local bridge between a governed workspace and writable AI harness targets. Use it for setup, install state, update checks, setup checks, and selected imports.
Core commands
fygment setupCreate or refresh local configuration for a workspace and target harness.
fygment install <skill-slug>Install an approved Skill package into a configured local target.
fygment checkCompare local Skill installs with workspace-approved versions and policy decisions.
fygment updateApply approved package updates after check output shows a safe path forward.
fygment readiness --target=codexCheck that local auth, setup, target, import, and install state are ready.
Library and lockfile commands
fygment import github <url>Preview and import a selected public GitHub Skill candidate.
fygment lock writeWrite a Skills-only lockfile for reproducible local setup.
fygment sync --lock=fygment.lockSync local targets from an approved Skills-only lockfile.
fygment doctorDiagnose setup, auth, and target configuration issues.
Related docs
- Install Skills in Codex
Codex is a writable install target. Use the guided CLI path so Fygment can preview config changes and track install state.
- Install Skills in Claude-family tools
Claude-family setup follows the same workspace-approved package model as Codex, with local writes kept explicit and previewable.
- Set up Fygment MCP
MCP setup gives AI clients access to workspace-scoped Fygment tools. Hosted clients use OAuth; local clients use guided setup and a local authenticated proxy where needed.