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

Skopeo

$ skopeo Official Med Risk
Containers · Cloud & Infra · Apache-2.0 · macos / linux / windows

Skopeo (skopeo) inspects, copies, syncs, and deletes OCI container images across remote registries, local Docker storage, and OCI layouts without requiring a running Docker daemon or root privileges. skopeo inspect and skopeo list-tags output structured JSON natively.

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

skopeo inspects remote image digests, tags, and labels as native JSON over HTTPS with zero daemon or MCP setup.

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

Native JSON output on inspect and list-tags, Go-template --format filtering, and clean non-TTY flags (--override-os, --override-arch).

  • skopeo inspect and list-tags output JSON by default
  • Supports -f / --format Go templates for field selection
Trust & Safety 21 / 25

Daemonless architecture avoids local root socket exposure, though skopeo delete and copy lack a --dry-run flag.

  • Zero daemon/root socket required for remote inspection
  • skopeo delete has no --dry-run preview
Setup & Portability 14 / 15

Available via Homebrew, Linux distro packages, and release binaries across macOS, Linux, and Windows.

  • Single Go binary installable via brew install skopeo
Utility & Efficiency 14 / 15

Inspects manifests and copies multi-arch images across registries, tarballs, and OCI directories without pulling layers locally.

  • Supports docker://, oci:, docker-archive:, and dir: transports
Maintenance & Lineage 9 / 10

Maintained by the Containers organization (containers/skopeo) under Apache-2.0.

  • Official containers/skopeo repository
Docs & Verifiability 8 / 10

Detailed manpages and markdown docs in the upstream repository.

  • Manpages at github.com/containers/skopeo/tree/main/docs

Security, Auth & Guardrails

Auth Modes
No Auth Config File Env API Key
Credential Storage

Reads OCI auth from ${XDG_RUNTIME_DIR}/containers/auth.json or ~/.docker/config.json, or explicit --creds/--authfile.

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

100% open-source (Apache-2.0); remote registry bandwidth and storage follow your provider's pricing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Skopeo Agent Rules
- Default to `skopeo inspect` and `skopeo list-tags` with explicit `docker://` transport prefixes.
- Pin `--override-os` and `--override-arch` when inspecting multi-arch images.
- Never run `skopeo delete` without explicit tag/digest verification and user confirmation.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect remote OCI image metadata as JSON
skopeo inspect --override-os linux --override-arch amd64 docker://ghcr.io/org/app:latest

Fetches digest, created timestamp, architecture, labels, and layers in JSON without pulling the image.

List all tags in a remote repository as JSON
skopeo list-tags docker://docker.io/library/alpine

Returns the repository name and JSON array of published tags.

Controlled Writes & Previews

Mirror a multi-arch image between registries
skopeo copy --all docker://src.io/app:v1.2.0 docker://dst.io/app:v1.2.0

Copies all platform manifests and layers directly registry-to-registry without local daemon storage.

Strengths for Agents

  • + Outputs structured JSON by default on skopeo inspect and skopeo list-tags.
  • + Completely daemonless and rootless—works inside restricted CI and agent sandboxes.
  • + --format Go templates extract exact fields like {{.Digest}} without jq.

Caveats & Pitfalls

  • ! Requires transport prefixes (docker://, oci:) on every image reference.
  • ! skopeo copy and skopeo delete lack a --dry-run option.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI