Skip to content
Back to skills

Cfn Routing Config

ASecurity

Provider routing and hybrid routing config for CFN. Use when configuring which API provider handles requests, or setting up hybrid multi-provider routing.

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 7, 2026
toolsapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned October 1, 2026

npx -y skills add masharratt/claude-flow-novice --skill cfn-routing-config --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cfn Routing Config?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cfn Routing Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/masharratt-cfn-routing-config/badge)](https://www.skillsdirectory.com/skills/masharratt-cfn-routing-config)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cfn-routing-config
description: "Provider routing and hybrid routing config for CFN. Use when configuring which API provider handles requests, or setting up hybrid multi-provider routing."
version: 1.0.0
tags: [mega-skill, routing, provider, hybrid, api]
status: production
---

# 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

Files in this skill

  • SKILL.md1.1 KB
  • lib/hybrid/README.md1 KB
  • lib/hybrid/SKILL.md1.3 KB
  • lib/hybrid/check-dependencies.sh1.1 KB
  • lib/hybrid/config.json690 B
  • lib/hybrid/spawn-worker.sh1.3 KB
  • lib/provider/README.md3.8 KB
  • lib/provider/SKILL.md6.1 KB
  • lib/provider/resolve-provider-model.ts6.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.