preset-snowflake-cortex

preset-snowflake-cortex is a skill for Claude Code, Codex from preset-io/agent-skills. It costs 51 tokens per session (426 once invoked), scanned A, original, Apache-2.0.

A safety review for PlanetScale Postgres, a hosted PostgreSQL database service. It examines database changes, access, recovery, connectivity, and safeguards for automated operations.

In plain words
What is it for?
Use it to review test branches, migration and rollback plans, backups and point-in-time recovery, database roles, query tracking, private connections, webhooks, and traffic controls.
Why use it?
It helps find ways database changes or automation could cause downtime, data loss, unsafe access, or difficult recovery. It provides recommendations without applying changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the preset-api-skills plugin — 17 skills shipped together

Good fit Use it to review test branches, migration and rollback plans, backups and point-in-time recovery, database roles, query tracking, private connections, webhooks, and traffic controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/preset-io/agent-skills/preset-snowflake-cortex
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 preset-io/agent-skills --skill preset-snowflake-cortex
Clone the repo
git clone --depth 1 https://github.com/preset-io/agent-skills

Made for: Claude Code, Codex.

Or install preset-api-skills, the plugin that ships this one along with the rest of its 17 skills.

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 preset-snowflake-cortex

README.md
[![agentmods](https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-snowflake-cortex/github.svg)](https://agentmods.dev/skills/preset-io/agent-skills/preset-snowflake-cortex)
Your own site
<a href="https://agentmods.dev/skills/preset-io/agent-skills/preset-snowflake-cortex"><img src="https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-snowflake-cortex/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 preset-snowflake-cortex

Your own site · 80×15
<a href="https://agentmods.dev/skills/preset-io/agent-skills/preset-snowflake-cortex"><img src="https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-snowflake-cortex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 426 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.00051 $0.00426
Opus 5 $0.00026 $0.00213
Sonnet 5 $0.00010 $0.00085
Haiku 4.5 $0.00005 $0.00043

Measured 11d ago against content hash 27dc901725b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

preset-snowflake-cortex 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 11d 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.

plugins/preset-api-skills/skills/preset-snowflake-cortex/SKILL.md · 41 lines

What it actually says

preset-snowflake-cortex

Use as the Snowflake Cortex routing and safety boundary before Cortex Agent REST or SQL workflows. This is for API/operator workflows, not Preset chatbot runtime instructions.

Always

  • Resolve Snowflake account URL, auth method, role, warehouse, database, and schema.
  • Do not use Preset workspace hostnames for Snowflake Cortex APIs.
  • Do not print PATs, private keys, OAuth tokens, signed JWTs, or session tokens.
  • Verify Cortex Agent privileges before live calls.
  • Treat Cortex Agent execution as high impact because it can call tools, use warehouses, and expose governed Snowflake data.
  • Re-check Snowflake docs for implementation work because Cortex schemas are evolving.

Decision Rules

  • Classify Cortex readiness checks as read-only.
  • Use configured Snowflake account and auth context.
  • Verify role, warehouse, database, schema, Cortex privileges, and cross-region setting.
  • Redact Snowflake secrets.

Workflow Order

  1. Resolve account and auth context.
  2. Inspect role, warehouse, database, and schema.
  3. Check Cortex privileges and cross-region setting.
  4. Report readiness without mutation.

Retrieve

Files

What ships with it

5 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. 11d ago First seen · 41 lines · 51 tokens per session scan A 27dc901725b5

Subscribe to this mod's changes

preset-snowflake-cortex is a skill published in the GitHub repository preset-io/agent-skills (11 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 426 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

memstack-security-rls-guardian

Use this skill when creating or altering database tables in Supabase or PostgreSQL projects. Triggers include: CREATE TABLE, ALTER TABLE, migration files, 'RLS', 'row level security', 'new table', 'database schema'. Enforces Row Level Security policies on every table to prevent unauthorized data access. Do NOT use for…

cwinvestments/memstack · 84 tokens

database-patterns

DB schema design and query tuning: normalization, indexing, N+1, transactions, EXPLAIN. Triggers: schema, index, slow query, N+1, PostgreSQL, MySQL, EXPLAIN, deadlock, query plan.

softspark/ai-toolkit · 55 tokens

database-expert

Advanced database design and administration for PostgreSQL, MongoDB, and Redis. Use when designing schemas, optimizing queries, managing database performance, or implementing data patterns.

travisjneuman/.claude · 36 tokens

ai-vector-brain

Builds vector-brain implementations for repos, docs hubs, and compliance corpora. Use when creating pgvector retrieval brains with scripts, SQL, manifests, and evals.

vasilyu1983/AI-Agents-public · 40 tokens

software-database-design

Designs database schemas, migrations, and data models for PostgreSQL, MySQL, MongoDB, and Redis. Use when planning tables, relationships, indexes, or ORM-backed schema changes.

vasilyu1983/AI-Agents-public · 43 tokens