container-images

container-images is a cursor rule for Cursor from sfc-gh-cconner/support-rules-mcp. It costs 545 tokens per session, scanned A, original, Apache-2.0.

A set of investigation rules for building, releasing, and maintaining container images for SPCS. Container images package an application and its runtime so it can run consistently in another environment.

In plain words
What is it for?
Use it to investigate Dockerfile definitions, base images, build and release configuration, version management, CI/CD pipelines, vulnerability scans, and CVE-related policies for SPCS.
Why use it?
Image builds and releases involve Dockerfiles, base images, version tags, CI/CD pipelines, and security checks spread across a repository. These rules provide search patterns for finding and reviewing those parts.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

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.

agentmods
npx agentmods add rules/sfc-gh-cconner/support-rules-mcp/container-images
Clone the repo
git clone --depth 1 https://github.com/sfc-gh-cconner/support-rules-mcp

Made for: Cursor.

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 container-images

README.md
[![agentmods](https://agentmods.dev/badge/rules/sfc-gh-cconner/support-rules-mcp/container-images.svg)](https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/container-images)
Your own site
<a href="https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/container-images"><img src="https://agentmods.dev/badge/rules/sfc-gh-cconner/support-rules-mcp/container-images.svg" alt="Measured on agentmods" height="20"></a>
Per session 545 This file is loaded in full into every session.
When invoked 545 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.00545 $0.00545
Opus 5 $0.00272 $0.00272
Sonnet 5 $0.00109 $0.00109
Haiku 4.5 $0.00055 $0.00055

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

Security

Grade A, and why

container-images 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 5d 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.

rules/spcs/container-images.mdc · 99 lines

How it starts

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

Container Images Build & Release Investigation Guide

PURPOSE: Container image build, release tooling, and base image patterns for SPCS.

Access Method: GitHub MCP API tools
Repository: snowflakedb/container-images

🔍 Quick Investigation Patterns

Image Build System

# Dockerfile definitions
mcp_github_search_code(
    query='Dockerfile OR FROM repo:snowflakedb/container-images'
)

# Build configurations
mcp_github_search_code(
    query='build.yaml OR release repo:snowflakedb/container-images'
)

# Base images
mcp_github_search_code(
    query='path:base-images repo:snowflakedb/container-images'
)

Release Orchestration

# Release configs
mcp_github_search_code(
    query='path:release_configs repo:snowflakedb/container-images'
)

# Version management
mcp_github_search_code(
    query='version OR tag OR release repo:snowflakedb/container-images'
)

# CI/CD pipelines
mcp_github_search_code(
    query='pipeline OR jenkins OR github-actions repo:snowflakedb/container-images'
)

Security Scanning

# Vulnerability scanning
mcp_github_search_code(
    query='scan OR vulnerability OR CVE repo:snowflakedb/container-images'
)

# Security policies
mcp_github_search_code(
    query='securityPolicy OR compliance repo:snowflakedb/container-images'
)

🎯 Key Components

Build Tools

# Build scripts
mcp_github_search_code(
    query='path:scripts build repo:snowflakedb/container-images'
)

# Makefile targets
mcp_github_search_code(
    query='Makefile repo:snowflakedb/container-images'
)

🗺️ Directory Structure

container-images/
├── base-images/       # Base container images
├── release_configs/   # Release configurations
├── scripts/          # Build/deploy scripts
├── security/         # Security scanning
└── tests/           # Image tests

📊 Common Issues

# Build failures
mcp_github_search_code(
    query='"build failed" OR "docker build" repo:snowflakedb/container-images'
)

# Registry push issues
mcp_github_search_code(
    query='"push failed" OR registry repo:snowflakedb/container-images'
)

Read the full file on GitHub · 99 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. 5d ago First seen · 99 lines · 545 tokens per session scan A bbb007bdf5f8

Subscribe to this mod's changes

container-images is a cursor rule published in the GitHub repository sfc-gh-cconner/support-rules-mcp (0 stars, last pushed 11mo ago), licensed Apache-2.0. It adds 545 tokens to every session, about $0.0027 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.