functional-area-resolver
Skill by garrytan
Compresses an agent's routing file (RESOLVER.md or AGENTS.md) by grouping skill-per-row tables into functional-area dispatcher entries. Aimed at agent builders whose routing files have grown large.
Install functional-area-resolver
Built from the published package, never by AI.
git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.claude/skills && cp -r /tmp/gbrain/skills/functional-area-resolver ~/.claude/skills/functional-area-resolverRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install functional-area-resolver in Claude Code
git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gbrain/skills/functional-area-resolver ~/.gemini/antigravity-cli/skills/functional-area-resolverAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install functional-area-resolver in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill shrinks the routing file an AI agent uses to pick a sub-skill. Instead of one row per skill, it writes one entry per functional area, such as brain and knowledge or email and comms. Each entry lists its sub-skills in a "(dispatcher for: ...)" clause, so the model can read one area entry and route to the right sub-skill. The source reports that a 270-row, 25KB file was reduced to 13 area rows, about 13KB.
The skill includes preconditions and checks. It refuses to compress a file under 12KB or one with uncommitted git changes unless the user passes --force. It keeps always-on gate entries as individual rows and requires routing accuracy checks before committing. The source is aimed at agent builders who maintain large routing files, especially gbrain workspaces.
Written from the project's SKILL.md and checked against it.
What it can do
- Area compressionReplaces many per-skill rows with one dispatcher entry per functional area.
- Dispatcher clauseLists sub-skills in a "(dispatcher for: ...)" clause so the model can see options.
- Size gateRefuses to compress a routing file under 12KB unless forced.
- Git safety checkRefuses to edit a routing file with uncommitted git changes unless forced.
- File selectionChooses between skills/RESOLVER.md and a sibling AGENTS.md when both are present.
- Routing eval gateRuns gbrain routing-eval and reverts if fixture accuracy drops below 95%.
- LLM A/B verificationRuns a harness that checks an edited routing file against a frontier model.
What you need
- Git
- Node.js for the A/B eval harness
- A gbrain repository checkout for the harness and routing-eval command
- Access to Anthropic models for the A/B eval
Try asking
- Compress my resolver, it is too big
- Slim down my agents.md routing table
- Run the routing eval after I compress my resolver
Good to know
- Refuses to compress files under 12KB or with uncommitted changes unless --force is used.
- The A/B eval results cover only Anthropic models; cross-vendor checks are listed as follow-up work.
- The held-out test set is small (n=5) and saturated at 100% for most models.
- A dispatcher-aware prompt is needed; a naive prompt causes compressed routing to break.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/functional-area-resolver/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md17 KB -
routing-eval.jsonl2 KB
Alternatives to functional-area-resolver
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
functional-area-resolver: common questions
What does the functional-area resolver compress?
It compresses an agent's routing file, RESOLVER.md or AGENTS.md, by turning many skill-per-row entries into one dispatcher entry per functional area.
How does the model find the right sub-skill after compression?
Each area entry lists its sub-skills in a "(dispatcher for: ...)" clause. The model reads the area entry, then the dispatcher skill's own file gives the detailed routing.
What results does the source report?
On a 20-fixture training set, the dispatcher pattern scored 88% to 100% in lenient scoring across three Anthropic models, compared with 73% to 87% for the baseline bullet rows. It uses about 48% of the baseline size.
How do I install functional-area-resolver?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is functional-area-resolver free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is functional-area-resolver safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to functional-area-resolver?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
