GitHub 0
Skip to content

Introduction to skillrc

skillrc writes coding agents' config files and syncs skills, hooks and MCP servers into them from git, npm and local folders.

skillrc keeps several coding agents on the same skills, hooks and MCP servers. Your program says where they come from; skillrc fetches them, links each skill into every agent's skills folder, and writes each server and hook into the agent's own config file.

import { sync } from "skillrc/sync";

const report = await sync(places, host, { dryRun: true });
ts

skillrc is a library with no CLI. It parses no arguments and reads no config file of its own. fleetrc is the CLI built on it.

ImportWhat it holds
skillrc/ioConfig files and fetching: JSON, JSONC and TOML edits that keep comments, git and npm fetches, the git cache, locks, tar, hashes, links
skillrc/definitionsDefinitions: hook and MCP server files, and their translation into each agent's format
skillrc/syncSync: the engine that runs a plan, and the state it keeps between runs

Every function that reads or writes your program's files takes a Places first: your program's name and its folders. It comes from fleethosts. skillrc names no program of its own. Scratch files, records, git refs and environment variables all take your program's name.

The entries are built one file per module and marked free of side effects. A bundler that takes one helper from skillrc/io doesn't load the npm, tar and git code beside it.

Start with Installation, or read the API reference.