register-sas-source-units

register-sas-source-units is a skill for Claude Code from sfc-gh-dflippo/snowflake-dbt-demo. It costs 100 tokens per session (949 once invoked), scanned A, original, Apache-2.0.

A registry-building tool that creates JSON records for SAS source files. These records let a test harness—software that runs repeatable checks—find the SAS units before converted SQL is attached.

In plain words
What is it for?
Use it to register one or more .sas files so they can later be paired with converted SQL and tested.
Why use it?
It connects a directory of SAS files to the project’s testing process without modifying the conversion engine.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd ../assess-sas-migration/tool.

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

Good fit Use it to register one or more .sas files so they can later be paired with converted SQL and tested.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/sfc-gh-dflippo/snowflake-dbt-demo
agentmods
npx agentmods add skills/sfc-gh-dflippo/snowflake-dbt-demo/register-sas-source-units

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 register-sas-source-units

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfc-gh-dflippo/snowflake-dbt-demo/register-sas-source-units"><img src="https://agentmods.dev/badge/skills/sfc-gh-dflippo/snowflake-dbt-demo/register-sas-source-units.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 949 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.00100 $0.00949
Opus 5 $0.00050 $0.00475
Sonnet 5 $0.00020 $0.00190
Haiku 4.5 $0.00010 $0.00095

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

Security

Grade A, and why

register-sas-source-units 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/register-sas-source-units/SKILL.md · 74 lines

How it starts

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

Register SAS Source Units into the Code Unit Registry

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

Purpose: Bridge the isolated SAS conversion track to the existing scai test regression harness by writing Code Unit Registry (CUR) entries directly as JSON from the SAS source files. This is the first of two registration steps; the second (register-sas-converted-units) attaches the converted .sql.

Boundary (do not cross): This writes registry/<id>.json files only. It does not register a SnowConvert source dialect, touch the .NET CodeUnitRegistry engine, add SAS to MCP state machines, or join AIM claims/waves. See ../INTEGRATION.md. The contract for the JSON it writes is ../references/cur-schema.md.

When to use

  • After (or alongside) a SAS conversion, when the user wants to run scai test (seed/validate) against the converted output.
  • Automatically invoked by convert-sas-to-snowflake post-conversion (see that skill's wiring), or run standalone against an existing .sas corpus.

Inputs

  1. SAS source — a .sas file or a directory of them.
  2. Project root — the SAS conversion <output_dir>. Gains a .scai/ marker plus sibling registry/, source/, snowflake/, artifacts/ dirs so scai test recognizes it as a project.
  3. Target schema (optional) — DB.SCHEMA the converted objects will live in.

Workflow

  1. Resolve the project root. Default to the conversion <output_dir>. If an existing .scai/ project is present elsewhere, confirm with the user before scaffolding a new one (do not collide with an AIM project).

  2. Run the emitter (deterministic, stdlib-only Python — no Snowflake needed):

    cd ../assess-sas-migration/tool
    python3 emit_cur.py source \
      --sas <dir_or_file> \
      --project-root <output_dir> \
      --source-root <dir> \
      --target-schema DB.SCHEMA
    

    For each SAS file it writes one source-side unit: source.platform = "sas", objectType inferred from the parsed blocks (macro/DATA-step logic -> procedure; pure table-building -> table), file-level dependency edges from the cross-file graph, and a signature from any %MACRO parameters. The .sas file is copied under source/ and md5-checksummed.

  3. Report the counts by objectType and note that only procedure / function / macro units will produce scai test cases (tables register but are not proc-tested). Tier-3 (PySpark) files are not SQL objects and are left for the converted pass to skip.

  4. Next step: run register-sas-converted-units once conversion output exists to attach files.converted and confirm objectType from the generated SQL.

Read the full file on GitHub · 74 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. 2d ago First seen · 74 lines · 100 tokens per session scan A 2b9aeb99407f

Subscribe to this mod's changes

register-sas-source-units 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 100 tokens to every session and 949 once invoked, about $0.0005 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

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens