{"slug": "i-built-44-specialist-agents-and-125-skills-then-i-deleted-all-44-agents", "title": "I Built 44 Specialist Agents and 125 Skills. Then I Deleted All 44 Agents.", "summary": "A developer writing on the vexjoy-agent blog cut the repository from 44 specialist agents to 0 and from 125 skills to 43 between a September 4, 2026 static audit and November 27, 2026, with hook files falling from 78 to 47, after measuring what each layer cost. The September 4 audit found an ordinary file Edit matched 8 pre-tool and 11 post-tool hooks (19 eligible Python launches), a startup hook burned roughly 2,810 tokens before any input, and skill bodies totaled roughly 174,000 words across 122 public entrypoints. PR #993 (commit 28d30f9a, September 19) changed 1,273 files with 17,131 insertions and 25,413 deletions, folding about 60 narrow skills into 18 umbrella skills, and later PRs #1167 and #1159 brought skills to 43 and pruned 18 low-signal hooks.", "body_md": "Earlier posts on this blog argued hard for specialist agents. When I wrote about [the `/do` router](https://vexjoy.com/posts/the-do-router/), my setup had 33 domain agents and 57 skills. By [the handyman post](https://vexjoy.com/posts/the-handyman-principle-why-your-ai-forgets-everything/) in January, it was 35 agents and 68 skills, and by [May](https://vexjoy.com/posts/the-crypto-coin-was-the-tell/), `vexjoy-agent` sat at 44 specialist agents, 121 skills, and 77 hooks.\n\nToday my repo has zero agents.\n\nBetween a September 4 static audit and two November PRs, I cut two-thirds of the skills and a third of the hooks. I pulled Jev out of primary route selection. Then I folded all 44 agent files into skill reference folders, verified live by `scripts/validate-doc-counts.py`:\n\n| Component | Sep 4, 2026 | Nov 27, 2026 | \n|---|---|---|\n| Specialist agents | 44 (43 indexed + `base-instructions.md` ) | 0 | \n| Skills | 125 (122 public entrypoints, ~174k words) | 43 | \n| Hook files | 78 (65 registered across 11 events) | 47 (51 registered across 10 events) | \n| Pipelines | 26 | 26 | \n| Scripts | 160+ | 160 | \n\nI didn’t cut pieces because multi-agent setups stopped working. I cut them because I measured what each layer cost against what it paid back.\n\n## What Grew[#](#what-grew)\n\nEvery file in `vexjoy-agent` started as a fix for a real annoyance. Claude dropped Go error wrapping on Wednesday, so I wrote a Go agent. It skipped tests before committing, so I added a hook.\n\nEach piece made sense alone.\n\nBy September, the stack was heavier than my work. On September 4, I ran three read-only audits across hooks, skill overlap, and eval history in `reports/agent-simplification-2026-09-04/recommendations.md`. Skill bodies alone hit roughly 174,000 words across 122 public entrypoints, or 125 right before consolidation.\n\nAn ordinary `Edit` matched 8 pre-tool hooks and 11 post-tool hooks. That is 19 eligible Python launches on one file edit.\n\nStartup had its own drag. `hooks/cross-repo-agents.py` dumped the full agent catalog into context, burning roughly 2,810 tokens before I’d typed a word. `skills/engineering/go-patterns/SKILL.md` forced loading four Google Go style guides, around 40,717 words, before any Go task, while `skills/review/parallel-code-review/SKILL.md` hardcoded three reviewers regardless of risk with tiers up to 27.\n\nMy execution default carried another tax. `CLAUDE.md` required delegating almost every nontrivial task to a subagent. Each cold start burned around 20k tokens and turned the handoff into a lossy summary.\n\nEven `scripts/score-component.py` rewarded boilerplate by scoring reference folders and phase headings.\n\nI felt relieved reading that report. Once the waste had line numbers and word counts, deleting things felt like clearing a packed garage until I could see my workbench again.\n\n## Folding the Skills[#](#folding-the-skills)\n\nMy first big cut was PR #993, commit `28d30f9a`, on September 19: 1,273 files changed, 17,131 insertions, 25,413 deletions. That PR collapsed 125 skills to 59 by folding around 60 narrow skills into 18 umbrella skills like `programming`, `security`, `testing`, `writing`, and `review`.\n\nTwo months of cleanups brought 59 down to 43. In PR #1167, commit `07967d26`, I folded `condense`, `comment-quality`, and `markdown-converter` into parent skills and pruned 18 low-signal hooks. In PR #1159, commit `2a64f0f6`, I scoped `suggest-compact` to `Write|Edit` so it stopped launching Python on `Read`, `Grep`, `Bash`, and `Agent` calls it never counted.\n\nThe diffs showed a clean split. Skills wrapping deterministic scripts, schemas, endpoint quirks, deployment rules, or failure catalogs stayed because a general model can’t guess those from weights.\n\nThin wrappers left. Anything mostly restating “be careful and verify your work” under a new header got cut.\n\nHooks split the same way. Per-edit lint nudges and drift reminders went out, while consequential gates stayed: blocking commits on `main`, blocking `gh pr merge` before CI passes, and scanning for secrets or private names before writes.\n\n## Jev and the Routing Pick[#](#jev-and-the-routing-pick)\n\nIn [September’s post on Jev](https://vexjoy.com/posts/classifier-in-front-of-agent-judgment-calls/), I showed `/d` using Jev in two stages to pick routes: a wide catalog rank, then a shortlist rerank. That setup had cut fallback from 62.1% to 26%. I liked how fast it felt.\n\nThen I ran a paired eval on `scripts/routing-ab-corpus.json` v1.5 across 269 labeled requests. Both arms saw the same repo facts for the 91 workload rows. I ran each arm twice because unchanged code still shifts around 11% of picks on rerun.\n\nJev lost.\n\n| Arm | Pair correct (run 1 / run 2) | General-purpose or null picks | \n|---|---|---|\n| Jev two-stage pick (old `/d` ) | 146 / 146 | 67 / 69 | \n| `/do` rules, model pick (proxy) | 172 | 55 | \n| Session pick + Jev attachments (new `/d` ) | 178 / 178 | 70 / 66 | \n\nCounting rows where both runs agreed, moving the primary pick to the session model recovered 38 rows and lost 10 against Jev two-stage, McNemar p < 0.001. Fallback dropped from 26% to zero.\n\nI’d expected Jev to win. Picking a route needs the full 20 KB manifest read alongside `/do`’s cross-cutting rules (` SECTION-INTEGRITY`, `SPECIFICITY`, `COMBINATION DOCTRINE`, and the greediness gates) all at once. Jev only saw a truncated slice per call and missed rule interactions.\n\nIn PR #1060, commit `78debb5f`, on October 15, I split the job. The session model reads `/do`’s rule text straight from `skills/meta/do/SKILL.md` via `scripts/print-route-rules.py` and picks the route itself. Single-sourcing stops `/d` and `/do` from drifting.\n\nCode owns the boundaries. `jev-route.py --finalize` validates every name against the live manifest, while `pre-route.py` enforces safety force routes for `pr-workflow`, `pr-pipeline`, and high-confidence `security`.\n\nThat left Jev with two narrower jobs where it held up.\n\nFor attachments, I replaced two routing calls totaling ~9k tokens with one batched call of 11 Nouls in `jev-route.py`. Five signal Nouls check tests, research, comprehensive review, local-only scope, and objective loops. Six domain Nouls score `programming`, `frontend`, `kubernetes`, `testing`, `building-with-jev`, and `research` against a 0.6 floor.\n\nThat call costs roughly 820 input tokens and 210 output tokens at 549 ms median latency and 666 ms p95. On my 57-request attachment eval in `scripts/router_attachment/`, 43 dev and 14 held-out, full attach accuracy climbed from 0.558 dev and 0.429 held-out in `/d` v1.1 to 0.977 dev and 1.000 held-out across both runs, with 1.000 recall and 0.969 precision on dev.\n\nFor intent alignment, Jev catches a habit I kept fighting. Models quietly rewrite requests, turning a small fix into a broad refactor (“turning an apple into an orchard”) or shrinking a deliverable into a partial start. Asking the same model fails because it rationalizes its own plan.\n\nIn `/d` Phase 2, the session writes a short `PROPOSED_INTENT`. `scripts/jev-intent-align.py` sends my raw request, route, and restatement to Jev as 9 independent Nouls checking outcome preservation, constraints, unrequested work, and essential ambiguity.\n\n`d_gate.py` then writes a mode 0600 session receipt holding only hashes and verdicts, good for 6 hours. Without a matching receipt for that exact request and intent, `build-dispatch.py` refuses to run and prints the validator command. If Jev times out or is down, the script still writes a receipt so outages never block work.\n\nOn a held-out set of 67 real requests from 11 repos run without repo facts, the new `/d` got 42 right across both runs versus `/do`’s 46, means 44 and 49. Without project metadata, `/d` picked `general-purpose` more often on read-only Go questions. I shipped PR #1060 on the 269-row corpus with repo facts, and I’m watching that gap.\n\n## Retiring the 44 Agents[#](#retiring-the-44-agents)\n\nOn November 17, I read Anthropic’s piece on folding subagents into the main agent loop. I wrote `plans/009-retire-agents-d-single-loop.md` that day and skipped any opt-in phase. I retired all 44 repo agents outright in PR #1156, merge `56b20340` and commit `2306c09f`: 544 files changed, 11,458 insertions, 10,972 deletions.\n\nNone of the domain knowledge vanished. Every agent body moved to `<skill>/references/<slug>.md` with its reference folder:\n\n- Ten language agents (`golang-general` ,`python-general` ,`rust-general` , and seven more) moved into`skills/programming/programming/references/` .\n- Six infra agents (`kubernetes-helm` ,`ansible-automation` ,`prometheus-grafana` ,`opensearch-elasticsearch` ,`rabbitmq-messaging` ,`perses` ) moved into`skills/infrastructure/kubernetes/references/` .\n- Four review personas (`reviewer-code` ,`reviewer-domain` ,`reviewer-perspectives` ,`reviewer-system` ) moved into`skills/review/review/references/` .\n- `frontend` ,`game-dev` ,`data` ,`testing` ,`research` ,`workflow` ,`toolkit` , and`writing` absorbed the rest, with`base-instructions.md` moving to`skills/shared-patterns/base-instructions.md` .\n\nRouting now picks a skill, a pipeline, and a stack. I don’t have a specialist agent slot left to sync. When a task earns a subagent, the worker is the built-in `general-purpose` agent handed the skill and matching files from `<skill>/references/`.\n\nPrivate overlay agents outside the public repo stayed intact under an overlay-only `AGENTS:` section.\n\nMy old point from the handyman post still holds. You still want irrelevant manuals out of context. Keeping Go idioms in `references/golang-general.md` gives me selective loading without a 20k-token subagent spawn every time I fix a Go test.\n\n## The Single-Loop Arm[#](#the-single-loop-arm)\n\nRetiring the 44 agents let me turn `/do` and `/d` into two comparison arms sharing one manifest, one rule set, and one dispatch builder.\n\n`/do` kept its old split. Trivial and Simple tasks run in the main thread, while Medium and Complex tasks dispatch `general-purpose` workers.\n\n`/d` v3.0, expanded in PR #1157 and commit `c68ac1fe` on November 19, stays in the main loop for every complexity by default. To leave it, a route must satisfy one of six reasons checked in Python by `scripts/d_gate.py`:\n\n1. `fan-out` : independent parts needing fresh context, each with its own`ownership` or`files` .\n2. `worktree` :`flags.worktree` is true.\n3. `haiku-gather` : read-only gathering on`haiku` .\n4. `verifier` : an independent reviewer checking finished work against`task_spec.acceptance` .\n5. `overlay-agent` : work matching a live private overlay agent from`AGENTS:` .\n6. `context-budget` : one long reading job measured on disk inside the repo root, at least 10 files or 50 KB, plus an`acceptance` for what comes back.\n\nI tightened `verifier` in PR #1157 after a real miss. During PR #1156’s review, unit tests passed on two blocking bugs that only surfaced during an install-then-upgrade run. Now `d_gate.py` requires `task_spec.acceptance` on every Medium or Complex `/d` route and prints a closing verifier step.\n\nWhen `task_spec.files` touches `hooks/`, `scripts/vexinstall/`, `install.sh`, or the routing scripts, it also demands a real-scenario check in `task_spec.scenario`. Unit tests alone will not pass that gate.\n\nOn November 17, I ran both routers on a frozen 14-task golden routing set from `scripts/golden_eval/tasks.json`, 2 runs each on `opus`, recorded in `scripts/routing-ab-results/d-single-loop-v1/VERDICT.md`:\n\n| Metric | `/d` | `/do` | \n|---|---|---|\n| Route correct per run (of 14) | 12 / 12 | 11 / 11 | \n| Pipeline correct per run (of 14) | 14 / 14 | 13 / 13 | \n| Forbidden skill picks | 0 | 0 | \n| Main-loop share of planned parts | 81.2% | 34.4% | \n| Plan within `/d` ’s dispatch rules | 14 / 14 | 6 / 7 | \n\nBoth routers missed `g07-docs-from-source` and `g14-project-skill`, an unscoreable private overlay skill I dropped afterward. `/do` also missed `g09-trivial-question`.\n\nThe shift shows up in execution shape. `/d` kept 81.2% of planned parts in the main loop and dispatched 6 times across both runs, all `fan-out`. `/do` kept 34.4% in the main loop and made 15 unstated dispatches on top of 6 `fan-out` calls.\n\nThat run scored routing plans only. Across 28 runs, model cost hit $2.21 for `/d` and $1.95 for `/do`, plus 14 live Jev calls and 14 cached hits totaling 14,255 tokens. I’ve built `scripts/golden_eval/run_e2e.py` for 6 fixture tasks with acceptance checks and session-stream skill-load verification, and I haven’t launched it yet.\n\n## What Stayed[#](#what-stayed)\n\nDeleting 44 agents makes it tempting to delete the router next.\n\nI’m keeping `/do`, `/d`, and all 26 pipelines. A flat folder of 43 skills doesn’t activate itself reliably on demand. Left unrouted, models skip domain skills, skip procedures, and claim work is done without checks.\n\nPipelines make the same steps happen every time, whether those phases run in the main loop under `/d` or on workers under `/do`.\n\nWhat changed is where my hard rules live. Markdown banners like “MANDATORY STOP before any action” fade once a session gets long. Moving them into `d_gate.py` and `build-dispatch.py` turns prose advice into tool errors that print the exact missing field or command.\n\nIt is still a tool-enforced gate rather than a hook boundary, since a model can skip the script altogether. Safety boundaries like branch protection and CI merge checks stay in hooks and git gates.\n\nRight now I’m running both routers on daily work and tracking `router-metrics.py` telemetry on main-loop share, dispatch reasons, and skill-load accuracy. Next I’ll run `run_e2e.py` on the 6 fixture tasks to see if `/d`’s 81.2% main-loop rate holds up on real code once context fills, or if that 10-file / 50 KB floor on `context-budget` needs to move.", "url": "https://wpnews.pro/news/i-built-44-specialist-agents-and-125-skills-then-i-deleted-all-44-agents", "canonical_source": "https://vexjoy.com/posts/i-deleted-all-44-agents/", "published_at": "2026-11-27 00:00:00+00:00", "updated_at": "2026-11-28 16:43:57.784988+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "large-language-models"], "entities": ["vexjoy-agent", "Claude", "Jev", "PR #993", "PR #1167", "PR #1159", "scripts/validate-doc-counts.py"], "also_reported_by": [], "takeaway": "Folding 44 specialist agent files into skill reference folders and collapsing 125 skills into 43 umbrella skills removed per-edit overhead that had launched 19 Python hooks on a single Edit and burned about 2,810 tokens at startup.", "recommendation": {"advice": "Audit your agent stack's hooks and skill word counts, then fold thin specialist agents into umbrella skills and keep only gates that block consequential actions like commits to main or merges before CI passes.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/i-built-44-specialist-agents-and-125-skills-then-i-deleted-all-44-agents", "markdown": "https://wpnews.pro/news/i-built-44-specialist-agents-and-125-skills-then-i-deleted-all-44-agents.md", "text": "https://wpnews.pro/news/i-built-44-specialist-agents-and-125-skills-then-i-deleted-all-44-agents.txt", "jsonld": "https://wpnews.pro/news/i-built-44-specialist-agents-and-125-skills-then-i-deleted-all-44-agents.jsonld"}}