SL

snowflake-labs/subagent-cortex-code

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

65 stars 质量 67 趋势 14NOASSERTION

将Snowflake操作从任何编码代理(Claude Code、Cursor、Codex、Github Copilot、Windsurf、VSCode等)路由到Cortex Code CLI——支持智能路由、安全包和无头执行。

概览

该技能将 Snowflake 相关操作导入 Cortex Code CLI,使编码代理能够在无头模式下利用 Snowflake 的专业技能。 :Cortex Code CLI 已安装并配置。 当你运行 npx 技能 add snowflake-labs/subagent-cortex-code --copy ---global 时,技能 CLI 知道的每个“通用”代理都会自动安装该技能。不需要额外步骤——只需重启代理即可。 - Amp - 反重力 - Cline - 深层特工 - Firebender - Gemini CLI - Kimi Code CLI - OpenCode - Warp 关于支持40+代理的完整列表(包括可选的选择加入代理如Continue、Goose、OpenHands、Roo Code等),请参见技能CLI代理目录。交互式npx提示允许你每次安装选择额外目标。 NPX 技能将安装添加到 ~/.agents/skills/cortex-code/。将其移到 Claude Code 的技能目录中: 启动克劳德代码并提及任何与雪花有关的内容——技能会自动激活。 参见集成/Claude代码/README。

概述(AI 翻译)

该技能将 Snowflake 相关操作导入 Cortex Code CLI,使编码代理能够在无头模式下利用 Snowflake 的专业技能。

快速安装

选择你的编码代理:

代理 安装方法 详情
克劳德密码 npx skills add snowflake-labs/subagent-cortex-code --copy --global → 克劳德代码
光标 npx skills add snowflake-labs/subagent-cortex-code --copy --global + 复制路由规则 → 光标
风帆冲浪 npx skills add snowflake-labs/subagent-cortex-code --copy --global → 风帆冲浪
法典 bash integrations/codex/install.sh(not npx — 使用cortexcode-tool)) →法典
GitHub副驾驶 npx skills add snowflake-labs/subagent-cortex-code --copy --global → GitHub副驾驶
VSCode / 终端 bash integrations/cli-tool/setup.sh → CLI 工具

所有人员的前提条件:Cortex Code CLI 已安装并配置。

###也和许多其他特工一起开箱即用

当你运行npx skills add snowflake-labs/subagent-cortex-code --copy --global时,该技能会自动为skillsCLI知道的每个“通用”代理安装。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Cortex Code Skill

This skill routes Snowflake-related operations to Cortex Code CLI, enabling coding agents to leverage specialized Snowflake expertise in headless mode.

Quick Install

Choose your coding agent:

Agent Install method Details
Claude Code npx skills add snowflake-labs/subagent-cortex-code --copy --global → Claude Code
Cursor npx skills add snowflake-labs/subagent-cortex-code --copy --global + copy routing rule → Cursor
Windsurf npx skills add snowflake-labs/subagent-cortex-code --copy --global → Windsurf
Codex bash integrations/codex/install.sh (not npx — uses cortexcode-tool) → Codex
GitHub Copilot npx skills add snowflake-labs/subagent-cortex-code --copy --global → GitHub Copilot
VSCode / terminal bash integrations/cli-tool/setup.sh → CLI tool

Prerequisite for all: Cortex Code CLI installed and configured.

which cortex          # must return a path
cortex connections list   # must show an active connection

Also works out of the box with many other agents

When you run npx skills add snowflake-labs/subagent-cortex-code --copy --global, the skill is automatically installed for every “universal” agent the skills CLI knows about. No extra steps required — just restart the agent.

Universal agents (installed to ~/.agents/skills/cortex-code/, always included):

  • Amp
  • Antigravity
  • Cline
  • Deep Agents
  • Firebender
  • Gemini CLI
  • Kimi Code CLI
  • OpenCode
  • Warp

For the full list of 40+ supported agents (including optional opt-in ones like Continue, Goose, OpenHands, Roo Code, etc.) see the skills CLI agents catalog. The interactive npx prompt lets you select additional targets per install.


Claude Code

Install the skill via npx:

npx skills add snowflake-labs/subagent-cortex-code --copy --global

npx skills add installs to ~/.agents/skills/cortex-code/. Move it into Claude Code’s skills directory:

mv ~/.agents/skills/cortex-code ~/.claude/skills/cortex-code

Verify:

ls ~/.claude/skills/cortex-code/SKILL.md

Start Claude Code and mention anything Snowflake-related — the skill activates automatically.

Optional: configure security mode

cp ~/.claude/skills/cortex-code/config.yaml.example \
   ~/.claude/skills/cortex-code/config.yaml
# edit as needed — default is "prompt" (asks before executing)

See integrations/claude-code/README.md for full details.


Cursor

Step 1 — Install the skill:

npx skills add snowflake-labs/subagent-cortex-code --copy --global
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add snowflake-labs/subagent-cortex-code
新手?先看 mcpskill.org 教程 →