/agentic-awesome-skills:oci-image-platform-auditfrom agentic-awesome-skills
Audits local OCI Image Layout v1.1.1 directories offline for index/manifest media types, blob digests/sizes, platform vs. config OS/arch/variant alignment, and non-image artifacts.
Ships in agentic-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Inspect local OCI Image Layout v1.1.1 directories strictly offline without starting a Docker daemon, pulling from remote registries, extracting filesystem layer tarballs, or executing containers. Verifies oci-layout, index.json, media types, sha256 blob existence and byte sizes, platform descriptor vs. image config os/architecture/variant alignment, duplicate/ambiguous platform entries, and non-image artifact descriptors.
Distinction from existing container and gateway skills:
unified-ai-gateway: verifies a pinned multi-platform MCP server digest using live docker pull --platform and container inspection commands rather than auditing raw local OCI Image Layout JSON/blobs.container-scanning and container-security-hardening: focus on vulnerability scanning (Trivy/Grype), Dockerfile hardening, seccomp/AppArmor, and Kubernetes pod security rather than OCI index/config platform consistency.container-registries and docker-expert: manage remote registry auth/retention and Dockerfile builds rather than offline OCI layout verification.linux/amd64, linux/arm64, linux/arm/v7) before pushing images to a registry or signing digests.index.json linux/arm64 descriptor pointing to an amd64 config JSON).application/vnd.oci.empty.v1 or unknown/unknown platform) are classified explicitly as non-image artifacts without breaking platform selection.3.10+ with jsonschema and pytest (tested with Python 3.12.10, jsonschema==4.26.0, pytest==9.1.1).oci-layout, index.json, blobs/sha256/*).oci-layout ({"imageLayoutVersion": "1.0.0"}) and index.json strictly as regular, layout-contained JSON objects (rejecting symlinks, junctions, non-regular files, and path escapes outside the layout root) using a single bounded read (4 MiB limit enforced at the read boundary); malformed JSON, non-object documents (e.g., JSON arrays), unsafe metadata paths, or missing required files classify as INVALID_INPUT.sha256:<64-lowercase-hex> digest format (UNSUPPORTED for non-sha256 algorithms), non-negative integer descriptor size (rejecting booleans/strings/negatives), and regular-file layout containment ensuring blobs, blobs/sha256, and target blob files remain non-symlink regular files strictly inside the layout root.index.json mediaType (application/vnd.oci.image.index.v1+json when present) and schemaVersion: 2. Nested OCI indexes (application/vnd.oci.image.index.v1+json inside index.manifests) are explicitly marked UNSUPPORTED.Run the local suite in OCI platform audit harness:
blobs/sha256/ as a contained regular file, stays within its declared read-boundary byte limit (4 MiB for JSON metadata, 64 MiB bounded streaming read for layers and artifact payloads), matches descriptor.size, and hashes to the declared sha256 digest.manifest.mediaType, config.mediaType (application/vnd.oci.empty.v1+json or custom artifactType), and platform (unknown/unknown Buildx attestation pattern) after verifying the artifact manifest's referenced config (when present) and layers blobs, so valid non-image descriptors are classified cleanly as non_image_artifacts without failing image config-arch checks, while missing or corrupted artifact blobs fail the audit.application/vnd.oci.image.manifest.v1+json + application/vnd.oci.image.config.v1+json), assert descriptor.platform.os == config.os, descriptor.platform.architecture == config.architecture, and descriptor.platform.variant == config.variant when variant is present. Missing optional platform on an index image descriptor fails strict multi-arch selection audit (MISSING_INDEX_PLATFORM).(os, architecture, variant) tuple as AMBIGUOUS_PLATFORM (FAIL).State explicitly in every audit report that matching sha256 digests verify internal content integrity against the local index only — digest verification never proves publisher authenticity, build provenance, cryptographic signature trust, or runnable container execution.
Run the self-contained verification suite in OCI platform audit harness:
User request: "Check our exported multi-arch OCI directory before pushing to ECR."
Inputs: Local OCI Image Layout v1.1.1 directory containing linux/amd64, linux/arm64, and an SBOM artifact descriptor.
Expected result: PASS for valid matched amd64 + arm64 + non-image artifact layout (with content-integrity-only
note); FAIL with PLATFORM_CONFIG_MISMATCH if linux/arm64 references an amd64 config, or AMBIGUOUS_PLATFORM
on duplicate platform descriptors.
binfmt_misc).sha256 digests are hashed locally; sha512 or unregistered digest algorithms return UNSUPPORTED.application/vnd.oci.image.index.v1+json inside index.manifests) and Docker manifest list v2 (application/vnd.docker.distribution.manifest.list.v2+json) manifests are rejected/classified separately (UNSUPPORTED / UNEXPECTED_MANIFEST_MEDIA_TYPE).descriptor.platform is optional in the OCI specification for single-architecture images, so MISSING_INDEX_PLATFORM enforces a stricter multi-arch index policy rather than a universal OCI grammar failure.S_ISREG) checks across oci-layout, index.json, and blobs/sha256/*, with a 4 MiB JSON metadata single-bounded-read limit and a 64 MiB bounded streaming read limit for layer and artifact blobs.docker pull, docker push, docker run, or tar extraction against untrusted layers.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sickn33/agentic-awesome-skills --plugin agentic-awesome-skills3,104 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantUsar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español./10-andruia-skill-smithUsar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.2 plugins in one repository ship this exact skill · first indexed Dec 2, 2026
Other plugins' skills for the same job