agent-sync
Keep your AI coding agents in step: one set of skills, MCP servers, subagents, instructions and memory for Claude Code, Codex, Cursor, Gemini CLI and Antigravity, kept up to date on a schedule.
You pick the agents and one source agent. agent-sync copies what you set up there to the others, installs and updates your skill packages, plugins and CLIs, and asks before it removes anything. It runs on macOS, Linux and Windows 10 and 11.
At a glance
| What | How it's kept in step |
|---|---|
| Skills | Skill packages install for every agent; skills you write in the source agent are copied to the others |
| Subagents | Package agents are written in each agent's own format, with the models you choose |
| MCP servers | Added where they're missing; stale copies repaired; pinned versions moved up within their major |
| Instructions | Optional: one set of global instructions shared by every agent |
| Memory | Optional: Claude Code's memory notes shared, with private ones kept back |
| Status line | One status line with model, limits, context and cost in every CLI that supports it |
| Updates | Plugins, extensions, CLIs, MCP programs and agent-sync itself, held to your major versions |
Install
Requires Python 3.11+, git, and Node (for npx).
uv tool install kasakir-agent-sync # or: pipx install kasakir-agent-sync, or: brew install kasakir-ai/tap/agent-sync
agent-sync setup # find your agents; install missing prerequisites and CLIs
agent-sync run --dry-run # see what the first run would change
agent-sync run --force # first run, every step on screen
agent-sync install --launcher # schedule it; --launcher adds "Agent Upkeep" to the Desktop (macOS)
On Windows, in PowerShell:
irm https://raw.githubusercontent.com/Kasakir-AI/agent-sync/main/install.ps1 | iex # git, uv and agent-sync, then setup
agent-sync run --dry-run
agent-sync run --force
agent-sync install # schedule it with Task Scheduler
The schedule wakes hourly and at login and does the work once every 20 hours, so a day the computer was off is
caught up soon after it starts. On Linux it is a systemd user timer: run loginctl enable-linger to let it run
while you're logged out. On Windows it is a Task Scheduler task that runs without a window, and a run's questions
come up in a dialog.
On PyPI the package is kasakir-agent-sync (agent-sync there is another project); the commands are agent-sync
and agent-sync-statusline. A copy installed from git (pipx install git+https://github.com/Kasakir-AI/agent-sync.git
or uv tool install git+...) still works and keeps updating to each release's tag; a uv copy takes the package's
new name once by hand: run install.ps1 again on Windows, or uv tool install --force kasakir-agent-sync. Installing without uv, pipx or
Homebrew, setup options and uninstalling: install.
Everyday commands
agent-sync review # compare settings across agents in a local page and choose what to keep
agent-sync pending # what's waiting for your approval, and recent warnings
agent-sync pending --approve KEY # let the next run go ahead with one item (--keep KEY: never)
agent-sync inventory # what each agent loads, duplicates and outdated pins
agent-sync status # the last run, versions, log and backup size
agent-sync audit # check what the agents load for credentials, curl | sh and paths outside a skill
agent-sync config # change the settings by answering questions
agent-sync agents add gemini # keep another agent in step (agents remove ... to stop)
agent-sync skill suggest # skills that fit the project you're in
agent-sync run --dry-run # what the next run would change, without changing it
status, inventory, pending and audit print JSON with --json. audit exits 1 when it finds something.
Skills
agent-sync comes with a catalog of 130+ skills for 80+ technologies. A skill is a small bundle of instructions
that teaches an agent one kind of work. agent-sync spots what a project uses from its manifests and files
(package.json, pyproject.toml, Cargo.toml, a Dockerfile and more) and suggests the skills that fit.
# Spot the project's technologies and see the skills that fit
agent-sync skill suggest
# Install a skill
agent-sync skill install docker-expert
# Install every suggestion without asking
agent-sync skill suggest --install --all
# Search the catalog
agent-sync skill list kubernetes
- Most skills come from their makers. About 100 of them install from their makers' own repositories, such as
Angular, Vercel, Cloudflare, Anthropic, Clerk, Prisma, Supabase and WordPress, so you get the original, not a
copy.
agent-sync skill listshows where each one comes from. - Kasakir-AI/agent-sync-skills fills the gaps, with skills for technologies whose makers don't publish one. Improvements and new skills are welcome as pull requests.
- Each skill is pinned to the commit that was reviewed.
agent-sync skill installinstalls that exact commit, and theskillsCLI records it with a hash of the files. Upkeep doesn't move a pinned skill to a newer commit. To get a skill's newer pin from a later agent-sync release, install it again. - What the review leaves out. The catalog build runs the same checks as
agent-sync auditon every listed skill and flags what it finds. A person then reads each flagged skill and decides. Skills that steer agents to paid services, install other skills or MCP servers, pre-approve commands or run them when they load, or give unsafe advice are left out. The list and the reasons are incatalog/excluded.toml. The official command that starts a new project, such asnpx @angular/cli@latest new, stays in. - Skills still tell your agent to run your project's own tools, such as
npx playwright test, which use the version your project pins. Your agent asks before running a command, as it always does.
Skills install into the project you're in, for each agent you keep in step. Add --global to install for every
project. agent-sync skill install owner/repo/name installs a skill the catalog doesn't list (name is the one in
its SKILL.md), from that repository's newest commit, unpinned.
Skill packages you want everywhere go in skill_packages (default: pstack).
Upkeep installs and updates them for every agent. If a package install would replace a skill it didn't install,
such as one you wrote, upkeep puts yours back and asks whether the package's version should replace it.
Approvals and backups
- A run never removes something you or another program installed, and never installs a new major version, until you approve it. It asks in the terminal, in a desktop window, or in the Plannotator Inbox when you have it.
- Before changing a file, a run saves the original under
~/.local/state/agent-sync/backups/. Backups expire after 30 days or when they pass 500 MiB, starting with the largest. - Values that look like secrets stay in the agent where they are: they aren't copied to MCP settings, shared memory or instructions.
Details: approvals and backups, memory and privacy.
Review differences
agent-sync review opens a local page that compares instructions, rules, model roles, skills and MCP servers
across your agents. Each card says in one sentence what differs. Pick a version to keep, check the exact lines
each file gains or loses, and apply. Only the lines that differ are written, and every changed file is backed up
first. agent-sync review --list prints the same comparison in the terminal. More in review.
Configure
Run agent-sync config to change settings by answering questions, or edit ~/.config/agent-sync/config.toml
yourself (start from config.example.toml). Every key is optional. The most used:
| Key | Default | What it does |
|---|---|---|
agents |
["claude", "codex", "cursor"] |
the agents to keep in step |
source |
"claude" |
the agent the others follow |
skill_packages |
["backnotprop/pstack"] |
skill packages installed for every agent |
mirror_instructions |
false |
share global instructions |
mirror_memory |
unset | share Claude Code's memory notes (asked once) |
keep_installed |
[] |
items upkeep never removes or replaces |
update_global_tools |
false |
also update your global npm, pipx, uv (and Homebrew) tools |
Every setting: configuration. Your own steps, models and notes: make it yours. The full list of what's kept in step and how: what it keeps in step. The status line: status line.
What it changes
| Agent | Files |
|---|---|
| Claude Code | ~/.claude/skills/*, ~/.claude/agents/*.md, ~/.claude/rules/pstack-models.md, ~/.claude.json (mcpServers), ~/.claude/settings.json (statusLine), ~/.claude/CLAUDE.md (opt-in) |
| Codex | ~/.agents/skills/*, ~/.codex/agents/*.toml, ~/.agents/pstack-models.md, ~/.codex/config.toml ([mcp_servers.*], [tui] status_line), Codex plugins, ~/.codex/AGENTS.md (opt-in, memory index) |
| Cursor | ~/.agents/skills/*, ~/.cursor/plugins/local/<package>-agents/, ~/.cursor/rules/pstack-models.mdc, ~/.cursor/mcp.json, ~/.cursor/cli-config.json (statusLine), ~/.cursor/rules/agent-sync-instructions.mdc (opt-in, memory index) |
| Gemini CLI | ~/.agents/skills/*, ~/.gemini/agents/*.md, ~/.agents/pstack-models.md, ~/.gemini/settings.json (mcpServers), ~/.gemini/GEMINI.md (opt-in, memory index) |
| Antigravity | ~/.gemini/config/skills/*, ~/.gemini/config/agents/*.md, ~/.agents/pstack-models.md, ~/.gemini/config/mcp_config.json, ~/.gemini/antigravity-cli/settings.json (statusLine), Antigravity plugins, ~/.gemini/GEMINI.md (opt-in, memory index) |
| All | ~/.agents/memory/* (memory copies), MCP server programs and global tools through their package managers |
agent-sync skill install writes only into the project's skill folders (.claude/skills, .agents/skills and
the like), or into the ones above with --global.
State, backups and pending approvals live in ~/.local/state/agent-sync/. The log is
~/Library/Logs/agent-sync.log on macOS and ~/.local/state/agent-sync/agent-sync.log on Linux.
Safety
Skills, skill packages and the skills CLI run with your agents' full permissions, so install only what you
trust and read a skill before you rely on it. You can pin skills_cli to choose when it updates. Read
SECURITY.md for how to report a problem.
Support
agent-sync is free. If it helps you, you can star the repo, buy me a coffee on Ko-fi, or sponsor on GitHub, once or monthly.
Sponsors
No sponsors featured here yet. Become the first! All sponsors: SPONSORS.md.
License
MIT, see LICENSE. Skills in the catalog keep their makers' licenses. pstack and the skills CLI are
separate projects with their own licenses.
Metadata
Release files for kasakir-agent-sync 0.11.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kasakir_agent_sync-0.11.1.tar.gz | 313.9 kB | With provenance | Details for kasakir_agent_sync-0.11.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kasakir_agent_sync-0.11.1-py3-none-any.whl | Python 3 | none | any | Details for kasakir_agent_sync-0.11.1-py3-none-any.whl |
Total release size: 517.9 kB
Release files / kasakir_agent_sync-0.11.1.tar.gz
| Download URL | kasakir_agent_sync-0.11.1.tar.gz |
|---|---|
| Size | 313.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b521dcbf698f7e746961e06c49083791ec2b794a0a410b4069dfd1f12076a7ef
|
|
BLAKE2b-256 checksum How to use checksums |
a80b145bdf562c9b80423fe86ce972ac20ea7e7e0d38f488a8e62492377a63ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / kasakir_agent_sync-0.11.1-py3-none-any.whl
| Download URL | kasakir_agent_sync-0.11.1-py3-none-any.whl |
|---|---|
| Size | 204.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c91df5aafa59fe1587959bf48daca82655a680ce03a9f1d09175dbfc03d6518e
|
|
BLAKE2b-256 checksum How to use checksums |
2c79c05e50ad2a5599170a622b2b4ab8f528b74bc70462cc7df10c445cddea3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for kasakir-agent-sync 0.11.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for kasakir_agent_sync-0.11.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.