cortex-code

cortex-code is a skill for Claude Code, Codex from Snowflake-Labs/subagent-cortex-code. It costs 93 tokens per session (4,172 once invoked), scanned B, original, no licence file.

A routing skill for Snowflake, a cloud data platform used for databases and data warehouses. It sends Snowflake work to the Cortex Code command-line tool for specialised assistance.

In plain words
What is it for?
Use it for Snowflake SQL, data warehouses, Snowpark, dynamic tables, data governance, security, and Cortex AI features.
Why use it?
It keeps Snowflake-specific requests with an agent that understands Snowflake rather than treating them as general coding tasks.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it for Snowflake SQL, data warehouses, Snowpark, dynamic tables, data governance, security, and Cortex AI features.

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

Made for: Claude Code, Codex.

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 cortex-code

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/snowflake-labs/subagent-cortex-code/cortex-code"><img src="https://agentmods.dev/badge/skills/snowflake-labs/subagent-cortex-code/cortex-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,172 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk warn 15 Sept 2026
How audits are shown
Origin unknown 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.00093 $0.04172
Opus 5.5 $0.00037 $0.01669
Sonnet 5.5 $0.00019 $0.00834
Haiku 4.5 $0.00009 $0.00417

Measured 1mo ago against content hash 18bc74cfce1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cortex-code scanned grade B with 2 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 1mo ago.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/discover_cortex.py, scripts/execute_cortex.py, scripts/predict_tools.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **RW** (Read-Write): Blocks destructive operations like rm -rf, sudo - **RESEARCH**: Read access plus web tools, blocks write operations

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **RW** (Read-Write): Blocks destructive operations like rm -rf, sudo

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/cortex-code/SKILL.md · 484 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 1mo ago First seen · 484 lines · 93 tokens per session scan B 18bc74cfce1c

Subscribe to this mod's changes

cortex-code is a skill published in the GitHub repository Snowflake-Labs/subagent-cortex-code (62 stars, last pushed 5mo ago), with no licence file. It adds 93 tokens to every session and 4,172 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, recursive force delete). 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

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

cqrs-implementation

Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.

wshobson/agents · 35 tokens

projection-patterns

Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.

wshobson/agents · 36 tokens

extract-source-sample

Given the path to a finished content-goose ad-run folder, extract everything that defines that ad — recipe shot list, VO script, characters, voices, world, atom-skills, master mp4 — and emit a source-sample.json in the exact shape the upload-ad-sample skill writes to the Goose Ads library. Also links every character…

gooseworks-ai/goose-skills · 160 tokens

create-video-seedance-2-fal

Generate a single 4-15s vertical video clip with ByteDance Seedance 2.0 reference-to-video via fal.ai. Multi-image reference (avatar + product + setting), native lip-synced VO + ambient audio (generate-audio on by default), internal multi-cut handling within one render. Routes through the GooseWorks FAL proxy (bills…

gooseworks-ai/goose-skills · 117 tokens