Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/sfc-gh-cconner/support-rules-mcpnpx agentmods add rules/sfc-gh-cconner/support-rules-mcp/08-mono-repo-mcpWrote 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.
[](https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/08-mono-repo-mcp)<a href="https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/08-mono-repo-mcp"><img src="https://agentmods.dev/badge/rules/sfc-gh-cconner/support-rules-mcp/08-mono-repo-mcp/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.
<a href="https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/08-mono-repo-mcp"><img src="https://agentmods.dev/badge/rules/sfc-gh-cconner/support-rules-mcp/08-mono-repo-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03234 | $0.03234 |
| Opus 5 | $0.01617 | $0.01617 |
| Sonnet 5 | $0.00647 | $0.00647 |
| Haiku 4.5 | $0.00323 | $0.00323 |
Grade A, and why
08-mono-repo-mcp 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.
How it starts
The opening of the file, as written. The whole thing — 486 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub MCP Patterns for Mono Repo Navigation
PURPOSE: Practical patterns for navigating Snowflake mono repo using GitHub MCP API tools.
🎯 Core Concept
The Snowflake mono repo contains millions of lines of code. GitHub MCP provides API-based access to search and retrieve source code without requiring a local clone (50GB+).
Key Benefits:
- No local repository required
- Always up-to-date code
- 5,000 API calls/hour limit
- Fast, precise code search
📍 Repository Access
GitHub Repository: snowflakedb/snowflake
Access Method: GitHub MCP API tools
See also: Snowsight and Snowflake web applications in snowflakedb/snapps repository.
🔍 Essential MCP Tools
1. Code Search
mcp_github_search_code(
query='search terms repo:snowflakedb/snowflake',
perPage=30, # Optional: results per page (default 30, max 100)
page=1 # Optional: page number
)
2. File Retrieval
mcp_github_get_file_contents(
owner="snowflakedb",
repo="snowflake",
path="path/to/file.java",
ref="main" # Optional: branch/tag/commit
)
3. Repository Search
mcp_github_search_repositories(
query='snowflake in:name org:snowflakedb'
)
🎯 Search Strategies
Strategy 1: Error Message Investigation
Step 1 - Broad Search:
mcp_github_search_code(
query='"exact error message from logs" repo:snowflakedb/snowflake'
)
Step 2 - Narrow by Component:
# If too many results, narrow down
mcp_github_search_code(
query='"error message" path:GlobalServices/Auth repo:snowflakedb/snowflake'
)
Step 3 - Get Full Context:
mcp_github_get_file_contents(
owner="snowflakedb",
repo="snowflake",
path="path/from/search/results.java"
)
Strategy 2: Component Investigation
Find Component Definition:
mcp_github_search_code(
query='class NetworkPolicyDPO repo:snowflakedb/snowflake language:java'
)
Find Component Usage:
mcp_github_search_code(
query='NetworkPolicyManager repo:snowflakedb/snowflake'
)
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.
- 10d ago First seen · 486 lines · 3,234 tokens per session scan A 87dd4025c926
08-mono-repo-mcp 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 3,234 tokens to every session, about $0.0162 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.
Other cursor rules, from other repositories
git-commit-attribution
Git commits must use the human developer identity only; never Cursor Agent co-authorship.
iris
GitHub operations specialist — branches, pull requests, issues, releases, tags. Called by zeus after review. Never pushes or merges without explicit human approval. Integrates with VS Code GitHub Pull Requests extension.
rebase-only-merged-agents
When rebasing after a merge, only rebase the agents whose branches you just merged. Do not rebase agents that are still running.
git-workflow
Rules for git operations, commit strategy, and GitHub CLI usage.
skill-management
The Clade capability renderer delivers skills to .cursor/skills/ /, commands to .cursor/commands/, and agent instructions to .cursor/agents/. These are distinct from .cursor/rules/ instruction delivery and from the native Task tool. Keep source/hash ownership for generated artifacts and preserve consumer-owned or…
release-checklist
What to update with each code change or version release.