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/kilo-org/kilo-marketplace/cortex-codenpx skills add Kilo-Org/kilo-marketplace --skill cortex-codegit clone --depth 1 https://github.com/Kilo-Org/kilo-marketplaceWhat 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.04181 |
| Opus 5 | $0.00046 | $0.02090 |
| Sonnet 5 | $0.00019 | $0.00836 |
| Haiku 4.5 | $0.00009 | $0.00418 |
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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 493 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cortex Code Integration Skill
Prerequisite
This marketplace skill is already installed; do not install or replace skill instructions dynamically. Cortex Code CLI must be installed and configured from the official Snowflake documentation. Verify the reviewed installation with:
which cortex
This skill enables your coding agent to leverage Cortex Code's specialized Snowflake expertise by intelligently routing Snowflake-related operations to Cortex Code CLI in headless mode.
Architecture Overview
Routing Principle: ONLY Snowflake operations → Cortex Code. Everything else → your coding agent.
Key Components:
- Dynamic skill discovery at session initialization
- LLM-based semantic routing (not keyword matching)
- Security wrapper with approval modes (prompt/auto/envelope_only)
- Stateless Cortex execution with context enrichment
- Hybrid memory management
- Audit logging for compliance
Security
The skill includes a security wrapper around Cortex execution with three approval modes:
Approval Modes
-
prompt (default): High security
- User shown approval prompt with predicted tools and confidence
- User must approve before execution
- No audit logging required
- Best for: Interactive sessions, untrusted prompts, production
-
auto: Medium security
- All operations auto-approved
- Mandatory audit logging
- Envelopes still enforced
- Best for: Automated workflows, trusted environments
-
envelope_only: Medium security
- No tool prediction (faster)
- Auto-approved with audit logging
- Relies on envelope blocklist only
- Best for: Trusted environments, low latency needs
Configuration: Set in config.yaml in the skill's install directory, or via organization policy.
IMPORTANT —
config.yamlis optional. The skill ships onlyconfig.yaml.exampleas a template. If noconfig.yamlexists, the Python scripts apply safe defaults (approval_mode: prompt,default_envelope: RO). Do not search, glob, orlsforconfig.yamlbefore executing —ConfigManagerhandles this internally. Only read/createconfig.yamlif the user explicitly asks to change settings.
What ships with it
18 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
- LICENSE 1.8 KB
- local.patch 6.5 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.
- 3d ago First seen · 493 lines · 93 tokens per session scan B d3e76f7d8c86
cortex-code is a skill published in the GitHub repository Kilo-Org/kilo-marketplace (173 stars, last pushed 12d ago), licensed Apache-2.0. It adds 93 tokens to every session and 4,181 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
cognee-community
Use when the user needs something that ships outside cognee core — community database adapters (Qdrant, Milvus, Weaviate, Redis, Pinecone, FalkorDB, Memgraph, DuckDB, NetworkX, …), data-source connectors (Slack, Gmail, Notion, Confluence, Google Drive), custom tasks/pipelines/retrievers (Exa, ScrapeGraph, codify)…
bigquery-ai-ml
Skill for BigQuery AI and Machine Learning queries using standard SQL and AI. functions (preferred over dedicated tools).
cocoindex
This skill should be used when building data processing pipelines with CocoIndex, a Python library for incremental data transformation. Use when the task involves processing files/data into databases, creating vector embeddings, building knowledge graphs, ETL workflows, or any data pipeline requiring automatic change…
data-quality-frameworks
Implement data quality validation with Great Expectations, dbt tests, and data contracts. Use when building data quality pipelines, implementing validation rules, or establishing data contracts.
fabriciq-ontology-cli
Manages Fabric IQ Ontology items, including entity and relationship types, data bindings, and definition updates, plus schema, lineage, grounding, and graph-walk exploration. Use for ontology modelling and traversal. For natural-language questions over a Power BI report use fabriciq.
lineage-diff
Compare column-level lineage between two versions of a SQL query to show added, removed, and changed data flow edges.