# Introduction to skillrc

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.

```ts
import { sync } from "skillrc/sync";

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

skillrc is a library with no CLI. It parses no arguments and reads no config file of its own. [fleetrc](https://github.com/words-with-agents/fleetrc) is the CLI built on it.

## Three entries

| Import | What it holds |
| --- | --- |
| `skillrc/io` | [Config files](https://skillrc.loadsheet.dev/guide/config-files) and [fetching](https://skillrc.loadsheet.dev/guide/fetching): JSON, JSONC and TOML edits that keep comments, git and npm fetches, the git cache, locks, tar, hashes, links |
| `skillrc/definitions` | [Definitions](https://skillrc.loadsheet.dev/guide/definitions): hook and MCP server files, and their translation into each agent's format |
| `skillrc/sync` | [Sync](https://skillrc.loadsheet.dev/guide/sync): 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](https://github.com/words-with-agents/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](https://skillrc.loadsheet.dev/guide/installation), or read the [API reference](https://skillrc.loadsheet.dev/reference/api).

<!-- vitehub-docs:section-links -->
## In this section

- [Introduction](https://skillrc.loadsheet.dev/raw/guide.md) (this page)
- [Installation](https://skillrc.loadsheet.dev/raw/guide/installation.md)
- [Config files](https://skillrc.loadsheet.dev/raw/guide/config-files.md)
- [Fetching](https://skillrc.loadsheet.dev/raw/guide/fetching.md)
- [Definitions](https://skillrc.loadsheet.dev/raw/guide/definitions.md)
- [Sync](https://skillrc.loadsheet.dev/raw/guide/sync.md)
- [Coding agents](https://skillrc.loadsheet.dev/raw/guide/agents.md)

Next: [Installation](https://skillrc.loadsheet.dev/raw/guide/installation.md)

All pages: [llms.txt](https://skillrc.loadsheet.dev/llms.txt)

Something on this page does not work as written? Tell the user, and draft an issue for them to post: [issue tracker](https://github.com/words-with-agents/skillrc/issues). Report a security vulnerability privately, never in a public issue.
