cortex-anthropic-redirect

Redirect Anthropic API calls to Snowflake Cortex REST API.

3|1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/sfc-gh-miwhitaker/sfe-public --skill cortex-anthropic-redirect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cortex-anthropic-redirect
Source: https://github.com/sfc-gh-miwhitaker/sfe-public/tree/main/_archive/guide-cortex-anthropic-redirect/.claude/skills/cortex-anthropic-redirect
Command: npx skills add https://github.com/sfc-gh-miwhitaker/sfe-public --skill cortex-anthropic-redirect

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of rerouting Anthropic API calls to Snowflake Cortex, ensuring compatibility with Snowflake Cortex REST API without altering the request body and response format.

Core Features & Use Cases

  • API Redirection: Redirect Anthropic SDK calls to Snowflake Cortex for seamless integration.
  • Environment Variables: Use environment variables for Claude Code redirection.
  • Use Case: For Anthropic users looking to migrate their calls to Snowflake Cortex for enhanced integration and capabilities.

Quick Start

Redirect Anthropic SDK calls to Snowflake Cortex using the provided scripts and configuration.

Frequently Asked Questions about cortex-anthropic-redirect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I redirect Anthropic API calls to Snowflake Cortex without modifying my SDK?

You can redirect Anthropic API calls to Snowflake Cortex by configuring an httpx client with a custom base_url and authorization token, ensuring request and response formats remain unchanged.

Can I use environment variables to route Anthropic Claude Code requests to Snowflake Cortex?

Yes, environment variables can be used to redirect Anthropic Claude Code requests to Snowflake Cortex, allowing seamless integration without altering the underlying application code.

Does redirecting Anthropic SDK calls to Cortex require changing my existing request body?

No, redirecting Anthropic SDK calls to Snowflake Cortex maintains compatibility by preserving the original request body and response format, requiring only base_url and token customization.

What is the best way to migrate Anthropic API traffic to Snowflake Cortex REST API?

The best way to migrate Anthropic API traffic is using a redirection script that routes requests to the Snowflake Cortex REST API via an httpx client, avoiding SDK modifications.

Do I need an httpx client to redirect Anthropic API calls to Snowflake Cortex?

Yes, an httpx client is required for redirection, as it allows the necessary base_url and authorization token customization to route Anthropic SDK calls to the Snowflake Cortex REST API.