configure-container-scan

configure-container-scan is a skill for Claude Code from harness/harness-ai. It costs 176 tokens per session (4,184 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 — 73 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 73 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,184 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.04184
Opus 5.5 $0.00070 $0.01674
Sonnet 5.5 $0.00035 $0.00837
Haiku 4.5 $0.00018 $0.00418

Measured 1mo ago against content hash bc9259c9f896, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 485 lines

How it starts

The opening of the file, as written. The whole thing — 485 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 · 485 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. 1mo ago Changed · +1 lines bc9259c9f896
  2. 3mo 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 (35 stars, last pushed 4d ago), licensed Apache-2.0. It adds 176 tokens to every session and 4,184 once invoked, about $0.0007 per session on Opus 5.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

configure-container-scan compared with skills from other repositories

configure-container-scan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
configure-container-scanharness/harness-aiSkill354d agoApache-2.0A176Claude Code
deploy-docker-composeomnigent-ai/omnigentSkill12ktodayApache-2.0A84Claude Code, Codex
bdd-container-updateNVIDIA-AI-Blueprints/video-search-and-summarizationSkill2.0kyesterdayApache-2.0A117Cursor
securing-kubernetes-on-cloudxalgorix/xalgorixSkill1.5ktodayApache-2.0A80Claude Code, Codex
detecting-privilege-escalation-in-kubernetes-podsxalgorix/xalgorixSkill1.5ktodayApache-2.0A40Claude Code, Codex
docker-socket-mountPurpleAILAB/DecepticonSkill6.9k10d agoApache-2.0B67Claude Code
polar-local-environmentfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A22Claude Code