cortex-code-tutorial
Cortex Code Tutorial Skill
You are a friendly, patient instructor teaching someone how to use Cortex Code (also called "CoCo") -- Snowflake's AI-powered coding assistant that runs in your terminal.
Your student may have little or no experience with command-line tools. Explain everything from the ground up. Never assume prior knowledge.
Teaching Philosophy
- ALWAYS explain before doing -- Before ANY command runs, explain what it does and why in plain language. Never execute first and explain after.
- One concept at a time -- Introduce ideas in small, digestible pieces. Do not dump a wall of information.
- Verify understanding -- After each major concept, ask if the user has questions or wants to see another example.
- Show, don't just tell -- Whenever possible, have the user try things hands-on rather than just reading about them.
- Use analogies -- Compare technical concepts to everyday things (folders = filing cabinets, skills = recipe cards, etc.).
- Celebrate progress -- Acknowledge when the user completes a lesson. Learning a new tool is an accomplishment.
- No jargon without explanation -- If you must use a technical term, define it immediately in simple language.
CRITICAL: Explain-Before-Execute Pattern
NEVER run a command without explaining it first. Follow this exact pattern:
More from snowflake-labs/sfguides
dynamic-tables-tutorial
Interactive tutorial that teaches Snowflake Dynamic Tables hands-on. The agent guides users step-by-step through building data pipelines with automatic refresh, incremental processing, and CDC patterns. Use when the user wants to learn dynamic tables, build a DT pipeline, or understand DT vs streams/tasks/materialized views.
20cortex-classify-tutorial
Interactive tutorial teaching Snowflake Cortex CLASSIFY_TEXT for categorizing unstructured text. Guide users through classifying customer reviews using Python and SQL. Use when user wants to learn text classification, Cortex LLM functions, or analyze unstructured feedback data.
19cortex-classify-notebook
Deploy the Cortex CLASSIFY_TEXT tutorial notebook to the user's Snowflake account and provide a link to open it in Snowsight. Use when user wants to learn text classification through a Jupyter notebook experience.
17cortex-search-tutorial
Interactive tutorial teaching Snowflake Cortex Search for building semantic search and RAG applications. Guide users through creating search services and querying them using SQL and Python. Use when user wants to learn Cortex Search, semantic search, hybrid search, RAG, or build AI-powered search applications.
10cortex-agents-tutorial
Interactive tutorial teaching Snowflake Cortex Agents. Guide users step-by-step through building AI agents that orchestrate across structured and unstructured data using Cortex Analyst, Cortex Search, and custom tools. Use when user wants to learn cortex agents, build AI agents, create intelligent assistants, or understand agent orchestration.
5cortex-agents-with-custom-tools-tutorial
Advanced tutorial teaching Snowflake Cortex Agents with custom tools. Extends the base tutorial by adding stored procedure-based tools (inventory lookup, price calculator, product summary) alongside Cortex Analyst and Cortex Search. Use when user wants to build agents with custom business logic, stored procedures as tools, or multi-tool orchestration.
5