Cfn routing config

From masharratt/claude-flow-novice · View interactive version

Cfn routing config is an AI agent skill from the GitHub repository masharratt/claude-flow-novice. Provider routing and hybrid routing config for CFN. Use when configuring which API provider handles requests, or setting up hybrid multi-provider routing.

How to use this skill

Skill file

Routing Config Skill (Mega-Skill)

Version: 1.0.0

Purpose: Provider routing and hybrid configuration for CFN

Status: Production

Consolidates: cfn-provider-routing, cfn-hybrid-routing


Overview

This mega-skill provides complete routing configuration:


Directory Structure

routing-config/
├── SKILL.md
├── lib/
│   ├── provider/         # From cfn-provider-routing
│   └── hybrid/           # From cfn-hybrid-routing
└── cli/

GUARDRAIL: Anthropic API Ban (CRITICAL)

Anthropic API calls are BANNED in project code. This covers Claude SDK calls, direct Anthropic provider integrations, and benchmark candidates referencing anthropic:claude-* models. Claude Code itself stays in use for development; the ban applies only to programmatic API usage from project code.

Any routing config MUST resolve Anthropic model ids to their xAI replacements:

| Banned model | Replacement |

|--------------|-------------|

| anthropic:claude-sonnet-* | xai:grok-4-1-fast-non-reasoning |

| anthropic:claude-opus-* | xai:grok-4.20-beta-0309-reasoning |

| anthropic:claude-haiku-* | xai:grok-4-1-fast-non-reasoning |

Adding any Anthropic provider integration requires explicit per-request user permission. No exceptions, no defaults.


Migration Paths

| Old Path | New Path |

|----------|----------|

| cfn-provider-routing/ | routing-config/lib/provider/ |

| cfn-hybrid-routing/ | routing-config/lib/hybrid/ |


Version History

1.0.0 (2025-12-02)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.