skillgram
Skill governance for AI agents. One library, a contract that gates it, every agent reading the same thing.
skillgram is a registry of SKILL.md files that lives in one directory on
disk, plus the layer that governs it: a contract every skill has to pass, provenance for each one,
declared usage per agent, the taste that decides what gets recommended, and a ledger of what was
propagated where. Claude Code, Codex, Cursor, Hermes, Reasonix, Gemini CLI, OpenCode, Kiro, Qwen
Code, Aider and Copilot all read the same library.
Links are the mechanism; governance is the product. No LLM in the loop unless you ask for one, and no claim that it can see what an agent reads.
Install
pip install skillgram
Or from source, and then the whole machine in one idempotent command:
git clone https://github.com/Xhuk/skillgram
cd skillgram
python skillgram.py install --dry-run # the exact commands, nothing written
python skillgram.py install # harness -> hub -> MCP -> project scope
Python 3.9+, standard library only. Junctions on Windows, symlinks on macOS/Linux.
The model
~/.agents/skills/<category>/<skill>/SKILL.md is the only real copy.lint --contract: trigger, hard rules, decisions, steps, output. Or it does not ship.SKILLMETA.json: who wrote it, when, from where, and the hash that makes updates possible.skills/ folder.use + mount give a repo exactly its set, not the whole library.skillgram mcp exposes 8 tools: search, missing, read, use, status, propose, touch, list.gate audits token cost, injection, and trigger collisions; try stages external skills in an isolated git worktree before sealing them.compact --vault-unused parks 0-hit skills in _vault/ (0 global links, 0 prompt tokens) while keeping them FTS5-searchable and auto-unvaulted on use.touch + list --used: what an agent says it used, per project, and from which harness. It never claims to see what it reads.seed marks what you always want recommended (seed --never for the opposite). A hub-level decision the ranking cannot outvote.How it operates & field evidence
Read the full architecture write-up with real workstation telemetry (861 skills, 89 MB hub, 99.4% context reduction), plus three editorial plates on the internal mechanics:
- Architecture, Use Cases & Field Evidence — why we stopped linking 800 skills everywhere, how organic curation works, and how to test it on your machine
- Plate I — the loop, on one page
- Plate II — what
mount --applyleaves in a repo - Plate III — how a candidate earns its place
What it is not
Not a prompt manager, not a memory store, not an embeddings index. It links and administers skills your agents already read, and it never guesses which harness is asking.
Companion tool — EdgePass
skillgram and EdgePass are independent tools built to work standalone or snap together as a complete local AI agent workstation:
SKILL.md hub, admission gate, worktree trials, project manifests, and the zero-token vault.
skillgram daemon)
When both are installed, EdgePass connects to skillgram daemon over a local JSON-line pipe to show live skill drift on a desktop LED and trigger one-click syncs.
Explore EdgePass on GitHub Pages or GitHub (winget install Xhuk.EdgePass).