Skip to main content

agent-sync

Keep your AI coding agents in step. agent-sync gives Claude Code, Codex, Cursor, Gemini CLI and Antigravity one set of skills, MCP servers, subagents, instructions and memory, and keeps them up to date on a schedule.

You pick the agents and one source agent. agent-sync copies what you set up in the source agent to the others. It installs and updates your skill packages, plugins and CLIs. It asks before it removes anything. It runs on macOS, Linux, and Windows 10 and 11.

Status: 0.11.3. See the changelog and the roadmap.

What it keeps in step

What How
Skills Installs your skill packages for every agent. Copies skills you write in the source agent to the others.
Subagents Writes package subagents in each agent's own format, with the models you choose.
MCP servers Adds servers that are missing and repairs stale copies. Moves pinned versions up within their major version.
Instructions Optional. Shares one set of global instructions with every agent.
Memory Optional. Shares Claude Code's memory notes and keeps private ones back.
Status line Sets one status line in Claude Code, Codex, Cursor and Antigravity.
Updates Updates plugins, extensions, CLIs, MCP programs and agent-sync itself within your major versions.

Install

On macOS, use Homebrew:

brew install kasakir-ai/tap/agent-sync

On macOS or Linux without Homebrew, use uv or pipx. The PyPI package is kasakir-agent-sync. The agent-sync package on PyPI is another project.

uv tool install kasakir-agent-sync        # or: pipx install kasakir-agent-sync

On Windows, run this in PowerShell. It installs git and uv when they are missing, then agent-sync, then runs agent-sync setup.

irm https://raw.githubusercontent.com/Kasakir-AI/agent-sync/main/install.ps1 | iex

agent-sync needs Python 3.11 or later. Homebrew and uv bring their own. Other ways to install, setup options and uninstalling are in install.

First run

  1. Find your agents and install what is missing. On macOS and Windows, setup installs git, Node and the agent CLIs you choose. On Linux without Homebrew, install git and Node with your package manager.

    agent-sync setup
    
  2. See what the first run would change, without changing it.

    agent-sync run --dry-run
    
  3. Run it, with every step on screen.

    agent-sync run --force
    
  4. Schedule it. On macOS, --launcher also puts a double-click "Agent Upkeep" on the Desktop.

    agent-sync install --launcher
    

The schedule wakes every hour and at login. A run does the work once every 20 hours, so a day the computer was off is caught up soon after it starts. On Linux the schedule is a systemd user timer. Run loginctl enable-linger to let it run while you are 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.

Everyday commands

agent-sync run --dry-run          # what the next run would change, without changing it
agent-sync pending                # what waits 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 review                 # compare settings across agents in a local page and choose what to keep
agent-sync status                 # the last run, versions, log and backup size
agent-sync inventory              # what each agent loads, duplicates and outdated pins
agent-sync audit                  # check skills and MCP settings for credentials and risky commands
agent-sync restore                # list backups; agent-sync restore latest puts the newest one back
agent-sync config                 # change the settings by answering questions
agent-sync agents add gemini      # keep another agent in step (agents remove gemini to stop)
agent-sync skill suggest          # skills that fit the project you are in

status, inventory, pending and audit print JSON with --json. audit exits 1 when it finds something. agent-sync uninstall removes the schedule and the launcher.

Skills

agent-sync has 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 skill suggest reads the project's files, such as package.json, pyproject.toml, Cargo.toml and Dockerfile, and suggests the skills that fit.

