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.
npx agentmods add skills/snowflake-labs/subagent-cortex-code/cortex-codenpx skills add Snowflake-Labs/subagent-cortex-code --skill cortex-codegit clone --depth 1 https://github.com/Snowflake-Labs/subagent-cortex-codeWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00093 | $0.04172 |
| Opus 5 | $0.00046 | $0.02086 |
| Sonnet 5 | $0.00019 | $0.00834 |
| Haiku 4.5 | $0.00009 | $0.00417 |
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 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.
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.
The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What ships with it
16 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.
- config.yaml.example 11 KB
- cortex-snowflake-routing.mdc 1.8 KB
- scripts/discover_cortex.py 6.3 KB runs code
- scripts/execute_cortex.py 15 KB runs code
- scripts/predict_tools.py 5.5 KB runs code
- scripts/read_cortex_sessions.py 6.3 KB runs code
- scripts/route_request.py 9.5 KB runs code
- scripts/security_wrapper.py 14 KB runs code
- security/__init__.py 67 B runs code
- security/approval_handler.py 4.9 KB runs code
- security/audit_logger.py 5.2 KB runs code
- security/cache_manager.py 5.3 KB runs code
- security/config_manager.py 8.9 KB runs code
- security/default_policy.yaml 1.2 KB
- security/policies/default_policy.yaml 1.2 KB
- security/prompt_sanitizer.py 4.6 KB runs code
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.
- 2d ago First seen · 484 lines · 93 tokens per session scan B 18bc74cfce1c
cortex-code is a skill published in the GitHub repository Snowflake-Labs/subagent-cortex-code (58 stars, last pushed 3mo ago), with no licence file. It adds 93 tokens to every session and 4,172 once invoked, about $0.0005 per session on Opus 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.
Other skills, from other repositories
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…
competitor-ad-intelligence
Scrape competitor ads from Meta, TikTok, Google, and LinkedIn ad libraries, analyze creative patterns (hooks, formats, CTAs), reverse-engineer landing page funnels, and produce a strategic teardown with vulnerability analysis and counter-play recommendations. Use when you need to understand the competitive ad…
google-search-ads-builder
End-to-end Google Search Ads campaign builder. Performs deep keyword research (competitor SEO, review language mining, Reddit/HN community terminology, site audit), builds keyword architecture with funnel mapping and intent classification, creates ad group structure, generates headline/description variants, builds…
meta-ads-analyzer
Diagnose Meta Ads campaign performance and account gaps using Meta's actual system mechanics — including customer-journey coverage, Breakdown Effect, Learning Phase, Auction Overlap, Pacing, and Creative Fatigue. Use for performance diagnosis, account audits, full-funnel or TOF/MOF/BOF gap analysis, deciding what to…
release-core-test
Invoke when dev-testing a Cyrus change that spans CYPACK (edgeworker + CLI) and CYHOST (Vercel-hosted GUI) and the hosted GUI needs to point at an unreleased cyrus-core from this repo. Publishes cyrus-core (and claude-runner if needed) as a -test.N prerelease under the npm test dist-tag so CYHOST can install it via…
cyrus-setup-claude-auth
Configure Claude Code authentication for Cyrus — API key, OAuth token, or third-party provider.