SKILL.md
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:
- Provider - API provider selection and routing rules
- Hybrid - Hybrid mode routing (CLI + Task coordination)
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)
- Consolidated 2 routing skills into mega-skill