sync-claude-code-plugins

sync-claude-code-plugins is a skill for Claude Code from doodledood/manifest-dev. It costs 89 tokens per session (2,106 once invoked), scanned C, original, MIT.

A synchronization tool that copies the prompt-engineering plugin's agents and skills from a neighboring local repository into the current project's .claude/ folder. It also tracks which files it previously copied.

In plain words
What is it for?
Use it to sync agents and skills from ../claude-code-plugins, remove only previously synced items that no longer exist upstream, and leave project-local content untouched.
Why use it?
It keeps the project self-contained for isolated or web environments while avoiding changes to unrelated files in .claude/.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions Codex.

Good fit Use it to sync agents and skills from ../claude-code-plugins, remove only previously synced items that no longer exist upstream, and leave project-local content untouched.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/doodledood/manifest-dev/sync-claude-code-plugins
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add doodledood/manifest-dev --skill sync-claude-code-plugins
Clone the repo
git clone --depth 1 https://github.com/doodledood/manifest-dev

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sync-claude-code-plugins

README.md
[![agentmods](https://agentmods.dev/badge/skills/doodledood/manifest-dev/sync-claude-code-plugins/github.svg)](https://agentmods.dev/skills/doodledood/manifest-dev/sync-claude-code-plugins)
Your own site
<a href="https://agentmods.dev/skills/doodledood/manifest-dev/sync-claude-code-plugins"><img src="https://agentmods.dev/badge/skills/doodledood/manifest-dev/sync-claude-code-plugins/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sync-claude-code-plugins

Your own site · 80×15
<a href="https://agentmods.dev/skills/doodledood/manifest-dev/sync-claude-code-plugins"><img src="https://agentmods.dev/badge/skills/doodledood/manifest-dev/sync-claude-code-plugins.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,106 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.02106
Opus 5.5 $0.00036 $0.00842
Sonnet 5.5 $0.00018 $0.00421
Haiku 4.5 $0.00009 $0.00211

Measured 2mo ago against content hash 17caee25bb9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

sync-claude-code-plugins scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **Symlinks look like directories to `cp`/`rm`/`find`**: a symlinked target overwritten by `cp -R` corrupts the linked plugin's source files; a symlinked directory deleted by `rm -rf` removes the link, not the plugin, b
.claude/skills/sync-claude-code-plugins/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

User request: $ARGUMENTS

Sync prompt-engineering plugin components from a local sibling clone of claude-code-plugins into this repo's .claude/ directory. The plugin OWNS only the files it ships — other content in .claude/agents/ and .claude/skills/ (manifest-dev sync, KB skills, anything else) must be left alone.

Source & Target

Role Path
Source repo ../claude-code-plugins (relative to this repo's root)
Source components <source_repo>/claude-plugins/prompt-engineering/
Target .claude/ in this repo
Tracking file .claude/.claude-code-plugins-sync.json

Sync scope

Component Source dir Target dir
Agents agents/ .claude/agents/
Skills skills/ .claude/skills/

prompt-engineering ships no hooks today.

Territory model

Deletion invariant: only items in tracked (the previously-synced set) are eligible for removal when they disappear upstream. Items never in tracked are invisible — that's how project-local content stays safe.

The tracked set lives in .claude/.claude-code-plugins-sync.json:

{
  "version": 1,
  "last_synced_at": "ISO-8601 timestamp",
  "agents": ["<agent-file>.md", "..."],
  "skills": ["<skill-dir>", "..."]
}

First run (file missing): tracked is empty, no deletions happen, file is written at end.

Sync algorithm

Pre-flight: if the source is a clean git repo, git pull --ff-only first; surface a warning and proceed if pulling fails.

Then, when <source_repo>/claude-plugins/prompt-engineering/ is missing, decide which of two different situations produced that one signal before doing anything else. A misconfigured path and a retired-upstream plugin look identical from the target side, and treating retirement as misconfiguration is what strands a retirement: the tracked items stay forever, because the only machinery that could remove them refuses to run.

  • Misconfigured path — the default. <source_repo> itself does not resolve, is not a git repository, or is a partial or mid-clone checkout. Abort. Delete nothing, and leave the tracking file untouched.
  • Confirmed upstream removal. <source_repo> resolves to a healthy full clone, and its own history shows the plugin deliberately removed — a commit deleting claude-plugins/prompt-engineering/, and a decision record in <source_repo>/docs/adr/ stating the retirement. Both are required: a directory absent from a healthy clone with no such history is still treated as misconfiguration. On confirmation, run the sync with an empty source listing — every tracked item becomes eligible for deletion under the ordinary tracked − source rule, the .agents/ mirror symlinks go with them, and the tracking file is left with empty agents and skills arrays. Add the removed components to the retirement denylist in the same change, so a stale checkout cannot reintroduce them, and record the propagation in this repo's own docs/adr/.

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +19 lines 17caee25bb9a
  2. 3mo ago First seen · 94 lines · 89 tokens per session scan C 16594fde4168

Subscribe to this mod's changes

sync-claude-code-plugins is a skill published in the GitHub repository doodledood/manifest-dev (80 stars, last pushed yesterday), licensed MIT. It adds 89 tokens to every session and 2,106 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

sync-claude-code-plugins compared with skills from other repositories

sync-claude-code-plugins next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sync-claude-code-pluginsdoodledood/manifest-devSkill80yesterdayMITC89Claude Code
update-lidjszmajda/lidSkill1223d agoMITA105Claude Code
great_ctoavelikiy/great_ctoSkill11714d agoMITA32Claude Code
skeptical-triageavelikiy/great_ctoSkill11714d agoMITA49Claude Code
reference-lockavelikiy/great_ctoSkill11714d agoMITA102Claude Code
anti-patternsavelikiy/great_ctoSkill11714d agoMITA59Claude Code
product-economicsavelikiy/great_ctoSkill11714d agoMITA55Claude Code