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

Smallstep CLI

$ step Official Med Risk
Smallstep · Security & Secrets · Apache-2.0 · macos / linux / windows

step brings human-friendly subcommands and --format json output to X.509 certificates, remote TLS endpoints, SSH certificates, and JWTs. It cleanly replaces openssl x509 / s_client stdin hacks for agents while supporting local dev CA creation.

FCRS-1.0 Score
86 /100
Good
Medium Confidence
Zero-Friction Install
brew install step
CLI vs MCP Decision CLI Preferred vs MCP

step certificate inspect --format json gives clean structured TLS/X.509 parsing locally in one command without MCP.

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

Supports --format json on certificate inspect and jwt inspect, plus non-interactive --no-password flags.

  • Native --format json on certificate/JWT inspection; hang-free HTTPS inspection
Trust & Safety 20 / 25

Inspection commands are read-only; certificate/key creation requires explicit --no-password --insecure flags when generating unencrypted dev keys.

  • Safe defaults prompt for key encryption unless --no-password --insecure is explicit
Setup & Portability 13 / 15

Single Go binary via brew, go install, Docker, and GitHub releases.

  • Cross-platform static binary
Utility & Efficiency 13 / 15

Replaces fragile openssl + jq/awk parsing pipelines for TLS, X.509, OAuth/JWT, and SSH certs.

  • Unified TLS, X.509, JWT, and crypto inspection
Maintenance & Lineage 9 / 10

Actively maintained by Smallstep (smallstep/cli) under Apache-2.0.

  • Official vendor-backed OSS repository
Docs & Verifiability 9 / 10

Clear command reference and examples at smallstep.com/docs/step-cli/.

  • Well-documented CLI reference and --help

Security, Auth & Guardrails

Auth Modes
No Auth Config File OAuth Browser
Credential Storage

Offline inspection requires no auth; CA/ACME client state and root certs live under ~/.step/.

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

100% free and open-source (Apache-2.0); Smallstep Certificate Manager SaaS is commercial.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Smallstep CLI (step) Agent Rules
- Prefer `step certificate inspect --format json` over `openssl s_client` for clean, hang-free TLS/X.509 diagnostics.
- Remember `--insecure` on `step crypto jwt inspect` skips signature verification—use `--jwks` or `--key` when validating authenticity.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect a remote HTTPS endpoint certificate as JSON
step certificate inspect https://example.com --format json

Connects, fetches the TLS leaf certificate without stdin hangs, and outputs structured JSON.

Decode a JWT header and claims without trusting signature
step crypto jwt inspect --insecure < token.jwt

Decodes JWT JSON claims locally (--insecure skips signature check for inspection).

Controlled Writes & Previews

Generate a self-signed local development certificate
step certificate create localhost dev.crt dev.key --profile self-signed --subtle --no-password --insecure

Creates a local dev keypair non-interactively (--no-password --insecure) for test servers.

Strengths for Agents

  • + step certificate inspect --format json works directly on both PEM files and https:// endpoints without </dev/null hacks.
  • + Clean Go binary combining X.509, TLS, JWT, and local dev PKI ergonomics.

Caveats & Pitfalls

  • ! Key generation prompts for a passphrase unless --no-password --insecure is supplied explicitly.
  • ! Less likely to be preinstalled on minimal Linux containers than openssl.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI