Skip to content
Back to skills

Scale Routing

ASecurity

Maps task keywords to a complexity tier. NOT for mk:agent-detector.

  • 17 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added May 29, 2026
ai-agentspythongogitfrontendbackenddevopssecurity

Security analysis

A100/100

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

Scanned November 23, 2026

npx -y skills add ngocsangyem/MeowKit --skill scale-routing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scale Routing?

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

Security grade badge for Scale Routing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ngocsangyem-scale-routing/badge)](https://www.skillsdirectory.com/skills/ngocsangyem-scale-routing)

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: mk:scale-routing
description: "Maps task keywords to a complexity tier. NOT for mk:agent-detector."
triggers:
  - task classification
  - complexity routing
  - phase 0 orient
phase: 0
user-invocable: false
source: local
keywords:
  - scale-routing
  - domain-classification
  - complexity-routing
  - csv-routing
  - execution-tier
when_to_use: "Auto while tiering."
owner: portability
criticality: medium
status: active
runtime: claude-code
requires_runtime: [python>=3.9]
---

# Scale-Adaptive Routing

Classifies a task's complexity from domain keywords, so a fintech auth change is COMPLEX
without a judgment call. Phase 0 sub-skill: the orchestrator runs it while tiering; users do
not invoke it. The agent and risk-flag choice is `mk:agent-detector`.

## How it works

1. **Fast exit.** Match the task description against `data/domain-complexity.csv`. If the match
   is a `low` row and the task names one file, return it and stop.
2. **Otherwise add evidence.** For an ambiguous or multi-domain match, read the task content,
   the project layout and recent git changes (`references/multi-layer-detection.md`) and give
   a confidence: HIGH, MEDIUM or LOW. Task content outranks repository type.
3. **Classify the task type** as `bug_fix`, `feature`, `refactor`, `security`, `devops`, `docs`,
   `review` or `intake`, with a suggested skill (`references/task-type-classification.md`).
4. **Product areas.** If `.meowkit/product-areas.yaml` exists, merge its keywords and paths
   (`references/product-area-config.md`).
5. **Return** `{domain, level, workflow, task_type, suggested_skill, confidence, product_area?}`.
   No match, or LOW confidence: return `unknown` and defer to manual classification.

The tier each `level` maps to, and the escalation rules, are in
`.claude/skills/agent-detector/references/model-selection-rules.md`. This skill returns
complexity, not a model. `mk:autobuild` chooses its own scaffolding density: see
`.claude/skills/autobuild/references/adaptive-density-matrix.md`.

## CSV schema

| Column | Values | Purpose |
|---|---|---|
| domain | snake_case identifier | Domain name |
| signals | comma-separated keywords | Matched against the task description |
| level | low, medium, high | Complexity |
| workflow | one-shot, standard, enhanced, advanced | Workflow intensity |
| web_searches | comma-separated topics | Suggested research queries |

A `one-shot` workflow may skip the plan file only when the CSV says so and the task has zero
blast radius; the CSV alone is not enough. Teams extend routing by adding rows to the CSV.

## Gotchas

- Several domains can match ("fintech dashboard" hits fintech and internal_tools): use the highest level.
- Matching is case-insensitive and the first match names the domain.
- Low-signal keywords ("data", "app") cause false positives: keep signals specific.
- Task content beats repository type: a login-button style fix in a backend repo is frontend work.

## Files

- `data/domain-complexity.csv`: domain to complexity to workflow.
- `references/multi-layer-detection.md`: the evidence layers and confidence.
- `references/task-type-classification.md`: task types, signals and suggested skills.
- `references/product-area-config.md`: the optional `.meowkit/product-areas.yaml` schema.

Files in this skill

  • SKILL.md6.3 KB
  • data/domain-complexity.csv1.7 KB
  • references/multi-layer-detection.md4.6 KB
  • references/product-area-config.md2.8 KB
  • references/task-type-classification.md3 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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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