migrate-sas7bdat-to-snowflake

migrate-sas7bdat-to-snowflake is a skill for Claude Code from sfc-gh-dflippo/snowflake-dbt-demo. It costs 115 tokens per session (2,486 once invoked), scanned A, original, Apache-2.0.

A loader for SAS datasets stored as .sas7bdat files on a Snowflake stage. A stage is Snowflake storage or a connected cloud-storage location; the loader puts the files into Snowflake tables.

In plain words
What is it for?
Use it for one-time or ongoing ingestion of SAS datasets, with files grouped into target tables by their stage folders.
Why use it?
It avoids separately parsing and loading each dataset, and can load new or changed files on a schedule.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the snowflake-migration plugin — 72 skills, 7 agents shipped together

Good fit Use it for one-time or ongoing ingestion of SAS datasets, with files grouped into target tables by their stage folders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfc-gh-dflippo/snowflake-dbt-demo/migrate-sas7bdat-to-snowflake
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sfc-gh-dflippo/snowflake-dbt-demo --skill migrate-sas7bdat-to-snowflake
Clone the repo
git clone --depth 1 https://github.com/sfc-gh-dflippo/snowflake-dbt-demo

Made for: Claude Code.

Or install snowflake-migration, the plugin that ships this one along with the rest of its 72 skills, 7 agents.

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 migrate-sas7bdat-to-snowflake

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfc-gh-dflippo/snowflake-dbt-demo/migrate-sas7bdat-to-snowflake/github.svg)](https://agentmods.dev/skills/sfc-gh-dflippo/snowflake-dbt-demo/migrate-sas7bdat-to-snowflake)
Your own site
<a href="https://agentmods.dev/skills/sfc-gh-dflippo/snowflake-dbt-demo/migrate-sas7bdat-to-snowflake"><img src="https://agentmods.dev/badge/skills/sfc-gh-dflippo/snowflake-dbt-demo/migrate-sas7bdat-to-snowflake/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 migrate-sas7bdat-to-snowflake

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfc-gh-dflippo/snowflake-dbt-demo/migrate-sas7bdat-to-snowflake"><img src="https://agentmods.dev/badge/skills/sfc-gh-dflippo/snowflake-dbt-demo/migrate-sas7bdat-to-snowflake.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,486 The whole file, excluding the scripts and references it only reads on demand.
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.00115 $0.02486
Opus 5 $0.00057 $0.01243
Sonnet 5 $0.00023 $0.00497
Haiku 4.5 $0.00012 $0.00249

Measured 2d ago against content hash 6ee491479889, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

migrate-sas7bdat-to-snowflake 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 2d 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.

.claude/skills/snowflake-migration/skills/migration/sas/migrate-sas7bdat-to-snowflake/SKILL.md · 227 lines

How it starts

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

Migrate .sas7bdat Files from Stage to Snowflake

© Snowflake Inc. This skill and its contents are the proprietary intellectual property of Snowflake Inc.

Load one or many .sas7bdat files that already sit on a Snowflake stage into tables. All parsing and loading runs inside Snowflake (a Python stored procedure using pandas.read_sas + SnowflakeFile). Nothing is parsed on the client.

Mental model

  • The stage may contain subfolders. Each subfolder = one target table (all .sas7bdat files directly inside it are appended into that table). Files at the stage root (no subfolder) = one table each.
  • A single engine stored procedure does all the work. A one-time load just CALLs it once. An ongoing load wraps that same proc in a scheduled Task and uses a control table to load only new/changed files.
  • The proc refreshes the stage's directory table itself at the start of every run, so both one-time and scheduled loads always see newly-arrived files. (First-time setup still enables the directory table; see Step 0.)

Prerequisites

  • The stage already exists and points at the .sas7bdat files. (This skill verifies it; it does not create the stage.)
  • Role can CREATE TABLE, CREATE PROCEDURE, and (ongoing only) CREATE TASK + EXECUTE TASK in the target schema, plus USAGE + READ on the stage.
  • A warehouse is available. For large files (>~500 MB) prefer a Snowpark-optimized warehouse — see references/architecture.md.

Setup (always do first)

Load references/architecture.md — it holds the exact server-side read pattern, SAS date/encoding handling, memory/chunking, and warehouse guidance you will need while deploying.

Step 0: Confirm stage and directory table

  1. Ask the user for the stage name and target database/schema/warehouse.

  2. Verify the stage and check whether a directory table is enabled (the engine enumerates files with DIRECTORY(@stage), which requires one):

    DESCRIBE STAGE <stage>;
    

    Look at the directory property. If files sit on an external stage, also confirm a storage integration is in use.

Read the full file on GitHub · 227 lines

Files

What ships with it

6 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.

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. 2d ago First seen · 227 lines · 115 tokens per session scan A 6ee491479889

Subscribe to this mod's changes

migrate-sas7bdat-to-snowflake is a skill published in the GitHub repository sfc-gh-dflippo/snowflake-dbt-demo (33 stars, last pushed 3d ago), licensed Apache-2.0. It adds 115 tokens to every session and 2,486 once invoked, about $0.0006 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-09-10.

Related

Other skills, from other repositories

google-cloud-storage-fuse

Mounts Cloud Storage buckets as a POSIX file system with Cloud Storage FUSE (gcsfuse). Use when interacting with gcsfuse: decide whether FUSE, native gs:// reads, or Filestore/Managed Lustre fits a workload, deploy tuned mounts on GKE, Compute Engine, or Cloud Run, enable and size file, stat, and list caches, tune…

google/skills · 214 tokens

cloud-databases-onboarding

Guides users through discovering their database requirements, recommends a Google Cloud database based on a recommendation matrix, and assists in database creation. Use when a user asks 'What database service should I use?', 'Help me pick a database', or when a user wants to create a new database on Google Cloud.…

google/skills · 83 tokens

cloud-sql-basics

This file generates or explains Cloud SQL resources. Use this file when the user asks to create a Cloud SQL instance or database for MySQL, PostgreSQL, or SQL Server. Cloud SQL manages third-party MySQL, PostgreSQL, and SQL Server instances as resources in Cloud SQL. For example, when Cloud SQL creates an open-source…

google/skills · 108 tokens

azure-resource-manager-mysql-dotnet

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "MySQL", "MySqlFlexibleServer", "MySQL Flexible Server", "Azure Database for MySQL", "MySQL database…

microsoft/skills · 87 tokens

azure-mgmt-mongodbatlas-dotnet

Manage MongoDB Atlas Organizations as Azure ARM resources using Azure.ResourceManager.MongoDBAtlas SDK. Use when creating, updating, listing, or deleting MongoDB Atlas organizations through Azure Marketplace integration. This SDK manages the Azure-side organization resource, not Atlas clusters/databases directly.

microsoft/skills · 64 tokens

azure-resource-manager-redis-dotnet

Azure Resource Manager SDK for Redis in .NET. Use for MANAGEMENT PLANE operations: creating/managing Azure Cache for Redis instances, firewall rules, access keys, patch schedules, linked servers (geo-replication), and private endpoints via Azure Resource Manager. NOT for data plane operations (get/set keys, pub/sub) …

microsoft/skills · 114 tokens