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

IBM Cloud CLI

$ ibmcloud Official High Risk
IBM · Cloud & Infra · Proprietary · macos / linux / windows

IBM Cloud CLI (ibmcloud) manages IBM Cloud accounts, VPC, Red Hat OpenShift, and Watsonx services via a core binary plus modular plugins, supporting --output JSON, -q (--quiet), and -f (--force) flags.

FCRS-1.0 Score
77 /100
Good
Medium Confidence
Zero-Friction Install
brew install --cask ibm-cloud-cli
CLI vs MCP Decision CLI Preferred vs MCP

ibmcloud supports --output JSON across core and official plugins, avoiding custom MCP wrappers for IBM Cloud.

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 19 / 25

Core commands and official plugins support --output JSON and -q, though plugin installation state must be verified first.

  • Supports --output JSON, -q, and --no-version-check
Trust & Safety 18 / 25

Supports IBMCLOUD_API_KEY headless auth and resource-group targeting, but lacks a universal --dry-run flag.

  • Explicit ibmcloud target resource-group scoping
Setup & Portability 11 / 15

Cross-platform installers exist, but domain commands require installing extra plugins (ibmcloud plugin install).

  • Modular plugin architecture adds setup steps
Utility & Efficiency 12 / 15

Broad IBM Cloud coverage once required service plugins are installed.

  • Covers IAM, VPC, IKS, and OpenShift via plugins
Maintenance & Lineage 9 / 10

Official IBM-maintained CLI with regular release cadence.

  • First-party IBM Cloud CLI
Docs & Verifiability 8 / 10

Comprehensive online docs and built-in --help per installed plugin.

  • IBM Cloud CLI documentation portal

Security, Auth & Guardrails

Auth Modes
Env API Key OAuth Browser Config File
Credential Storage

Stores session tokens and target region/resource group in ~/.bluemix/config.json, or authenticates headlessly via IBMCLOUD_API_KEY.

Side Effects
Read-Only Local Write Remote Write Destructive Billing Impact
Cost & Quotas

CLI is free to download; IBM Cloud resource actions incur account billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# ibmcloud Agent Rules
- Run `ibmcloud target --output JSON` first to verify account, region, and resource group.
- Always pass `--output JSON` and `-q` (`--quiet`) to suppress interactive noise.
- Never run `delete` commands with `-f` unless explicitly approved.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check current IBM Cloud target and region
ibmcloud target --output JSON

Verifies active account, region, and resource group before running commands.

List available IBM Cloud resource groups
ibmcloud resource groups --output JSON

Emits resource groups and quotas as JSON.

Strengths for Agents

  • + Consistent --output JSON across core and service plugins.
  • + Clean ibmcloud target scoping for accounts, regions, and resource groups.
  • + Supports headless API key login via IBMCLOUD_API_KEY.

Caveats & Pitfalls

  • ! Many services (VPC, Kubernetes) require separate ibmcloud plugin install steps.
  • ! Proprietary binary distribution with no universal --dry-run flag.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI