git-autosync
v0.10.0Puts a project into a known-good git state before the first prompt of every session: brings the branch the session opened on level with the remote's default branch (main, falling back to master), initializes submodules recursively, attaches each top-level submodule to the superproject's branch instead of a detached HEAD, and brings each one level with its own remote at the branch .gitmodules declares. This keeps a claude remote-control worktree current with upstream on start, since that worktree is built before any session hook runs and SessionStart is the only moment left to reconcile it. The sync is always a merge and never destroys anything - a fast-forward when the branch has no local commits, a merge commit when it does. Does nothing outside a git repo or in a repo with no remote, never fails a session, and turns the sync off when GIT_AUTOSYNC_DISABLE is set. Also bundles a read-only recap skill that reports, for the superproject and each top-level submodule, the local branch and tracking remote (each with its commit id) and the pull requests whose head is that branch.
By Duy Lam0 GitHub starsUpdated 2 weeks ago
Directory evidence
- Runtimes
- Claude Code
- Parsed components
- 1 skill or MCP entry
- Source updated
- Sep 8, 2026
- Manifest status
- Canonical path parsed
The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →
Install git-autosync for Claude Code
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install git-autosync@agent-plugin-marketplacePaste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/duylam/claude-code-engineering-assemblyClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/git-autosync/.
Plugin files
├── .claude-plugin/plugin.json└── skills/recap/SKILL.md
Included Skills1
This skill should be used when the operator asks to "recap", "give me a recap", "where are we", "status of this session", "what's the state of my branches and PRs", or "catch me up on this conversation". Reports branch and tracking-remote state (each with its commit id) for the superproject and each top-level submodule, the pull requests for those branches with their status, and a recap of the current conversation reconciled against the work journal's open items.
Plugin manifests1
{
"name": "git-autosync",
"description": "Puts a project into a known-good git state before the first prompt of every session: brings the branch the session opened on level with the remote's default branch (main, falling back to master), initializes submodules recursively, attaches each top-level submodule to the superproject's branch instead of a detached HEAD, and brings each one level with its own remote at the branch .gitmodules declares. This keeps a claude remote-control worktree current with upstream on start, since that worktree is built before any session hook runs and SessionStart is the only moment left to reconcile it. The sync is always a merge and never destroys anything - a fast-forward when the branch has no local commits, a merge commit when it does. Does nothing outside a git repo or in a repo with no remote, never fails a session, and turns the sync off when GIT_AUTOSYNC_DISABLE is set. Also bundles a read-only recap skill that reports, for the superproject and each top-level submodule, the local branch and tracking remote (each with its commit id) and the pull requests whose head is that branch.",
"version": "0.10.0",
"author": {
"name": "Duy Lam",
"email": "[email protected]"
}
}For maintainers
If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.
[git-autosync on Agent Plugins Marketplace](https://pluginsmp.com/plugins/git-autosync)