Hermes Agent 2bd4eb91ea skilld: legt die Bibliothek beim ersten Schreiben als Repository an
Konrads Regel heißt "standardmäßig git, wenn git installiert ist" — nicht "wenn jemand
vorher git init tippt". Bisher schwieg skilld bei einer Bibliothek ohne Repository und
änderte Dateien ohne Verlauf; jetzt wird beim ersten Schreiben eines angelegt (mit
.gitignore), und create/update/delete werden committet.

Angesprochen wird die BIBLIOTHEK, nicht das Skill-Verzeichnis: sonst entstünde ein
verschachteltes Repository je Skill, und die Bibliothek bliebe ohne Verlauf. Ein schon
vorhandenes Repository (auch ein übergeordnetes mit Remote) bleibt unangetastet — hier
wird nur committet, nie gepusht.

Der Start meldet jetzt, was gilt: "git, every change committed" oder "git is installed,
the repository is created on the first change" oder "git is not installed".
2026-11-08 18:05:31 +00:00
2026-11-06 17:59:15 +00:00

skilld

MCP server for the skill library, written in C99/POSIX.

Eight tools over the standard MCP surface: list, search, read, write and inspect SKILL.md files under $SKILLS_DIR. Built on libmcp (header-only).

make
make test

The binary speaks MCP over stdio, so it is registered as an MCP server, not started by hand.

Git is the substrate

Every write through skilld is committed: skill_create, skill_update, skill_clone and skill_delete end with a commit under the skill's own message (skilld: update <name>). A skill written by one agent and corrected by another keeps both, and git log answers who changed what and when.

git -C "$SKILLLIB" init
git -C "$SKILLLIB" remote add origin <somewhere>

Four tools come with it:

tool what it does
skill_history commits for one skill or the whole library
skill_diff what was changed outside skilld and is not committed yet
skill_sync pull --rebase from the remote; push: true sends instead
(automatic) a write whose working tree is dirty commits the change with it

Is the library not a repository, nothing breaks: the tools say so instead of pretending, and skilld prints at start which mode it is in. Version control that silently does nothing is worse than none.

HTTP

skilld                    # MCP over stdin/stdout
skilld --http 8790        # same tools over Streamable HTTP
skilld --http :8790       # ... on every address

The HTTP server lives in libmcp (mcp_serve_http), so tasksd and skilld share one implementation instead of two copies.

Dependency: libmcp

vendor/libmcp/mcp.h is a copy of the header from the libmcp repository, so this repository builds and tests on its own. Refresh it after a libmcp change:

cp ../libmcp/mcp.h vendor/libmcp/mcp.h

make uses LIBDIR=vendor/libmcp by default; override it to build against a checkout elsewhere: make LIBDIR=../libmcp.

S
Description
skilld (from n95, ~/src/skilld)
Readme
188 KiB
0 Stars 3 Watchers 0 Forks
Languages
C 77.1%
Python 15.3%
Shell 4.4%
Makefile 3.2%