functional-area-resolver

Compress agent routing tables into functional-area dispatchers with intent routing.

1|Updated May 9, 2026
One-click install
npx skills add https://github.com/weiping/gbrain-cn --skill functional-area-resolver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: functional-area-resolver
Source: https://github.com/weiping/gbrain-cn/tree/main/skills/functional-area-resolver
Command: npx skills add https://github.com/weiping/gbrain-cn --skill functional-area-resolver

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Routing files like RESOLVER.md and AGENTS.md grow too large, wasting valuable context budget and making agent routing slower or less reliable.

Core Features & Use Cases

  • Functional-area dispatch compression: Converts long skill-per-row routing tables into one entry per functional area that dispatches to the right sub-skills.
  • Dispatcher-aware routing: Uses a "(dispatcher for: ...)" clause so the model can drill into sub-skill options while keeping the top-level routing compact.
  • Evaluation-focused safety checks: Guides verification via routing-eval structural checks and an LLM harness so routing accuracy is preserved after compression.
  • Use Case: If your routing file is ~25KB and hits context limits, apply this pattern to compress it to ~13KB while maintaining correct intent-to-skill routing.

Quick Start

Ask the AI to compress your RESOLVER.md or AGENTS.md into functional-area dispatchers using the "(dispatcher for: ...)" format, then run routing-eval to verify routing accuracy before committing.

Frequently Asked Questions about functional-area-resolver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compress an agent routing file that is too large for the context budget?

To compress agent routing, convert granular skill-per-row tables in RESOLVER.md or AGENTS.md into functional-area dispatchers. This shrinks routing files while preserving intent-to-skill routing accuracy through a two-layer structure.

What is functional-area dispatch compression for agent routing?

Functional-area dispatch compression is a routing optimization technique that consolidates long skill-per-row tables into one entry per functional area. It uses a "(dispatcher for: ...)" clause to maintain correct sub-skill selection while reducing file size.

How do I verify routing accuracy after compressing AGENTS.md?

After compressing AGENTS.md, verify routing accuracy by running routing-eval structural checks and an LLM harness. This evaluation-focused safety step ensures the compressed dispatcher preserves the original intent routing before committing.

Can I use functional-area dispatchers for a 25KB RESOLVER.md hitting context limits?

Yes, functional-area dispatchers are designed for large routing files hitting context limits. The compression pattern can reduce a ~25KB RESOLVER.md to ~13KB while maintaining reliable, correct intent-to-skill routing.

What format does agent routing compression require for sub-skill discovery?

Agent routing compression requires YAML frontmatter-driven discovery plus area entries with a "(dispatcher for: ...)" list. This format allows the model to drill into sub-skill options while keeping the top-level routing table compact.

When should I not use functional-area routing compression?

You should avoid functional-area routing compression if your RESOLVER.md or AGENTS.md is small enough to fit comfortably within context limits, as the two-layer routing structure adds dispatch overhead that is unnecessary for compact agent routing files.