Sync agent skills between computers with Git
Use a dedicated private Git repository to share one Kitrove collection between two computers. Each sync starts when you run it and shows what it will send and receive.
These steps use Kitrove 0.1.5. Set up a collection on the first computer and create an empty private repository with your Git host. Leave the README, license, and templates unset.
1. Publish the first collection
kitrove configure
- Open the collection and choose Sync this collection with another computer, then Git repository.
- Paste the clone URL. Use
https://for HTTPS orssh://for SSH. HTTPS can prompt for a username and a hidden access token. SSH requires an existing known-hosts file. - Review the upload and download counts. Approve the plan to publish your first snapshot.
Kitrove writes collection snapshots to the repository you choose. Keep credentials out of the clone URL. Each computer keeps its own credentials, local trust decisions, and tool placement records.
2. Connect the second computer
kitrove init
Choose Connect a second computer to the whole collection. Create an empty local collection and choose the same Git repository. Review the plan to bring down the saved items. Run kitrove apply when you want to add any of those items to a tool on this computer.
How does Kitrove handle conflicts?
If both computers change the same item in conflicting ways, Kitrove stops for review. If both computers already have populated collections with no shared history, choose Import specific items for a one-time copy. That choice leaves the remote collection in place.