Operating on Tier0 with Agents
Tier0 provides a set of skills and CLI commands for agents to operate on it.
Installing Tier0 Skills
Section titled “Installing Tier0 Skills”Required CLI version:
v0.4.6+
Choose the installer that matches your environment.
With Node.js
Section titled “With Node.js”If Node.js 16 or later is available, use npx to install the CLI and skills.
npx @tier0/cli@latestThis runs the full installer and does two things:
- Installs the
tier0CLI binary into~/.tier0/bin/. - Installs Cursor/Claude Agent Skills from
FREEZONEX/Tier0-skill.
Without Node.js
Section titled “Without Node.js”-
Install the
tier0CLI binary.Terminal window curl -fsSL https://raw.githubusercontent.com/FREEZONEX/Tier0-cli/main/install.sh | bashTerminal window iwr https://raw.githubusercontent.com/FREEZONEX/Tier0-cli/main/install.ps1 | iex -
Install the Agent Skills.
Terminal window tier0 skills update
What the Tier0 Skill Can Do
Section titled “What the Tier0 Skill Can Do”The Tier0 Skills give agents a structured way to choose the right CLI command, read the matching reference, and operate Tier0 through the tier0 CLI.
Setting Operating Instance
Section titled “Setting Operating Instance”Private deployments must configure the base URL before login. Once it’s configured, all the following commands will be executed on that instance.
tier0 config --base-url https://your-tier0.example.comLogging In
Section titled “Logging In”-
Set the API key for the operating instance.
Terminal window tier0 config --api-key <api-key> -
Verify the API key identity and permissions.
Terminal window tier0 auth whoami -
Perform other operations with the
tier0CLI.
-
Start the browser login.
Terminal window tier0 login --no-wait --json -
Go through authentication on the browser by accessing the returned
verification_url. -
Poll for the login result with the returned
setup_code.Terminal window tier0 login --setup-code <setup_code>
Uninstalling Tier0 Skills
Section titled “Uninstalling Tier0 Skills”# Remove the Tier0 CLI while keeping local configuration.npx @tier0/cli@latest uninstall
# Remove the Tier0 CLI and delete local configuration, credentials, skills, and cache.npx @tier0/cli@latest uninstall --purgeSkill Reference
Section titled “Skill Reference”Tier0 Skill Reference lists the supported operation targets, common tasks, and matching CLI commands.
- Working with UNS Data — How to operate on your UNS model through MQTT and APIs.