pnpm
pnpm add skillrc fleethostsnpm
npm install skillrc fleethostsyarn
yarn add skillrc fleethostsbun
bun add skillrc fleethostsRequires Node 22.20 or later. Git sources also need git on PATH.
fleethosts gives you Places, the object every skillrc function takes first. skillrc depends on it too, so the two share one registry of child processes.
First run
Section titled "First run"Name your program
Section titled "Name your program"import { standardPlaces } from "fleethosts/places"; const places = standardPlaces("mytool");Edit an agent's config
Section titled "Edit an agent's config"import { editConfigFile } from "skillrc/io"; const result = editConfigFile(places, "/home/me/.claude/settings.json", () => [ { path: ["env", "MYTOOL_HOME"], value: "/home/me/.config/mytool" }, ]);Read the result
Section titled "Read the result"result.changedsays whether the file changed.result.skippedsays why it was left for later, such as a lock another program holds.result.errorsays why it can't be edited at all.
Next, read Config files for edits, or Sync to run the whole engine.