Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Zendesk CLI (zcli)

$ zcli Official Med Risk
Zendesk · Workspace & SaaS · Apache-2.0 · macos / linux / windows

Zendesk CLI (zcli) replaces legacy ZAT tools for developing Zendesk Apps Framework (ZAF) apps and Guide Help Center themes. It handles manifest validation, zip packaging, and theme previews, though it is app/theme-centric and relies on keychain or env-var credentials.

FCRS-1.0 Score
76 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g @zendesk/zcli
CLI vs MCP Decision CLI Preferred vs MCP

Use zcli for ZAF app validation, packaging, and Help Center theme deployment; direct ticket triage uses Zendesk Support REST APIs.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

Supports ZENDESK_* env vars for CI, but lacks universal --json output and some apps:* / themes:* commands prompt interactively.

  • Env-var authentication avoids interactive zcli login
  • Human-formatted stdout without --json
Trust & Safety 18 / 25

Local apps:validate and apps:package are safe; remote theme publishing and app updates mutate live support portals.

  • OS keychain storage via keytar or scoped env tokens
  • No dry-run flag on themes:publish or apps:update
Setup & Portability 12 / 15

Distributed on npm (@zendesk/zcli), though native keytar dependencies can occasionally require build tools on minimal Linux containers.

  • npm install -g @zendesk/zcli
Utility & Efficiency 12 / 15

Standardizes ZAF app validation/packaging and Guide theme workflows.

  • Official replacement for deprecated Ruby-based ZAT
Maintenance & Lineage 9 / 10

Official Zendesk repository (zendesk/zcli) under Apache-2.0.

  • Official Zendesk GitHub organization
Docs & Verifiability 8 / 10

Documented in Zendesk Developer Portal with command examples.

  • Official docs at developer.zendesk.com

Security, Auth & Guardrails

Auth Modes
Env API Key OAuth Browser OS Keychain Config File
Credential Storage

Stores credentials via OS keychain (keytar) or reads ZENDESK_SUBDOMAIN, ZENDESK_EMAIL, and ZENDESK_API_TOKEN environment variables.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

CLI is free (Apache-2.0); Zendesk sandboxes are included on eligible Suite plans.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Zendesk zcli Agent Rules
- Point `ZENDESK_SUBDOMAIN` to a Zendesk sandbox instance during automated runs.
- Always run `zcli apps:validate` and `zcli apps:package` locally before `zcli apps:create` or `zcli apps:update`.
- Never run `zcli themes:publish` on a live Help Center brand without human approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

Validate a Zendesk ZAF app manifest
zcli apps:validate

Validates the local Zendesk app directory and manifest against Zendesk rules.

List installed Zendesk Guide themes
zcli themes:list --brandId=<BRAND_ID>

Lists Help Center themes associated with a specific Zendesk brand.

Controlled Writes & Previews

Package a Zendesk app archive locally
zcli apps:package

Validates and creates a deployable zip archive locally without uploading to Zendesk.

Strengths for Agents

  • + Local zcli apps:validate and zcli apps:package catch manifest errors before upload.
  • + Supports headless CI authentication via ZENDESK_SUBDOMAIN, ZENDESK_EMAIL, and ZENDESK_API_TOKEN.
  • + Cleanly replaces legacy Ruby ZAT tooling with a unified Node.js/oclif CLI.

Caveats & Pitfalls

  • ! Lacks --json output formatting for structured agent parsing.
  • ! Does not manage Zendesk support tickets—strictly scoped to apps and Help Center themes.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI