negent syncs AI coding assistant config and memory files across machines using a git-backed remote store.
- Keep assistant setup consistent across laptop/workstation/server environments.
- Review and version assistant data with standard Git workflows.
- Preview all sync actions before applying them (
diff,push --dry-run,pull --dry-run). - Resolve local/remote conflicts with interactive or non-interactive flows.
| Area | Status |
|---|---|
| Agents | Claude Code, GitHub Copilot CLI |
| Platforms | Linux, macOS |
| Backend | Git |
| Windows | Not supported yet |
go install github.com/manmart/negent@latestDownload artifacts from GitHub Releases (published for tagged versions).
git clone https://github.com/manmart/negent.git
cd negent
go build -o negent .- Create a Git repository to act as your shared sync store.
- On machine A, initialize negent:
negent init --repo git@github.com:<you>/<negent-sync-repo>.git- Preview and push local data:
negent push --dry-run
negent push- On machine B, point to the same repo and pull:
negent init --repo git@github.com:<you>/<negent-sync-repo>.git
negent pull --dry-run
negent pull- Check ongoing state:
negent status
negent diff- If pull detects local/remote conflicts:
negent conflicts --list
negent conflicts| Command | Purpose |
|---|---|
add <agent> |
Add another agent to an existing negent setup |
auto |
Manage automatic sync hooks |
clean <agent> |
Delete local agent configuration on this machine |
completion |
Generate the autocompletion script for the specified shell |
config edit |
Edit negent configuration |
conflicts |
List and resolve sync conflicts |
diff |
Preview local and remote sync actions |
init |
Initialize negent on this machine |
link <agent> <remote-project> <local-path> |
Manually link a remote project to a local path |
pull |
Pull remote agent configs to this machine |
push |
Push local agent configs to the remote |
status |
Show sync status for configured agents |
negent ships as a Claude Code plugin with slash commands and auto-sync hooks.
Option A: Marketplace (recommended)
From inside Claude Code:
/plugin marketplace add manmartgarc/negent
/plugin install negent@negentFrom your shell:
claude plugin marketplace add manmartgarc/negent
claude plugin install negent@negentThe plugin auto-installs the negent binary from GitHub Releases on first run if it is not already available on your PATH.
Option B: Local development
claude --plugin-dir ./plugin| Command | Description |
|---|---|
/negent:push |
Push local configs to remote |
/negent:pull |
Pull remote configs to this machine |
/negent:status |
Show sync status |
/negent:diff |
Preview sync differences |
/negent:conflicts |
List and resolve conflicts |
The plugin automatically syncs on session start (push then pull) and session stop (push).
Alternatively, negent auto enable installs hooks directly into ~/.claude/settings.json. The plugin approach above is preferred.
MIT — see LICENSE.