Skip to main content
Back to Projects
07 // AI & Intelligent SystemsIMPLEMENTED

Automatic Agent Skill Router V0.2

BM25 + Cosine hybrid ranking, DAG task decomposition, and SHA-256 trust verification for AI agents.

Zero-dependency Node.js CLI/router with static security scanner and test suite.

Engineering Problem Statement

AI coding agents blindly load oversized skill prompts or unverified third-party instructions, causing context bloat and prompt-injection risks.

Technical Approach

Built a deterministic routing pipeline that normalizes tasks, decomposes work into a dependency DAG, ranks skills via BM25 + semantic cosine + 5-factor reranking, runs a static security scanner, and verifies SHA-256 instruction integrity.

Architecture & Implementation Notes

  • Supports Mode A (Single-Agent), Mode B (Multi-Agent), and Mode C (Sequential Fallback) orchestration.

Technical Limitations & Scope

  • Local skill registry quality depends on well-structured `SKILL.md` metadata.