Why We Stopped Linking 800 Skills Everywhere—and Built a Self-Curating Skill Hub
What happens when you use Claude Code, Codex, Cursor, Gemini, and OpenCode on the same machine?
A candid look at our architecture, the hypotheses we tested, real telemetry from our workstations,
and an invitation to try skillgram on yours.
1. The Fallacy vs. The Real Pain
When we started skillgram, our initial hypothesis was simple: "Keep one copy of every
SKILL.md in ~/.agents/skills and link all of them into every coding agent."
After living with 861 skills (89 MB) across 11 agent harnesses on Windows and Linux, we learned
a hard truth:
skills/ recursively. Linking both skills/<category> and skills/<skill> caused agents to load every skill twice (1,722 entries).
2. Architecture: Three Tiers + Organic Curation
Instead of dumping the entire hub into every agent's global folder, skillgram separates
storage, active exposure, and on-demand discovery:
3. Use Cases We Designed & Tested
Use Case A — Testing Third-Party Skills Without Polluting Your Workspace
Most developers do not write SKILL.md files from scratch—they discover skills like
impeccable (UI craft) or dokploy (deployment) on GitHub and want to test them
and pull upstream updates safely.
Because every skill is domain-specific, you cannot write one generic unit test for all of them. Instead,
skillgram combines a deterministic Admission Gate with a disposable git worktree Trial:
# 1. Stage a third-party skill (or an upstream update) in a detached git worktree of your repo
python skillgram.py try https://github.com/author/impeccable --project ~/projects/my-next-app
# 2. Test it with your agent inside the isolated worktree, then either seal or discard:
python skillgram.py try impeccable --accept # records upstream URL, commit SHA & verified hash
python skillgram.py try impeccable --reject # removes the worktree and staging cleanly
Use Case B — Organic Curation: Let the LLM & Project Stack Vote
How do you know which skills actually work across hundreds of candidates? Real usage and survival.
- Local Absorption: If you or
npx skills adddrop a skill directly into<repo>/.claude/skills/, runningskillgram adopt --project .moves it into the Hub, leaves a junction in place, adds it to the repo manifest, and tags it with the repo's deterministic stack signals (repo_signals(): e.g.next,tailwind,docker). - Stack-Affinity Ranking: Every time an agent promotes (
skillgram_use), reads (skillgram_read), or touches (skillgram_touch) a skill, the Hub incrementsusage.stack_hitsfor that repository's tags inSKILLMETA.json. - Survival vs. Removal: If you keep the skill across projects, its score for that stack rises.
If it is noisy and you run
skillgram unuse <skill>,unuse_countpenalizes it. Next time you bootstrap a repo with the same stack, proven skills rank first—even if their markdown never mentions your framework by name.
4. Field Evidence: How It Performs on Our Machines
Below is the real telemetry from our primary Windows 11 development workstation running Claude Code, Codex, Cursor, Gemini CLI, Antigravity, Hermes, and Reasonix against a library of 861 skills:
_vault (still FTS5 searchable)
compact --apply
Real Output 1 — Compaction & Vault Audit on Workstation
$ python skillgram.py compact --vault-unused
hub: C:\Users\jics\.agents\skills (89,009,737 bytes)
native copies: 0 bytes | quarantine: 0 bytes | reclaimable: 0 bytes
dedupable: 0 (0 bytes) | unique native: 0 | divergent: 0
(dry-run: run `skillgram compact --apply --purge-quarantine` to reclaim space)
vault (_vault): 858 unused (0-hit) skills | 3 active (used/seeded)
Real Output 2 — Automated Admission Gate (skillgram gate)
Running skillgram gate on two real skills in our hub immediately surfaces token taxes
and routing collisions against existing skills before they ever touch an agent's global prompt:
$ python skillgram.py gate skillgram/skills/brand-logo-extractor
skill: brand-logo-extractor (PASS) hash: 7147b1bd3218f738
token budget: ~42 prompt tokens (always) | ~1570 body tokens (on read) | 1 aux files
contract (5 sections): ok | organic hits: 0 across 0 projects
routing collisions: imagegen (score 10), brand-voice (score 10), brand (score 9), powerpoint (score 8)
$ python skillgram.py gate skillgram/skills/anti-slop-guardrails
skill: anti-slop-guardrails (PASS) hash: a791f6a5bef592c9
token budget: ~44 prompt tokens (always) | ~3046 body tokens (on read) | 0 aux files
contract (5 sections): ok | organic hits: 0 across 0 projects
warnings: SKILL.md is ~3046 tokens (>2500); split heavy reference text into references/
routing collisions: new-branch-and-pr (score 10), receiving-code-review (score 10), simplify-code (score 9)
Before vs. After on the Same Machine
| Metric | Naive Global Sync (Before) | Tiered Hub + Vault + MCP (Now) |
|---|---|---|
| Skills discovered per agent | 1,722 (861 flat + 861 via category links) | 3 global seeds + 5–10 project skills |
| Global junctions on disk | ~21,500 across agent homes | < 80 (sync --seeds-only) |
| Startup system-prompt tax | ~38,000 – 52,000 tokens every session | ~150 tokens globally + on-demand skillgram_read |
| Access to the other 858 skills | Always loaded in context (noisy) | 100% indexed in FTS5; auto-unvaulted on use or read via MCP |
5. Companion Ecosystem: skillgram + EdgePass
Managing an AI coding workstation has two halves: what your agents know (skills & instructions)
and what your agents can execute and access (secrets, MCP daemons, tunnels, and local CI runners).
We built skillgram and EdgePass so each
lives cleanly on its own—zero hard dependency on the other—while snapping together automatically when both
are present on the same machine:
skillgram
CLI + MCP server for SKILL.md governance: hub deduplication, contract & security gate, worktree trials, stack-affinity ranking, and zero-token vaulting.
EdgePass
Native desktop notch widget & control plane that injects OpenBao secrets into processes without exposing plaintext tokens in agent configs or logs, plus live LEDs for MCP servers and local GitHub Actions runners.
skillgram daemon
EdgePass speaks to skillgram daemon over a local JSON-line pipe ({"op": "status"}, {"op": "sync"}) to surface real-time skill drift on a desktop LED and sync all harnesses in one click.
winget install Xhuk.EdgePass) to see how secret injection, MCP health,
and local runner supervision pair with skillgram.
6. Try It on Your Machine & Share Your Telemetry
If you run two or more coding agents (Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, Aider), you can audit your current skill footprint in 60 seconds with zero external dependencies (Python 3.9+ stdlib only):
git clone https://github.com/Xhuk/skillgram
cd skillgram
# 1. See how many harnesses, native copies, and collisions you have right now:
python skillgram.py doctor
# 2. Measure duplicated bytes and 0-hit skills (dry-run, touches nothing):
python skillgram.py compact --vault-unused
# 3. Audit any skill's token cost, security, and trigger collisions:
python skillgram.py gate <path-to-any-skill>
# 4. Reclaim space, vault unused skills, and link only your seeds globally:
python skillgram.py compact --vault-unused --apply --purge-quarantine
python skillgram.py sync --seeds-only
Help us gather field evidence: Run python skillgram.py compact --vault-unused --json
on your machine and share the JSON summary (or open a report with skillgram-report) in
GitHub Issues. We are collecting
real-world benchmarks on how many skills developers actually use per stack versus how many sit idle.