SnowGram: Instructions file for Claude Code

AGENTS.md

SnowGram AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from sfc-gh-abannerjee/SnowGram. It costs 4,895 tokens per session, scanned A, original, MIT.

Project instructions for SnowGram, an AI system that creates diagrams from user requests and improves through an autonomous feedback loop. They describe its agent, diagram tools, and two development tracks.

In plain words
What is it for?
Use them when modifying diagram generation, agent behaviour, component suggestions, Mermaid output, syntax validation, or the autonomous improvement loop.
Why use it?
They provide the system architecture and improvement process needed to change or review SnowGram without breaking how its parts work together.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PostToolUse hook event, but also the file is AGENTS.md. Also seen: mentions AGENTS.md; $skill-name invocation.

This is sfc-gh-abannerjee/SnowGram's own configuration. It tells Claude Code, Codex and OpenCode how to work on SnowGram itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SnowGram configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sfc-gh-abannerjee/SnowGram. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sfc-gh-abannerjee/SnowGram/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/sfc-gh-abannerjee/SnowGram

Made for: Claude Code, Codex, OpenCode.

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 SnowGram AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sfc-gh-abannerjee/snowgram/agents-md/github.svg)](https://agentmods.dev/instructions/sfc-gh-abannerjee/snowgram/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sfc-gh-abannerjee/snowgram/agents-md"><img src="https://agentmods.dev/badge/instructions/sfc-gh-abannerjee/snowgram/agents-md/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.

agentmods 80×15 button for SnowGram AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sfc-gh-abannerjee/snowgram/agents-md"><img src="https://agentmods.dev/badge/instructions/sfc-gh-abannerjee/snowgram/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,895 This file is loaded in full into every session.
When invoked 4,895 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.04895 $0.04895
Opus 5.5 $0.01958 $0.01958
Sonnet 5.5 $0.00979 $0.00979
Haiku 4.5 $0.00490 $0.00490

Measured 1mo ago against content hash a2160037176f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

SnowGram AGENTS.md 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 1mo 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.

AGENTS.md · 490 lines

How it starts

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

SnowGram Autonomous Improvement Loop

This document is the authoritative source for the autonomous feedback loop that improves SnowGram's AI-powered diagram generation. CoCo reads this file to determine agent invocation, root cause analysis, and improvement actions.


System Architecture

                    ┌─────────────────────────────────────────────────────────────┐
                    │              SNOWGRAM AI GENERATION STACK                   │
                    │                                                             │
     User Query     │   ┌─────────────────┐    ┌─────────────────────────────┐   │
    ─────────────────▶  │  CORTEX AGENT   │───▶│      AGENT TOOLS            │   │
                    │   │  (SNOWGRAM_     │    │  ┌─────────────────────────┐│   │
                    │   │   AGENT)        │    │  │ SUGGEST_COMPONENTS_JSON ││   │
                    │   └────────┬────────┘    │  │ GENERATE_MERMAID        ││   │
                    │            │             │  │ VALIDATE_SYNTAX         ││   │
                    │            │             │  └─────────────────────────┘│   │
                    │            ▼             └──────────────┬──────────────┘   │
                    │   ┌─────────────────┐                   │                  │
                    │   │  SEMANTIC VIEW  │◀──────────────────┘                  │
                    │   │ (COMPONENT_MAP_ │    Queries semantic view             │
                    │   │   SV)           │    for component mappings            │
                    │   └─────────────────┘                                      │
                    └─────────────────────────────────────────────────────────────┘
                                    │
                                    ▼ Generates
                    ┌───────────────────────────────────────┐
                    │         DIAGRAM OUTPUT                │
                    │  ┌─────────────┐  ┌─────────────────┐ │
                    │  │ ReactFlow   │  │  Mermaid        │ │
                    │  │ JSON        │  │  (fallback)     │ │
                    │  └─────────────┘  └─────────────────┘ │
                    └───────────────────────────────────────┘

Read the full file on GitHub · 490 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. 1mo ago Changed · +75 lines · +1,140 tokens per session a2160037176f
  2. 2mo ago First seen · 415 lines · 3,755 tokens per session scan A 5a62586d3505

Subscribe to this mod's changes

SnowGram AGENTS.md is an instructions file published in the GitHub repository sfc-gh-abannerjee/SnowGram (2 stars, last pushed 1mo ago), licensed MIT. It adds 4,895 tokens to every session, about $0.0196 per session on Opus 5.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.

Related

SnowGram AGENTS.md compared with instructions from other repositories

SnowGram AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
SnowGram AGENTS.mdsfc-gh-abannerjee/SnowGramInstructions file21mo agoMITA4,895Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode