DEEP DIVE AI Agents Skills Performance Tuning

By Oliver · AI Architect, BuildAClaw · Nov 11, 2026 · 9 min read

How to Stop Skill Bloat From Wrecking Your AI Worker: Why Fewer Skills Make a Smarter Agent

I cut one agent from 61 skills down to 12. It got more accurate, cheaper to run, and faster on a Mac Mini M4. Here's the audit process, the numbers, and the rules I now follow on every build.

A client came to us last month with an agent that had 61 installed skills and a complaint: "It was brilliant in week one. Now it picks the wrong tool constantly and my token bill doubled." Nothing was broken. The model hadn't changed. The only thing that had changed was that the team had added a new skill every time someone had a new idea.

That's skill bloat, and it's the most common reason I see capable AI workers turn mediocre. It's also the easiest to fix, because the fix is deletion.

61 → 12 skills. After the prune, wrong-skill selections dropped from 23% to 4% across 200 test tasks, the average prompt shrank by 9,400 tokens, and first-token latency on a local model fell from 6.1s to 2.3s.

Source: BuildAClaw client audit, Oct 2026, Mac Mini M4 (32GB), 200-task replay set.

What Skill Bloat Actually Is (and Why It Hurts)

A skill is a packaged capability: instructions, tool definitions, and a short description the agent reads to decide when to use it. The catch is that every skill description competes for space in the model's context window on every single request. The agent doesn't "know" its skills the way you know your hobbies. It re-reads the whole menu each time it acts.

Bloat hurts in three distinct ways:

Among the 138 community posts we've catalogued from people running OpenClaw, Setup complaints dominate (88 of 138). Many of those are really bloat symptoms in disguise: one user described their bot "doing random things" after installing a pile of community skills. The agent wasn't broken. It was overwhelmed.

The core rule: a skill earns its place by being used often, doing something no other skill does, and failing loudly when it breaks. If it doesn't meet all three, it's a liability.

The Evidence: What Happens as Skill Count Climbs

We ran the same 200-task business workload (email triage, invoice lookups, calendar changes, CRM updates, report drafting) against one agent while varying only the number of installed skills. The model was held constant. Here's what we measured on a Mac Mini M4 with a local model:

Installed skills Correct skill chosen Avg. prompt overhead First-token latency
897%2,100 tokens1.6s
1596%3,900 tokens1.9s
3088%7,800 tokens3.4s
4581%11,600 tokens4.8s
6177%15,300 tokens6.1s

The pattern isn't gradual decay. Accuracy holds up to roughly 15 skills, then falls off a cliff between 15 and 30. That's the zone where overlap starts to dominate. Frontier cloud models like Claude Opus 4.7 or GPT-5.5 tolerate bloat better, but they still charge you for every token, and the selection errors still show up. They just show up later.

Local models feel it harder. Smaller models have weaker tool selection and slower prompt processing, so a lean skill set is the biggest tuning win available for a local-first setup. If you're running on your own hardware, which is the entire point of what we build, you have to treat context as a scarce resource.

How to Audit Your Skills in 30 Minutes

You don't need special tooling. You need your agent's logs and a spreadsheet. Here's the exact process I use.

Step 1: List every skill and its last-used date

Pull the skill directory and cross-reference against the last 30 days of agent logs. Make one row per skill with three columns: invocations in 30 days, success rate, and what it does in one sentence. In the 61-skill audit, 27 skills had zero invocations in 30 days. They were pure dead weight.

Step 2: Mark overlaps

Sort by the one-sentence description. Anything that reads similarly gets grouped. We found 14 skills across 5 clusters: three email skills, four web-search wrappers, three summarizers, two calendar tools, and two "file organizer" variants. Each cluster should collapse into one skill with a clear scope.

Step 3: Apply the three-question keep test

Step 4: Archive, don't delete

Move cut skills to an /archive folder outside the agent's load path. Nothing is lost. If a task genuinely needs one, you can restore it in ten seconds. In our audit, only 2 of 49 archived skills were pulled back within 60 days.

49 skills archived, 2 restored. That's a 96% "we never needed it" rate. Most skills are installed out of optimism, not need.

Fix Overlap by Writing Better Descriptions

Pruning is half the job. The other half is making the survivors unmistakable. Models choose skills based on the description text, so vague descriptions create wrong picks even in a lean set.

Compare these two descriptions for the same skill:

The strong version states scope, side effects, and trigger words. It also states what the skill doesn't do, which is the single most effective trick I know for killing overlap. In testing, rewriting descriptions alone (no pruning) improved correct selection from 77% to 85% on the 61-skill agent. Pruning got it to 96%. Doing both got it to 97%.

Keep each description under 60 words, lead with the verb, and name the data it touches. If you can't describe a skill's boundary in two sentences, it's probably two skills or no skill.

When You Need More Capability: Split Agents, Don't Stack Skills

The honest objection is "but my business really does need 60 capabilities." Fine. That doesn't mean one agent needs 60 skills. Split the worker into specialists with 8 to 12 skills each and a thin router in front.

For the client above, we ended up with:

Each specialist loads only what it needs, so prompt overhead stayed under 4,000 tokens per agent. A Mac Mini M4 handles this comfortably, since the specialists only wake when routed to. This is the same architecture logic behind building agents that reverse-engineer your own software stack: narrow scope, clear contracts, and no mystery behavior. For more on running multiple agents on one box, browse the full Clawticles library.

Rule of thumb: 8 to 15 skills per agent. If you cross 20, don't add skill 21. Create a second agent instead.

A Maintenance Habit That Keeps Bloat Away

Bloat is a process problem, not a one-time cleanup. Without a gate, you'll be back at 40 skills within a quarter. Here's the lightweight policy we install for clients:

Total cost of this routine: about 20 minutes a month. Total benefit: an agent that stays as sharp in month nine as it was in week one.

Frequently Asked Questions

What is skill bloat in an AI agent?

Skill bloat is what happens when an agent accumulates more tools, skills, and instructions than it can reliably choose between. Every skill description loads into context on each request, so more skills mean more tokens, more overlapping options, and more wrong tool picks.

How many skills should an AI agent have?

In our testing, 8 to 15 skills with clearly distinct purposes is the sweet spot. Beyond roughly 25, wrong-skill selection climbs sharply. If you need more capability, split the work across several narrow agents.

Does removing skills make an AI agent less capable?

Not if you remove the right ones. Redundant, rarely used, or overlapping skills add confusion without adding capability. Archive them outside the load path so you can restore any of them in seconds.

Can a local AI agent on a Mac Mini M4 suffer from skill bloat?

Yes, and more noticeably than cloud agents. Smaller local models have shorter effective context and weaker tool selection, so a bloated skill list slows prompt processing and hurts accuracy faster. Lean skill sets are the biggest tuning win for local-first agents.

Want an AI worker that stays sharp?

BuildAClaw builds and tunes local AI agents on your own Mac Mini M4: lean skill sets, specialist routing, no cloud dependency, fully autonomous. We'll audit your current setup and tell you exactly what to cut.

Schedule a Free Strategy Call →