image-registry

image-registry is a cursor rule for Cursor from sfc-gh-cconner/support-rules-mcp. It costs 1,656 tokens per session, scanned A, original, Apache-2.0.

A set of investigation rules for storing and distributing container images in Snowflake's managed container platform. It points to relevant parts of the Snowflake image-registry codebase and search patterns.

In plain words
What is it for?
Use it to investigate image-registry services, Envoy entry points, distribution code, registry settings, and web application firewall configuration.
Why use it?
It gives developers a repeatable way to inspect registry, network-entry, and security configuration instead of searching the repository from scratch.

Cursor rule for Cursor

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

Good fit Use it to investigate image-registry services, Envoy entry points, distribution code, registry…

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/sfc-gh-cconner/support-rules-mcp/image-registry
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.

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 image-registry

README.md
[![agentmods](https://agentmods.dev/badge/rules/sfc-gh-cconner/support-rules-mcp/image-registry.svg)](https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/image-registry)
Your own site
<a href="https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/image-registry"><img src="https://agentmods.dev/badge/rules/sfc-gh-cconner/support-rules-mcp/image-registry.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,656 This file is loaded in full into every session.
When invoked 1,656 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01656 $0.01656
Opus 5 $0.00828 $0.00828
Sonnet 5 $0.00331 $0.00331
Haiku 4.5 $0.00166 $0.00166

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

Security

Grade A, and why

image-registry 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 6d 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/image-registry.mdc · 277 lines

How it starts

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

Snowflake Image Registry Investigation Guide

PURPOSE: Image registry patterns for SPCS container image storage and distribution.

Access Method: GitHub MCP API tools
Repository: snowflakedb/snowflake-image-registry

🔍 Quick Investigation Patterns

Ingress Issues

# Envoy configuration
mcp_github_search_code(
    query='path:Envoy/configs repo:snowflakedb/snowflake-image-registry'
)

# Ingress config files
mcp_github_get_file_contents(
    owner="snowflakedb", repo="snowflake-image-registry",
    path="Envoy/configs/ingress-config.yaml"
)

# Registry config
mcp_github_get_file_contents(
    owner="snowflakedb", repo="snowflake-image-registry",
    path="Envoy/configs/registry-config.yaml"
)

# WAF/Coraza setup
mcp_github_search_code(
    query='coraza OR waf repo:snowflakedb/snowflake-image-registry'
)

Registry Service

# Distribution service
mcp_github_search_code(
    query='path:distribution repo:snowflakedb/snowflake-image-registry'
)

# Main registry service
mcp_github_get_file_contents(
    owner="snowflakedb", repo="snowflake-image-registry",
    path="distribution/main.go"
)

# Snowflake-specific modules
mcp_github_search_code(
    query='path:distribution/snowflake repo:snowflakedb/snowflake-image-registry'
)

Authentication & Authorization

# Auth middleware
mcp_github_search_code(
    query='path:distribution/snowflake/*/middleware repo:snowflakedb/snowflake-image-registry'
)

# Token handling
mcp_github_search_code(
    query='token OR jwt OR auth repo:snowflakedb/snowflake-image-registry'
)

# Registry client auth
mcp_github_search_code(
    query='path:registry/client repo:snowflakedb/snowflake-image-registry'
)

Image Operations

# Image copy operations
mcp_github_search_code(
    query='path:distribution/snowflake/copy repo:snowflakedb/snowflake-image-registry'
)

# Encryption handling
mcp_github_search_code(
    query='path:encryption OR encrypt repo:snowflakedb/snowflake-image-registry'
)

# Manifest handling
mcp_github_search_code(
    query='manifest OR blob repo:snowflakedb/snowflake-image-registry'
)

Read the full file on GitHub · 277 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. 6d ago First seen · 277 lines · 1,656 tokens per session scan A c06ea93bb44a

Subscribe to this mod's changes

image-registry 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 1,656 tokens to every session, about $0.0083 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.