/oracle-ai-data-platform-workbench-spark-connectors:aidp-snowflakefrom oracle-ai-data-platform-workbench-spark-connectors
Reads Snowflake data in AIDP notebooks via the `aidataplatform` Spark format handler. Supports Basic and KeyPair authentication, direct reads, external-catalog reads, and SQL pushdown.
Ships in oracle-ai-data-platform-workbench-spark-connectors. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
aidp-snowflake — read Snowflake via AIDP aidataplatformUse the built-in AIDP Snowflake connector (type=SNOWFLAKE). It supports Basic and KeyPair authentication, direct ingestion reads, external-catalog reads, and SQL pushdown. Do not generate write code for Snowflake in the 4.0 release.
aidp-jdbc-custom.import os
from oracle_ai_data_platform_connectors.aidataplatform import (
AIDP_FORMAT, aidataplatform_options,
)
opts = aidataplatform_options(
type="SNOWFLAKE",
host=os.environ["SNOWFLAKE_HOST"],
port=443,
database_name=os.environ["SNOWFLAKE_DATABASE"],
user=os.environ["SNOWFLAKE_USER"],
password=os.environ["SNOWFLAKE_PASSWORD"],
schema=os.environ["SNOWFLAKE_SCHEMA"],
table=os.environ["SNOWFLAKE_TABLE"],
extra={
"authentication.method": "Basic",
"warehouse": os.environ["SNOWFLAKE_WAREHOUSE"],
"role": os.environ.get("SNOWFLAKE_ROLE", ""),
},
)
df = spark.read.format(AIDP_FORMAT).options(**opts).load()
df.show(5)
Set one of private.key.file or private.key.content. Use private.key.pass.phrase only for an encrypted key.
opts = aidataplatform_options(
type="SNOWFLAKE",
host=os.environ["SNOWFLAKE_HOST"],
port=443,
database_name=os.environ["SNOWFLAKE_DATABASE"],
user=os.environ["SNOWFLAKE_USER"],
schema=os.environ["SNOWFLAKE_SCHEMA"],
table=os.environ["SNOWFLAKE_TABLE"],
extra={
"authentication.method": "KeyPair",
"warehouse": os.environ["SNOWFLAKE_WAREHOUSE"],
"role": os.environ.get("SNOWFLAKE_ROLE", ""),
"private.key.file": os.environ["SNOWFLAKE_PRIVATE_KEY_FILE"],
"private.key.pass.phrase": os.environ.get("SNOWFLAKE_PRIVATE_KEY_PASSPHRASE", ""),
},
)
df = spark.read.format(AIDP_FORMAT).options(**opts).load()
df.show(5)
To supply the key inline, replace private.key.file with private.key.content; never hard-code a private key in a notebook.
Create the Snowflake external catalog in Master Catalogs first. You can then use a three-part table name or reuse its connection with catalog.id.
catalog_df = spark.table("<CATALOG_NAME>.<SCHEMA>.<TABLE_NAME>")
catalog_df.show(5)
catalog_id_df = (spark.read.format(AIDP_FORMAT)
.option("catalog.id", "<CATALOG_ID>")
.option("schema", "<SCHEMA>")
.option("table", "<TABLE_NAME>")
.load())
catalog_id_df.show(5)
Use pushdown.sql to execute a source query in Snowflake.
pushdown_df = (spark.read.format(AIDP_FORMAT)
.options(**opts)
.option("pushdown.sql", "SELECT * FROM <SCHEMA>.<TABLE_NAME> LIMIT 10")
.load())
pushdown_df.show(5)
df.write, saveAsTable, insertInto, or write.mode with Snowflake.Basic or KeyPair.warehouse for both authentication modes; role is optional.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (oracle-samples/oracle-aidp-samples) — no native marketplace selected
npx claudepluginhub p/oracle-samples-oracle-ai-data-platform-workbench-spark-connectors-ai-claude-code-plugins-oracle-ai-data-platform-workbench-spark-connectors29 skills in this plugin
/aidp-alhConnect from an AIDP notebook to Oracle AI Lakehouse (ALH), Autonomous Data Warehouse (ADW), or Autonomous Transaction Processing (ATP). Prefer the AIDP `aidataplatform` Spark format handler for wallet/password and catalog.id paths (`ORACLE_ALH` / `ORACLE_ATP`), but use raw Spark JDBC for IAM DB-token because the AIDP connector does not support DB-token auth yet./aidp-aws-s3Read and write AWS S3 (`s3a://`) from an AIDP notebook. Use when the user mentions S3, AWS S3 bucket, s3a, or has AWS access keys. Auth is access key + secret key via the Hadoop S3A connector. boto3 is also available for non-Spark management operations (list, copy)./aidp-azure-adlsRead and write Azure Data Lake Storage Gen2 (`abfss://`) from an AIDP notebook. Use when the user mentions ADLS, Azure Data Lake, abfss, or wants to ingest from a multi-cloud Azure source. Auth is OAuth client-credentials (Service Principal client_id + secret + tenant).Other plugins' skills for the same job