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-abannerjee/SnowGramnpx agentmods add skills/sfc-gh-abannerjee/snowgram/snowflake-architecture-diagramWrote 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/skills/sfc-gh-abannerjee/snowgram/snowflake-architecture-diagram)<a href="https://agentmods.dev/skills/sfc-gh-abannerjee/snowgram/snowflake-architecture-diagram"><img src="https://agentmods.dev/badge/skills/sfc-gh-abannerjee/snowgram/snowflake-architecture-diagram/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/skills/sfc-gh-abannerjee/snowgram/snowflake-architecture-diagram"><img src="https://agentmods.dev/badge/skills/sfc-gh-abannerjee/snowgram/snowflake-architecture-diagram.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.00109 | $0.02070 |
| Opus 5.5 | $0.00044 | $0.00828 |
| Sonnet 5.5 | $0.00022 | $0.00414 |
| Haiku 4.5 | $0.00011 | $0.00207 |
Grade A, and why
snowflake-architecture-diagram scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Optionally probe `localhost:3002` and `localhost:8082` (curl with 1s timeout) to detect `CONNECTED_UI_READY`. How it starts
The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Snowflake Architecture Diagram
Generate professional Snowflake architecture diagrams with one of four modes. The skill auto-detects what is available and routes to the right sub-skill. Output is always exportable (Mermaid source, SVG, PNG) and renders in a self-contained viewer that runs locally.
When to load
Trigger this skill when the user wants to:
- Create a Snowflake architecture diagram (medallion, streaming, IoT, security, ML, customer 360, governance, etc.)
- Visualize a real data pipeline (from lineage of an existing table)
- Export a diagram for slides, docs, or sharing
- Refine or iterate on a previously generated diagram
Prerequisites
| Mode | Requires |
|---|---|
standalone |
Python 3 + a modern browser. No Snowflake connection needed. |
connected-cli |
Active cortex connection + SNOWGRAM_AGENT deployed |
connected-ui |
Connected-CLI prerequisites + frontend at localhost:3002 + backend at localhost:8082 |
from-lineage |
Active cortex connection with lineage access (any account) |
bootstrap |
Active connection with privileges to deploy SnowGram into a target DB |
Path resolution (READ THIS FIRST)
All sub-skills reference assets via $SKILL_DIR/... (bash) or SKILL_DIR/... (Python). Resolve these once at the top of any workflow:
# Bash — source the canonical resolver, then use $SKILL_DIR / $VIEWER_DIR / etc.
source "<absolute path to assets/scripts/skill_paths.sh>"
echo "$SKILL_DIR" # absolute path to the skill root
# Python — import skill_paths from assets/scripts/
import sys, importlib.util
spec = importlib.util.spec_from_file_location(
"skill_paths",
"<absolute path to assets/scripts/skill_paths.py>",
)
sp = importlib.util.module_from_spec(spec); spec.loader.exec_module(sp)
TEMPLATES_DIR = sp.TEMPLATES_DIR # etc.
Where to find the absolute path of assets/scripts/skill_paths.sh:
- The skill loader's preamble shows
Base directory for this skill: <PATH>. Take that path and append/assets/scripts/skill_paths.sh. - Or call
cortex skill listand find thesnowflake-architecture-diagram:line.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/_snapshot_meta.json 1.4 KB
- assets/agent_spec.txt 4.7 KB
- assets/component_blocks.json 25 KB
- assets/component_synonyms.json 24 KB
- assets/composer/__init__.py 68 B runs code
- assets/composer/build_rich_states.py 31 KB runs code
- assets/composer/composer.py 7.3 KB runs code
- assets/composer/docs_resolver.py 30 KB runs code
- assets/composer/flow_builder.py 31 KB runs code
- assets/composer/intent_router.py 24 KB runs code
- assets/composer/knowledge_pack.py 14 KB runs code
- assets/composer/state_customizer.py 13 KB runs code
- assets/composer/tests/generate_golden.py 3.5 KB runs code
- assets/composer/tests/golden/empty.json 851 B
- assets/composer/tests/golden/kafka_streaming.json 1.1 KB
- assets/composer/tests/golden/simple_pipeline.json 1.1 KB
- assets/composer/tests/golden/single_block.json 931 B
- assets/composer/tests/golden/with_unknown.json 1.0 KB
- assets/composer/tests/test_composer.py 1.7 KB runs code
- assets/composer/tests/test_intent_router.py 3.6 KB runs code
- assets/composer/tests/test_knowledge_pack.py 4.8 KB runs code
- assets/composer/tests/test_rich_states.py 2.7 KB runs code
- assets/composer/tests/test_route_v2.py 3.2 KB runs code
- assets/composer/tests/test_state_customizer.py 4.6 KB runs code
- assets/diagram-citations/AGENT_INTEGRATION_RUNBOOK.md 4.8 KB
- assets/diagram-citations/build_inject.mjs 1.8 KB runs code
- assets/diagram-citations/citations.css 1.3 KB
- assets/diagram-citations/citations.js 3.8 KB runs code
- assets/diagram-citations/demo.html 1.6 KB
- assets/diagram-citations/inject-citations.html 5.9 KB
- assets/diagram-interactivity/AGENT_INTEGRATION_RUNBOOK.md 6.3 KB
- assets/diagram-interactivity/build_inject.mjs 2.0 KB runs code
- assets/diagram-interactivity/chrome/panel.css 12 KB
- assets/diagram-interactivity/chrome/panel.js 21 KB runs code
- assets/diagram-interactivity/chrome/panel.markup.html 1.8 KB
- assets/diagram-interactivity/chrome/theme-init.js 845 B runs code
- assets/diagram-interactivity/chrome/theme.css 12 KB
- assets/diagram-interactivity/demo.html 2.6 KB
- assets/diagram-interactivity/inject-snippet.html 9.3 KB
- assets/diagram-interactivity/interactivity.css 3.0 KB
- assets/diagram-interactivity/interactivity.js 5.4 KB runs code
- assets/diagram-interactivity/README.md 3.6 KB
- assets/docs_cache.json 28 KB
- assets/functions/COMPOSE_DIAGRAM_FROM_TEMPLATE.sql 2.4 KB
- assets/functions/GENERATE_MERMAID_FROM_COMPONENTS.sql 3.8 KB
- assets/functions/GET_ARCHITECTURE_BEST_PRACTICE.sql 951 B
- assets/functions/MAP_COMPONENT.sql 302 B
- assets/functions/SUGGEST_COMPONENTS_FOR_USE_CASE.sql 5.4 KB
- assets/functions/VALIDATE_MERMAID_SYNTAX.sql 2.8 KB
- assets/icon_manifest.json 4.4 KB
- assets/layout-engine/build_udf.mjs 4.9 KB runs code
- assets/layout-engine/constants.mjs 5.3 KB runs code
- assets/layout-engine/deploy/AGENT_INTEGRATION_RUNBOOK.md 7.9 KB
- assets/layout-engine/deploy/AGENT_TOOL_SNIPPET.yaml 1.8 KB
- assets/layout-engine/deploy/deploy_layout_diagram.sh 2.6 KB runs code
- assets/layout-engine/deploy/LAYOUT_DIAGRAM.devtemp.sql 118 KB
- assets/layout-engine/deploy/LAYOUT_DIAGRAM.sql 146 KB
- assets/layout-engine/gridroute.mjs 26 KB runs code
- assets/layout-engine/index.mjs 5.3 KB runs code
- assets/layout-engine/layout_cli.mjs 1.4 KB runs code
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.
- 2mo ago First seen · 177 lines · 109 tokens per session scan A a6b1e749f9a3
snowflake-architecture-diagram is a skill published in the GitHub repository sfc-gh-abannerjee/SnowGram (2 stars, last pushed 1mo ago), licensed MIT. It adds 109 tokens to every session and 2,070 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
snowflake-architecture-diagram compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| snowflake-architecture-diagramsfc-gh-abannerjee/SnowGram | Skill | 2 | 1mo ago | MIT | A | 109 | Claude Code, Codex |
| slidesgridaco/grida | Skill | 2.7k | yesterday | Apache-2.0 | A | 46 | Claude Code, Codex |
| dotcanvasgridaco/grida | Skill | 2.7k | yesterday | Apache-2.0 | A | 69 | Claude Code, Codex |
| datamodellmnimbalyst/nimbalyst | Skill | 2.0k | 2d ago | MIT | A | 45 | Claude Code, Codex |
| svggridaco/grida | Skill | 2.7k | yesterday | Apache-2.0 | A | 39 | Claude Code, Codex |
| er-diagramsexcalimate/excalimate | Skill | 100 | 5d ago | MIT | A | 52 | Claude Code, Codex |
| dashboard-designDeepSQLAI/deepsql | Skill | 40 | 5d ago | Apache-2.0 | A | 43 | Claude Code, Codex |