snowflake-ai-kit: Instructions file for Claude Code

AGENTS.md

snowflake-ai-kit AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from Snowflake-Labs/snowflake-ai-kit. It costs 1,366 tokens per session, scanned A, original, Apache-2.0.

A set of repository rules for snowflake-ai-kit, a developer toolkit for building applications on Snowflake with AI coding agents. Snowflake is a cloud data platform, and the project includes tools that route suitable requests to Snowflake's Cortex Code command-line tool.

In plain words
What is it for?
Use it when working on the Cortex Code plugin, prompt routing, setup and installers, credential handling, skills, tests, or documentation.
Why use it?
It explains the repository structure, routing behavior, installation scripts, and checks needed when changing the toolkit.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: UserPromptSubmit hook event, but also the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions Claude Code; mentions AGENTS.md.

This is Snowflake-Labs/snowflake-ai-kit's own configuration. It tells Claude Code, Codex and OpenCode how to work on snowflake-ai-kit 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 snowflake-ai-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Snowflake-Labs/snowflake-ai-kit. 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/Snowflake-Labs/snowflake-ai-kit/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Snowflake-Labs/snowflake-ai-kit

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 snowflake-ai-kit AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/snowflake-labs/snowflake-ai-kit/agents-md/github.svg)](https://agentmods.dev/instructions/snowflake-labs/snowflake-ai-kit/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/snowflake-labs/snowflake-ai-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/snowflake-labs/snowflake-ai-kit/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 snowflake-ai-kit AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/snowflake-labs/snowflake-ai-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/snowflake-labs/snowflake-ai-kit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,366 This file is loaded in full into every session.
When invoked 1,366 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.01366 $0.01366
Opus 5.5 $0.00546 $0.00546
Sonnet 5.5 $0.00273 $0.00273
Haiku 4.5 $0.00137 $0.00137

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

Security

Grade A, and why

snowflake-ai-kit 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 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.

AGENTS.md · 105 lines

How it starts

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

Agent Guidelines — snowflake-ai-kit

What This Repo Is

Developer tools for building on Snowflake with AI coding agents. Includes:

  • A Claude Code + Codex plugin (plugins/cortex-code/) that auto-routes Snowflake prompts to Cortex Code CLI
  • A Devin plugin (plugins/snowflake-mcp-devin/) that connects Devin to a Snowflake Managed MCP Server over HTTPS, with no local dependencies
  • Installers (shell + PowerShell + npx)

Architecture

plugins/
  cortex-code/                                ← Claude Code + Codex plugin (v3.5.0)
    .claude-plugin/plugin.json                ← Claude Code manifest
    .codex-plugin/plugin.json                 ← Codex manifest
    hooks/hooks.json                          ← UserPromptSubmit hook (prompt_filter.py)
    scripts/router/
      prompt_filter.py                        ← keyword detection, fires additionalContext
      discover_cortex.py                      ← finds Cortex CLI + discovers skills
      execute_cortex.py                       ← spawns cortex CLI, credential blocking
      route_request.py                        ← indicator scoring + skill trigger matching
    skills/
      cortex-router/                          ← auto-routing skill
      cortex-run/                             ← explicit invocation ($cortex-run)
      cortex-setup/                           ← CLI install + connection setup
  snowflake-mcp-devin/                        ← Devin plugin (Snowflake Managed MCP, no local deps)
    .devin-plugin/plugin.json                 ← Devin manifest: HTTP MCP with ${SNOWFLAKE_MCP_URL} + ${SNOWFLAKE_PAT}
    .claude-plugin/plugin.json                ← fallback manifest for Claude Code
    AGENTS.md                                 ← always-on Snowflake context
    skills/                                   ← 7 skills (/snowflake:snowflake-query, -explore, ...)
.agents/plugins/marketplace.json              ← Codex marketplace
.claude-plugin/marketplace.json               ← Claude Code marketplace
actions/cortex-code/                          ← GitHub Action
mcp-servers/cloud-agents/                     ← Cloud Agents MCP server
install.sh / install.ps1 / bin/install.mjs    ← one-command installers
tests/
  run-tests.sh                                ← bash test runner (Mac/Linux)
  run-tests.ps1                               ← PowerShell test runner (Windows)
  test_repo_docs.py                           ← Devin plugin structure + docs consistency checks
  validate-install.ps1                        ← install validation
.github/workflows/
  test.yml                                    ← CI: runs tests on macOS + Windows

Read the full file on GitHub · 105 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 Changed · +20 lines · +301 tokens per session d4c1afeedec5
  2. 27d ago Changed · +7 lines · +136 tokens per session a1fb8a2f92f6
  3. 1mo ago First seen · 78 lines · 929 tokens per session scan A c580bd8c95a2

Subscribe to this mod's changes

snowflake-ai-kit AGENTS.md is an instructions file published in the GitHub repository Snowflake-Labs/snowflake-ai-kit (41 stars, last pushed 5d ago), licensed Apache-2.0. It adds 1,366 tokens to every session, about $0.0055 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-30.

Related

Other instructions, from other repositories