configure-container-scan

configure-container-scan is a skill for Claude Code from harness/harness-ai. It costs 176 tokens per session (4,157 once invoked), scanned A, a copy of configure-container-scan, Apache-2.0.

A workflow for adding container-image security scanning to an existing Harness pipeline. A container image is a packaged application and its dependencies; scanning checks it for known security issues.

In plain words
What is it for?
Use it to add scans with Harness SCA, Trivy, Grype, Snyk, Prisma Cloud, Anchore, Black Duck, or Wiz for images stored in registries such as Docker Hub, ECR, or GCR.
Why use it?
It helps place a scanner in the right pipeline stage and configure it for the image registry and scanning service being used.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the harness plugin — 55 skills, 1 MCP server shipped together

Good fit Use it to add scans with Harness SCA, Trivy, Grype, Snyk, Prisma Cloud, Anchore, Black Duck, or Wiz for images stored in registries such as Docker Hub, ECR, or GCR.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/harness/harness-ai/configure-container-scan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add harness/harness-ai --skill configure-container-scan
Clone the repo
git clone --depth 1 https://github.com/harness/harness-ai

Made for: Claude Code.

Or install harness, the plugin that ships this one along with the rest of its 55 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for configure-container-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/harness/harness-ai/configure-container-scan/github.svg)](https://agentmods.dev/skills/harness/harness-ai/configure-container-scan)
Your own site
<a href="https://agentmods.dev/skills/harness/harness-ai/configure-container-scan"><img src="https://agentmods.dev/badge/skills/harness/harness-ai/configure-container-scan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for configure-container-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/harness/harness-ai/configure-container-scan"><img src="https://agentmods.dev/badge/skills/harness/harness-ai/configure-container-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,157 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00176 $0.04157
Opus 5 $0.00088 $0.02079
Sonnet 5 $0.00035 $0.00831
Haiku 4.5 $0.00018 $0.00416

Measured 10d ago against content hash 31635308dd66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

configure-container-scan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to configure-container-scan — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/claude/skills/configure-container-scan/SKILL.md · 484 lines

How it starts

The opening of the file, as written. The whole thing — 484 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Configure Container Scan

Add a container image scanning step to an existing Harness pipeline using the native HarnessSCA STO scanner.

Instructions

Step 1: Establish Scope and Pipeline Context

Ask for org, project, and pipeline identifier if not already known. This skill only works with existing pipelines.

Call MCP tool: harness_get
Parameters:
  resource_type: "pipeline"
  resource_id: "<pipeline_identifier>"
  org_id: "<organization>"
  project_id: "<project>"

Step 2: Analyze Pipeline Structure

Parse the pipeline YAML to identify:

  • All stages and their types (CI, SecurityTests, Deployment, Approval)
  • Whether a SecurityTests stage already exists
  • Existing steps in each stage

Present the structure to the user:

Pipeline: <name>

Stage 1: <stage_name> (type: <stage_type>)
  - Step 1: <step_name> (type: <step_type>)
  ...

Ask the user where they want the scanner step added:

Present the available insertion points:

  • Any existing CI stage (scanner step is added directly into that stage's execution.steps)
  • Any existing SecurityTests stage (scanner step is added into that stage's execution.steps)
  • A new SecurityTests stage (appended to the pipeline if no suitable stage exists or user prefers isolation)

Recommendation guidance:

  • Adding into an existing CI stage — simpler, no extra infrastructure needed, scan runs as part of the build
  • Adding a new SecurityTests stage — isolated, runs independently, useful when scanning images built elsewhere or from a registry

If the user doesn't specify, default to adding inside the existing CI stage if one exists.

Step 3: Recommend Scanner Type

Present the available container image scanners supported in Harness STO:

Available Container Scanners:

  • Harness SCA (default — native Harness container scanner, zero config)
  • Aqua Trivy (open-source, broad OS and library coverage)
  • Grype (open-source by Anchore, fast and accurate)
  • Snyk (commercial, developer-friendly with fix advice)
  • Prisma Cloud (commercial, enterprise runtime + image scanning)
  • Anchore Enterprise (commercial, policy-based enforcement)
  • Black Duck (commercial, license compliance + vulnerabilities)
  • Wiz (commercial, cloud-native security)

Read the full file on GitHub · 484 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 484 lines · 176 tokens per session scan A 31635308dd66

Subscribe to this mod's changes

configure-container-scan is a skill published in the GitHub repository harness/harness-ai (19 stars, last pushed 19d ago), licensed Apache-2.0. It adds 176 tokens to every session and 4,157 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to configure-container-scan, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens