tyroneross/rosslabs-ai-toolkit/plugin-sync
Claude Code and agent skill by tyroneross/rosslabs-ai-toolkit
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Use when the user asks to "sync plugins", "check plugin versions", "which plugins are drifting", "refresh marketplace versions", "update the plugin readme", "install plugin-sync hooks", "lint my plugin manifests", "validate plugin.json paths", "audit Codex installability", "plugin-sync status", or similar. Tool tracks local Claude Code plugins across source repos, marketplace manifests, and Claude Code's installed_plugins.json registry; detects drift and optionally fixes it; also lints plugin.j…
Install
npx vskill@latest install tyroneross/rosslabs-ai-toolkit/plugin-syncSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as tyroneross/rosslabs-ai-toolkit/plugin-sync.
plugin-sync
Local plugin version tracker and drift fixer. Scans source plugin dirs, cross-references with marketplace manifests and the Claude Code registry, reports mismatches, and optionally writes corrections.
When this skill fires
User language that should trigger this skill:
- "sync plugins" / "check plugin versions"
- "which plugins are drifting" / "any plugin drift"
- "refresh marketplace versions" / "update the plugin readme"
- "install plugin-sync hooks" / "turn on auto-sync hooks"
- "plugin-sync status" / direct CLI invocations
Preconditions
This tool is scoped to its author's machine. If ~/.config/claude-plugins/config.json does not exist, the plugin-sync command will exit with a clear error. In that case, tell the user:
This is a personal tool scoped to @tyroneross. To enable it, copy${CLAUDE_PLUGIN_ROOT}/../config.example.jsonto~/.config/claude-plugins/config.jsonand edit thesearchRootsto point at where you keep your plugin source dirs.
Do not invent a config on someone else's behalf.
Commands
The tool is installed at ~/.local/bin/plugin-sync (wrapper around tsx running the TypeScript CLI inside this plugin). Available subcommands:
| Command | Purpose | |
|---|---|---|
plugin-sync status | Read-only drift report — exits 0 if clean, 1 if drift found | |
plugin-sync status --json | Same, machine-readable output | |
plugin-sync status --source-set-only | Same drift report, but ignores orphan registry entries outside the configured canonical source set | |
plugin-sync codex | Read-only audit of Codex installability across canonical source plugins | |
plugin-sync codex --json | Same, machine-readable output | |
plugin-sync fix | Update marketplace manifests and registry to match source versions | |
plugin-sync fix --quiet | Same, but silent when nothing changed (used by git hooks) | |
plugin-sync state | Write ~/.config/claude-plugins/state.json snapshot (dashboard input) | |
plugin-sync readme | Rewrite the <!-- plugin-sync:start --> / <!-- plugin-sync:end --> section of each configured README | |
plugin-sync lint | Validate plugin.json path fields (hooks/skills/commands/agents/mcpServers) — catches ../, bare paths, missing targets | |
plugin-sync lint --json | Same, machine-readable output | |
plugin-sync install-hooks | Install .git/hooks/post-commit in every source plugin repo (auto-runs fix on version bumps) | |
plugin-sync uninstall-hooks | Remove plugin-sync-installed hooks |
Typical flow when user asks to check drift
- Run
plugin-sync statusvia the Bash tool - Show the table output verbatim (or summarize if long)
- If drift found (exit 1), ask the user whether to run
plugin-sync fix - On confirmation, run
plugin-sync fixand show its output - Offer to also run
plugin-sync readmeif any marketplace manifests changed (so the README table reflects the fix)
If the user is validating the canonical source set rather than the entire local Claude registry, prefer plugin-sync status --source-set-only.
Typical flow when user asks about Codex packaging
- Run
plugin-sync codex - Summarize any missing
.codex-plugin/plugin.jsonmanifests, missing Codex docs, or plugins with no Codex-usable surface - Keep the recommendation additive — Codex packaging must not weaken Claude behavior
Typical flow when user asks to install auto-sync
- Run
plugin-sync install-hooks - Show which plugin repos got a hook and which were skipped (e.g., existing user hooks that refuse to be overwritten)
- Explain: the hook lives in
.git/hooks/post-commit, which is never committed, so it stays machine-local
Interpreting statuses
✓ in sync— source version matches all marketplace + registry entries○ orphan— plugin source found but not referenced anywhere (informational; not an error)✗ drift— source version differs from at least one marketplace/registry version, OR a registry entry's installPath doesn't exist on disk- Duplicate source error — more than one canonical source root advertises the same plugin name; fix the config or the duplicate package roots before continuing
- Orphan registry entries — third-party or uninstalled plugins still referenced by
installed_plugins.json; the tool never modifies these automatically
What the tool will NOT do
- Delete anything (beyond overwriting marketplace.json and installed_plugins.json version strings)
- Touch third-party plugin caches (vercel, superpowers, etc.)
- Write to any source plugin's repo (the post-commit hook installer is the one exception, and it only writes to
.git/hooks/which is never committed) - Modify files outside the configured
marketplaceManifests,marketplaceReadmes, orclaudeCodeRegistrypaths - Auto-publish to npm, GitHub, or anywhere else
Backups
Every fix run creates timestamped backups (.bak-<epoch>) of every modified file, in the same directory as the original. If a fix goes wrong, restoring is a single mv command.
Scope
Designed for a solo developer managing 5–50+ local plugins. Zero dependencies on cloud services. No telemetry. No network calls.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingarchive/orphan-plugins-2026-04-21/plugin-sync/skills/plugin-sync/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tyroneross/rosslabs-ai-toolkit/plugin-sync)