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 | $0.00055 | $0.01035 |
| Sonnet 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 11d 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/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 27 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.4 KB runs code
- assets/layout-engine/constants.mjs 2.6 KB runs code
- assets/layout-engine/deploy/AGENT_INTEGRATION_RUNBOOK.md 6.2 KB
- assets/layout-engine/deploy/AGENT_TOOL_SNIPPET.yaml 1.8 KB
- assets/layout-engine/deploy/LAYOUT_DIAGRAM.sql 53 KB
- assets/layout-engine/index.mjs 2.4 KB runs code
- assets/layout-engine/measure.mjs 2.2 KB runs code
- assets/layout-engine/model.mjs 7.3 KB runs code
- assets/layout-engine/pack.mjs 15 KB runs code
- assets/layout-engine/README.md 7.4 KB
- assets/layout-engine/route.mjs 22 KB runs code
- assets/scripts/diagram_from_prompt.py 11 KB runs code
- assets/scripts/launch_viewer.sh 2.4 KB runs code
- assets/scripts/regression.py 2.1 KB runs code
- assets/scripts/render_static.py 8.2 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.
- 11d 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 3mo ago), licensed MIT. It adds 109 tokens to every session and 2,070 once invoked, about $0.0005 per session on Opus 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.
Other skills, from other repositories
slides
Build a Grida slides deck — a .canvas bundle in slides mode whose pages are SVG documents (16:9, one SVG per slide). Use when creating a presentation, pitch deck, slideshow, or talk.
dotcanvas
Author and edit a Grida .canvas board — a .canvas.json manifest plus document files (references, generated images, notes) placed on an infinite canvas. Use when working on a .canvas bundle or arranging visuals/design work spatially. For a linear deck/presentation, use the slides skill instead.
datamodellm
Create visual data models for database schemas using Nimbalyst's DataModelLM editor. Use when the user wants to design a data model, database schema, entity relationship diagram, or Prisma schema.
svg
Author and edit .svg files in a Grida editor session — live-canvas binding, SVG output style, and parse-error recovery. Use when creating or modifying an SVG document.
er-diagrams
Create animated entity-relationship and database schema diagrams using the Excalimate MCP server. Use when asked to visualize database schemas, data models, table relationships, foreign keys, entity relationships, or any structured data design with tables and their connections.
run402
Provision Postgres + REST API + auth + content-addressed storage + serverless functions + email — paid with x402 USDC on Base. Prototype tier is free on testnet. Use when the user asks to build a webapp, deploy a site, create a database, generate images, or mentions Run402.