Use kitcrate to publish, install, update, and remove whole collections of agent skills from git repositories — when a task involves installing a set of skills together, sharing your own skills with others, or keeping installed skills up to date. Covers kitcrate add, list, update, remove, validate, create, publish, and the kitcrate.json/collection.json files they read and write.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Kitcrate?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gramcart-labs-kitcrate)
---
name: kitcrate
description: Use kitcrate to publish, install, update, and remove whole collections of agent skills from git repositories — when a task involves installing a set of skills together, sharing your own skills with others, or keeping installed skills up to date. Covers kitcrate add, list, update, remove, validate, create, publish, and the kitcrate.json/collection.json files they read and write.
---
# kitcrate
kitcrate is a collections layer on top of the `skills` CLI. `skills` installs **one skill at a
time**; kitcrate installs a **named set** of them from git, records what it put where, and updates
the set later.
Reach for kitcrate when the task is about several skills moving together. Reach for plain `skills`
when it is about one skill.
| The task | Use |
|---|---|
| Install one skill from a repo | `npx skills add owner/repo --skill name` |
| Install a whole curated set into a project | `npx kitcrate add owner/repo` |
| Share a set of skills with other people | `npx kitcrate create` |
| Add new skills to a set that already exists | `npx kitcrate publish` |
| Bring a project's skills up to date | `npx kitcrate update` |
## Before you start
- **Node 22.20 or newer.** The `skills` dependency declares that floor; on an older Node, installing
kitcrate or running it may fail before kitcrate can say anything useful. `npx kitcrate --version`
prints the kitcrate version once it runs.
- **`git`** for any command that touches a repository, and **`gh`** for `create`, `publish`, `login`,
`logout`, `whoami`. kitcrate checks before doing any work and names what is missing.
- **Run every command with `npx kitcrate …`** unless the user has installed it globally.
- The commands that reach GitHub need a login: `npx kitcrate whoami` says who you are, and
`npx kitcrate login` signs in through GitHub's device flow (it prints a code to type into a
browser). Never ask the user for a token in chat.
## Installing a collection (the common task)
```sh
cd <project>
npx kitcrate add owner/repo # asks: this project, or everywhere on the machine?
npx kitcrate add owner/repo --yes # this project, no prompt
npx kitcrate add owner/repo --global # ~/.agents/skills, shared by all projects
npx kitcrate add github:owner/repo@v1.2.0 # pin a release
```
What happens: kitcrate fetches that repository's `collection.json`, installs each skill it lists
**from the source that manifest names** (a collection can gather skills from many repositories), and
writes `kitcrate-lock.json`. Commit that file — it is the record of what the project installed.
Then:
```sh
npx kitcrate list # every collection, the skills it brought, and their agents
npx kitcrate update # re-resolve each collection and apply what changed
npx kitcrate remove <name>
```
- `update` refuses to remove skills without `--yes`. Read what it prints, then pass `--yes` if that is
what the user wants.
- `remove` deletes only the skills kitcrate installed itself. A skill that was already there, or that
another collection also claims, stays.
- After a fresh clone, `npx kitcrate install` restores everything the lockfile records, verifying each
collection's hash.
## Publishing a collection
**From a folder of skills** — kitcrate discovers them, asks for the details, and lets the user pick:
```sh
cd <folder-with-skills>
npx kitcrate create
```
It writes `collection.json` and a `.gitignore`, commits, tags `v0.1.0`, and creates the GitHub repo.
Each member records the skill's **own** repository when kitcrate can tell where it came from; a skill
it cannot attribute is recorded as `.` (this collection) and installed from the collection itself.
**From a `collection.json` that already exists** — no discovery, no picker, the manifest decides:
```sh
npx kitcrate create ./collection.json
npx kitcrate create path/to/folder # a folder holding a collection.json
```
An `owner/repo` member is a **reference**: consumers install it from that repository, so nothing is
copied in. A `.` member must have its folder beside the manifest; kitcrate stages it.
**Adding to a collection that already exists:**
```sh
npx kitcrate publish <name> # name it, or omit to pick from the ones installed here
npx kitcrate publish <name> --yes
```
It clones the collection, offers the installed skills it does not have yet, copies the chosen ones and
any local edits to its `.` members, bumps the patch version, commits, tags, and pushes. **It never
writes the user's working tree.** If the user cannot push to the collection's repository, it publishes
under their own account instead; a public repository always needs an explicit confirmation.
## Checking a manifest
```sh
npx kitcrate validate # ./collection.json
npx kitcrate validate path/to/collection.json
```
An invalid schema or a missing skill is reported. A source that cannot be reached is a warning, not a
failure — a manifest may legitimately point at a private repository.
## House rules to respect while using it
- **Never hand-edit `kitcrate-lock.json`.** `add`, `install`, `update`, and `remove` own it. To change
what is installed, run one of them.
- **Never write `skills-lock.json`** either — the `skills` package owns it.
- **Commit both lockfiles**, and commit the skills they describe only if the user wants copies in the
repository.
- **Do not run scripts from a skill** as part of installing it. Installing places instructions on
disk; whether an agent later acts on them is the user's call.
- **Prefer `--yes` and `--json`** when there is no terminal: without them an interactive prompt cannot
be answered and the command says so instead of guessing.
## When something goes wrong
| Symptom | What it means |
|---|---|
| `kitcrate <cmd> cannot run: - gh: …` | The tool is not installed. Install it; `gh` also needs `gh auth login`. |
| `needs GitHub access, and no login is stored` | Run `npx kitcrate login`, or `whoami` to check. |
| `This repository already has staged changes` | `create` publishes only its own files. `git reset`, then retry. |
| `No installed collection named "x"` with `Did you mean:` | The name is close to a known one. Use the suggested name. |
| `manifestHash mismatch` | The collection changed since it was installed. `update` to accept the change deliberately. |
| `kitcrate list` takes minutes | The **global** scope is the slow part: the `skills` package hashes every skill once per agent. It is cached for an hour; `KITCRATE_NO_CACHE=1` disables caching if freshness matters more. |
## Verify before reporting done
- [ ] `npx kitcrate list` shows the skills you meant to install, with the right collection and source.
- [ ] `kitcrate-lock.json` changed and is committed (for `add`/`update`/`remove`/`install`).
- [ ] For a publish, `npx kitcrate add github:<owner>/<name>@v<version>` is the command you gave the
user, and it matches the README kitcrate wrote.
- [ ] Nothing was forced: no hand-edited lockfile, no `git add .`, no skipped confirmation.
## Reference
- `references/file-formats.md` — the exact shape of `collection.json` and `kitcrate-lock.json`, the
install scopes, and the exit codes.
- The kitcrate repository's `docs/` folder has longer guides: getting started, concepts, commands,
writing a collection, publishing changes, security, reference, troubleshooting.