Skip to content
Development
Skill

/preset-cortex-agents

Use Snowflake Cortex Agent REST and SQL APIs for listing, describing, creating, updating, deleting, running agents, streaming responses, and SQL wrappers. Use only for direct API workflows; Do not use for MCP-only work.

From plugin
preset-io-agent-skills
1228 skills
Install
$ npx -y skills add preset-io/agent-skills --skill preset-cortex-agents --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/preset-cortex-agents

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use Snowflake Cortex Agent REST and SQL APIs for listing, describing, creating, updating, deleting, running agents, streaming responses, and SQL wrappers. Use only for direct API workflows; Do not use for MCP-only work.

SKILL.md

preset-cortex-agents.SKILL.md
name: preset-cortex-agents
description: Use Snowflake Cortex Agent REST and SQL APIs for listing, describing, creating, updating, deleting, running agents, streaming responses, and SQL wrappers. Use only for direct API workflows; Do not use for MCP-only work.

preset-cortex-agents

Use for Snowflake Cortex Agent object management and run workflows.

Always

  • Account, auth, role, warehouse, database/schema, privilege, and safety context comes from `preset-snowflake-cortex`; consult it when that context is missing.
  • Prefer read-only list/describe before mutations.
  • Require confirmation of query, role, tools, budget, and output handling before any run.
  • Require rollback planning before create, update, replace, or delete.
  • Treat streamed events as sensitive; store redacted summaries unless raw output handling is approved.
  • Do not rely on pre-2025 Cortex Agent schemas.

Decision Rules

  • Distinguish list and describe from run, create, update, and drop operations.
  • Require approval for data-returning agent runs and mutations.
  • Preserve streaming output handling and redaction.
  • Require AUTOCOMMIT for SQL DDL workflows.

Workflow Order

1. Verify Snowflake Cortex account, auth, role, warehouse, database, schema, and privilege context. 2. List or describe agents first. 3. Prepare run or mutation approval summary with tools, query, budget, and output handling. 4. Stop before run, create, update, replace, or drop until approved.

Retrieve

  • Object-based or ad hoc `agent:run`: [references/agent-runs.md](references/agent-runs.md)
  • List/describe/create/update/delete agents: [references/agent-management.md](references/agent-management.md)
  • SQL create/alter/show/describe/drop: [references/sql-agent-ddl.md](references/sql-agent-ddl.md)
  • `SNOWFLAKE.CORTEX.DATA_AGENT_RUN` SQL wrapper: [references/sql-wrapper.md](references/sql-wrapper.md)
  • Safety and approval checklist: load `preset-snowflake-cortex` and then `references/cortex-safety.md`.
Read more
Ships withpreset-io-agent-skills

Agent guidance for working with Preset, Apache Superset, and Superset MCP tools. The skills work across Claude, OpenAI Codex, Cursor, GitHub Copilot, Snowflake Cortex Code CLI, and Gemini CLI from a single source.

Get the whole plugin
Stats
12
Stars
1
Forks
Active
Maintenance
Shell
Language
Apache-2.0
License
7d ago
Last commit
3mo ago
Created

Repo: preset-io/agent-skills

Other skills on preset-io-agent-skills.