mkagent-detector

Solid

Detects task agent, complexity tier, and model automatically at Phase 0 orient. Invoked first in every workflow. NOT for runtime agent routing inside a single skill (see orchestration-rules.md).

AI & Automation 14 stars 2 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
39
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Agent Detector **Priority:** HIGHEST - Runs FIRST for every message. Automatically detects the correct agent, task complexity level, and model tier for each user message using a multi-layer scoring system. No manual agent selection needed -- the detector analyzes task content, explicit technology mentions, user intent, project context, and file patterns to route to the right agent with the right model. ## When to Use **ALWAYS** - Every user message, no exceptions. This skill fires before any other skill or agent action. It determines who handles the task, at what complexity level, and with which model. ## Workflow 0. **Safety baseline precheck (HARD GATE).** Before any other step, scan the context window for the cached-sentinel marker emitted by `safety-sentinel-inject.cjs`: ``` ## Safety baseline: verified (cached, session <id>) ``` If the marker IS present (turns 2..N of the same session): emit `Safety baseline: verified (cached)` and SKIP the 5-file Read loop below. The 5 rules remain in context from the inner harness's CLAUDE.md auto-load; the sentinel only suppresses redundant re-reads. If the marker is ABSENT (turn 1 of a new session, OR `MEOWKIT_SKIP_SAFETY_SENTINEL=off`): `Read` each of the 5 always-on safety/baseline rules: - `.claude/rules/security-rules.md` - `.claude/rules/injection-rules.md` - `.claude/rules/gate-rules.md` - `.claude/rules/core-behaviors.md` - `.claude/rules/development-rules.md` If any `...

Details

Author
ngocsangyem
Repository
ngocsangyem/MeowKit
Created
2 months ago
Last Updated
2 days ago
Language
TypeScript
License
MIT

Related Skills