agent-sync skill suggest                   # suggest skills for this project
agent-sync skill suggest --install --all   # install every suggestion without asking
agent-sync skill install docker-expert     # install one skill
agent-sync skill list kubernetes           # search the catalog
  • About 100 skills install from their makers' own repositories, such as Angular, Cloudflare, Prisma, Supabase and Vercel. Kasakir-AI/agent-sync-skills fills the gaps. agent-sync skill list shows where each skill comes from.
  • Each catalog skill is pinned to the commit that was reviewed. Upkeep does not move a pinned skill to a newer commit. To get a newer pin from a later agent-sync release, install the skill again.
  • The review leaves out skills that steer agents to paid services, install other skills or MCP servers, pre-approve or auto-run commands, or give unsafe advice. The list and the reasons are in catalog/excluded.toml.
  • skill install writes into the project you are 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 does not list, from that repository's newest commit, unpinned.

Skill packages you want everywhere go in skill_packages. The default is pstack. If a package would replace a skill it did not 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 dialog, or in the Plannotator Inbox when you have it.
  • Before a run changes a file, it saves the original. agent-sync restore puts a backup back. Backups are kept for 30 days and up to 500 MiB in all (backup_days, backup_max_mb).
  • Values that look like secrets stay in their agent. agent-sync does not copy them to MCP settings, shared memory or instructions.

More in approvals and backups and 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. Pick the version to keep, check the lines each file gains or loses, and apply. agent-sync writes only the lines that differ and backs up each file first. agent-sync review --list prints the comparison in the terminal. More in review.

Settings

Run agent-sync config to change settings by answering questions. You can also edit ~/.config/agent-sync/config.toml yourself. Start from config.example.toml. Every key is optional. These are 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. The first run asks.
keep_installed [] Items upkeep never removes or replaces.
update_global_tools false true also updates your global npm, pipx and uv tools. A list such as ["npm", "homebrew"] picks the managers.

More pages:

What it changes

Paths start in your home folder. On Windows, that is %USERPROFILE%.

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, such as .claude/skills and .agents/skills. With --global, it writes into the folders above.

agent-sync keeps its own files in the same places on every system:

  • Settings: ~/.config/agent-sync/config.toml
  • State, backups and pending approvals: ~/.local/state/agent-sync/
  • Log: ~/Library/Logs/agent-sync.log on macOS, agent-sync.log in the state folder elsewhere

XDG_CONFIG_HOME and XDG_STATE_HOME replace ~/.config and ~/.local/state when set.

Safety

Skills, skill packages and the skills CLI run with your agents' full permissions. Install only what you trust, and read a skill before you rely on it. Pin skills_cli to choose when the skills CLI updates. Read SECURITY.md for more and 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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kasakir-agent-sync 0.11.3
File Size Uploaded Provenance Actions
kasakir_agent_sync-0.11.3.tar.gz 317.8 kB With provenance Details for kasakir_agent_sync-0.11.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kasakir-agent-sync 0.11.3
File Interpreter ABI Platform Actions
kasakir_agent_sync-0.11.3-py3-none-any.whl Python 3 none any Details for kasakir_agent_sync-0.11.3-py3-none-any.whl

Total release size: 523.1 kB

Release files / kasakir_agent_sync-0.11.3.tar.gz

Download URL kasakir_agent_sync-0.11.3.tar.gz
Size 317.8 kB
Tags Source
SHA-256 checksum
How to use checksums
775a34ddfe97e164184d3f8e9b8e692f3a637bf08d6a130f59fdd5a10ff295bd
BLAKE2b-256 checksum
How to use checksums
7b1eb57fc57a114ac6a3575bfba2ca6da29fa18087f334e0b2f80bea44dd5ae5
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 log

Release files / kasakir_agent_sync-0.11.3-py3-none-any.whl

Download URL kasakir_agent_sync-0.11.3-py3-none-any.whl
Size 205.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aedd792204b79b7e607382b0e5df3a7fca572df114f55320c914913c59b713a2
BLAKE2b-256 checksum
How to use checksums
445ef575ccd16ebe7dec38b254a0b401b65eb48fbe03fd9060fa71e2c4828f41
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 log

Security for kasakir-agent-sync 0.11.3

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.

Select from 2 files

Attestation for kasakir_agent_sync-0.11.3.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page