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

ORAS CLI

$ oras Foundation Med Risk
CNCF / ORAS Project · Cloud & Infra · Apache-2.0 · macos / linux / windows

ORAS CLI (oras) pushes, pulls, discovers, and inspects arbitrary OCI artifacts (SBOMs, Helm charts, Wasm modules, Cosign referrers) in OCI registries without a Docker daemon, offering --format json on discover, manifest fetch, and repo tags.

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

oras inspects OCI referrers, manifests, and artifact graphs with --format json directly over OCI Distribution 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 21 / 25

Supports --format json on discover, repo ls, repo tags, and manifest fetch, running cleanly in headless shells.

  • Supports --format json across discovery and tag listing commands
Trust & Safety 20 / 25

Daemonless OCI client avoids host socket privileges; destructive manifest delete requires explicit --force.

  • Daemonless client; manifest delete requires --force
Setup & Portability 15 / 15

Single static Go binary available via Homebrew and GitHub releases across macOS, Linux, and Windows.

  • Static Go binary via brew install oras
Utility & Efficiency 12 / 15

Ideal for inspecting supply-chain referrers (SBOMs, attestations, Helm OCI charts) via OCI v1.1 APIs.

  • First-class OCI v1.1 Referrers API support
Maintenance & Lineage 9 / 10

CNCF incubating project (oras-project/oras) actively maintained under Apache-2.0.

  • Official CNCF oras-project/oras repository
Docs & Verifiability 8 / 10

Clean oras.land CLI documentation and --help reference.

  • Official docs at oras.land/docs/commands/oras/

Security, Auth & Guardrails

Auth Modes
Config File OS Keychain
Credential Storage

Reads registry credentials from ~/.docker/config.json or OS credential helpers configured via oras login.

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

100% open-source (Apache-2.0); registry storage and transfer depend on your OCI registry host.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# ORAS CLI Agent Rules
- Use `--format json` on `oras discover` and `oras repo tags` for reliable parsing.
- Use `oras manifest fetch` or `oras blob fetch --output -` for read-only inspection.
- Never run `oras manifest delete` or `oras push` without explicit user approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

Discover attached SBOMs and signatures as JSON
oras discover ghcr.io/org/app:v1.0 --format json

Queries OCI referrers attached to an artifact and emits the dependency graph as JSON.

Fetch an OCI manifest in JSON
oras manifest fetch ghcr.io/org/app:v1.0 --pretty

Downloads and pretty-prints the OCI manifest JSON without fetching blobs.

Strengths for Agents

  • + oras discover --format json cleanly traverses OCI SBOM and signature referrer trees.
  • + Daemonless Go binary works in restricted sandboxes.
  • + Destructive manifest delete enforces --force.

Caveats & Pitfalls

  • ! oras cp and oras push lack a --dry-run preview flag.
  • ! Some older registries lack full OCI v1.1 Referrers API support (requiring fallback behavior).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI