@kentcdodds/skills
Store, retrieve, edit, version, and revert reusable agent skill documents via skillList then skillGet.
README.md
48 lines · 2.1 KB · Markdown@kentcdodds/skills
Intent
A general-purpose skills registry for agents: store, retrieve, edit, version,
and revert reusable skill documents (markdown) whose durable home is this
package's packageStorage (SQLite skills / skill_files /
skill_versions). Agents discover skills with skillList, load them with
skillGet, and evolve them with skillSave. Package workflows cannot open a
user plain repo, so skillGet must not require a Kody repo named skills.
Forkers start with an empty registry in package storage. A leftover plain
skills repo may still exist from an earlier migration; ./use-package-storage
copies documents back into SQLite and switches the backend to legacy.
Skills you save also surface in Kody's general search tool and automatic
context retrieval through a declared package retriever.
What it does
- List skills with descriptions complete enough to choose one (
skillList) - Load a whole skill or one file (
skillGet) - Create / update skill files with revision history (
skillSave) - Delete a file or an entire skill (
skillDelete) - Inspect recent versions and revert (
skillHistory,skillRevert) - Surface skills in Kody search / context via the package retriever
- Optional migration helpers between a leftover plain
skillsrepo and package storage
Prerequisites / setup
- No user secret is required — the registry lives in this package's packageStorage.
- Forkers: registry starts empty. If you have documents in a leftover plain
skillsrepo, run./use-package-storage(agents: seeAGENTS.md) to copy into SQLite. - Give each skill a clear
descriptionso agents can decide fromskillListalone whether to load it. Prefer lower-kebab-case ids and aSKILL.mdentry file. - Agents: see
AGENTS.mdfor import paths and smoke checks.
Done when
skillListreturns without error (empty array is fine for a fresh fork)- You can
skillSavethenskillGeta skill round-trip - Saved skills appear in Kody
search/ context via the retriever when descriptions match - You do not rely on opening a plain
skillsrepo from package workflows