artifactory

artifactory is a cursor rule for coding agents from sfc-gh-cconner/support-rules-mcp. It costs 614 tokens per session, scanned A, original, Apache-2.0.

A set of guidance for configuring Artifactory, a system that stores and distributes software packages, and its mirrors for SPCS dependencies.

In plain words
What is it for?
Use it to inspect repository definitions, virtual repositories, SSO and token access, permissions, storage, and replication configuration.
Why use it?
It provides investigation patterns for finding repository, access, storage, replication, and mirror settings in the Artifactory codebase.

Cursor rule

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/artifactory
Clone the repo
git clone --depth 1 https://github.com/sfc-gh-cconner/support-rules-mcp

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 artifactory

README.md
[![agentmods](https://agentmods.dev/badge/rules/sfc-gh-cconner/support-rules-mcp/artifactory.svg)](https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/artifactory)
Your own site
<a href="https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/artifactory"><img src="https://agentmods.dev/badge/rules/sfc-gh-cconner/support-rules-mcp/artifactory.svg" alt="Measured on agentmods" height="20"></a>
Per session 614 This file is loaded in full into every session.
When invoked 614 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.00614 $0.00614
Opus 5 $0.00307 $0.00307
Sonnet 5 $0.00123 $0.00123
Haiku 4.5 $0.00061 $0.00061

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

Security

Grade A, and why

artifactory 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 4d 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/artifactory.mdc · 109 lines

How it starts

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

Artifactory Configuration Investigation Guide

PURPOSE: Artifactory artifact repositories and mirrors configuration for SPCS dependencies.

Access Method: GitHub MCP API tools
Repository: snowflakedb/artifactory

🔍 Quick Investigation Patterns

Repository Configuration

# Repository definitions
mcp_github_search_code(
    query='repository OR repo-config repo:snowflakedb/artifactory'
)

# Mirror configurations
mcp_github_search_code(
    query='mirror OR remote-repo repo:snowflakedb/artifactory'
)

# Virtual repositories
mcp_github_search_code(
    query='virtual-repo OR aggregation repo:snowflakedb/artifactory'
)

Authentication & Access

# SSO configuration
mcp_github_search_code(
    query='saml OR oauth OR sso repo:snowflakedb/artifactory'
)

# Access tokens
mcp_github_search_code(
    query='token OR apiKey repo:snowflakedb/artifactory'
)

# Permissions
mcp_github_search_code(
    query='permission OR acl repo:snowflakedb/artifactory'
)

Storage & Replication

# Storage configuration
mcp_github_search_code(
    query='storage OR filestore repo:snowflakedb/artifactory'
)

# Replication setup
mcp_github_search_code(
    query='replication OR sync repo:snowflakedb/artifactory'
)

# Cleanup policies
mcp_github_search_code(
    query='cleanup OR retention repo:snowflakedb/artifactory'
)

🎯 Key Components

Configuration Files

# System configuration
mcp_github_search_code(
    query='system.yaml OR artifactory.config repo:snowflakedb/artifactory'
)

# Repository layouts
mcp_github_search_code(
    query='layout OR structure repo:snowflakedb/artifactory'
)

🗺️ Directory Structure

artifactory/
├── config/          # Configuration files
├── repos/          # Repository definitions
├── security/       # Security settings
├── replication/    # Replication configs
└── scripts/        # Management scripts

📊 Common Issues

# Download failures
mcp_github_search_code(
    query='"download failed" OR "artifact not found" repo:snowflakedb/artifactory'
)

# Authentication errors
mcp_github_search_code(
    query='"unauthorized" OR "forbidden" repo:snowflakedb/artifactory'
)

# Storage issues
mcp_github_search_code(
    query='"disk full" OR "storage limit" repo:snowflakedb/artifactory'
)

Read the full file on GitHub · 109 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. 4d ago First seen · 109 lines · 614 tokens per session scan A fe114b86598e

Subscribe to this mod's changes

artifactory 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 614 tokens to every session, about $0.0031 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.