skillgram — Skill governance for AI coding agents
skillgram emblem

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

One registry~/.agents/skills/<category>/<skill>/SKILL.md is the only real copy.
A contractlint --contract: trigger, hard rules, decisions, steps, output. Or it does not ship.
ProvenanceSKILLMETA.json: who wrote it, when, from where, and the hash that makes updates possible.
One link per skillEach harness gets a junction (or symlink) in its own skills/ folder.
Native skills untouchedA name collision is skipped and reported, never overwritten.
Project scopeuse + mount give a repo exactly its set, not the whole library.
Ask the hubskillgram mcp exposes 8 tools: search, missing, read, use, status, propose, touch, list.
Gate & Worktree trialsgate audits token cost, injection, and trigger collisions; try stages external skills in an isolated git worktree before sealing them.
Zero-token Vaultcompact --vault-unused parks 0-hit skills in _vault/ (0 global links, 0 prompt tokens) while keeping them FTS5-searchable and auto-unvaulted on use.
Declared usagetouch + list --used: what an agent says it used, per project, and from which harness. It never claims to see what it reads.
Tasteseed marks what you always want recommended (seed --never for the opposite). A hub-level decision the ranking cannot outvote.
Harness-agnostic memoryThe record lives in the project, not the agent: change harness and the next one reads what the last one used.
IdempotentEvery command prints one JSON line and can run twice without changing anything.

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:

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:

skillgram (Knowledge Governance) Governs what your agents know: one SKILL.md hub, admission gate, worktree trials, project manifests, and the zero-token vault.
EdgePass (Runtime & Secret Governance) A desktop notch widget & control plane that governs what your agents can touch: OpenBao secrets injected without plaintext exposure, MCP servers/tunnels, and local GitHub Actions runners.
Better together (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).

Read more