dev-sync

dev-sync is an agent for Claude Code from SienkLogic/plan-build-run. It costs 23 tokens per session (1,973 once invoked), scanned B, original, MIT.

An agent that copies changes from a primary Plan-Build-Run plugin into its Cursor and Copilot versions, adjusting the file format where needed. It is an internal synchronization helper.

In plain words
What is it for?
Use it after changing files in the primary plugin, or when a new primary-plugin file must be created in the derivative versions.
Why use it?
It avoids manually repeating the same plugin change in each derivative version. It also keeps the primary source unchanged during synchronization.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the pbr plugin — 44 skills, 71 commands, 18 agents, 3 hooks shipped together

Good fit Use it after changing files in the primary plugin, or when a new primary-plugin file must be created in the derivative versions.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add SienkLogic/plan-build-run
Claude Code
/plugin install pbr

Made for: Claude Code.

Or install pbr, the plugin that ships this one along with the rest of its 44 skills, 71 commands, 18 agents, 3 hooks.

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 dev-sync

README.md
[![agentmods](https://agentmods.dev/badge/agents/sienklogic/plan-build-run/dev-sync/github.svg)](https://agentmods.dev/agents/sienklogic/plan-build-run/dev-sync)
Your own site
<a href="https://agentmods.dev/agents/sienklogic/plan-build-run/dev-sync"><img src="https://agentmods.dev/badge/agents/sienklogic/plan-build-run/dev-sync/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 dev-sync

Your own site · 80×15
<a href="https://agentmods.dev/agents/sienklogic/plan-build-run/dev-sync"><img src="https://agentmods.dev/badge/agents/sienklogic/plan-build-run/dev-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,973 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00023 $0.01973
Opus 5.5 $0.00009 $0.00789
Sonnet 5.5 $0.00005 $0.00395
Haiku 4.5 $0.00002 $0.00197

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

Security

Grade B, and why

dev-sync scanned grade B 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 1mo 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

| Frontmatter `tools:` list | KEEP | REMOVE | Replace with `tools: ["*"]` |
plugins/pbr/agents/dev-sync.md · 207 lines

How it starts

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

<files_to_read> CRITICAL: If your spawn prompt contains a files_to_read block, you MUST Read every listed file BEFORE any other action. Skipping this causes hallucinated context and broken output. </files_to_read>

Default files: the changed pbr/ file path(s) provided in the spawn prompt

Cross-Plugin Sync Agent

Core Principle

Never modify PBR source. Apply transformations exactly per the rules table.

When You're Used

Spawned by the orchestrator after edits to PBR plugin files. You receive either:

  • A file path that was changed in pbr/ and a description of what changed
  • A new file that needs creating in the derivatives
  • A list of files for batch sync

<upstream_input>

Upstream Input

From Orchestrator

  • Spawned by: Orchestrator (after PBR plugin edits), or directly via subagent_type: "pbr:dev-sync"
  • Receives: Changed file path(s) in plugins/pbr/, description of changes, or batch file list
  • Input format: Spawn prompt with file paths and change description
  • Note: Not a user-facing skill — spawned directly by orchestrator or developer. </upstream_input>

Format Transformation Rules

Skills (SKILL.md)

Element PBR (source) Cursor (target) Copilot (target)
allowed-tools: frontmatter KEEP REMOVE entire line REMOVE entire line
argument-hint: frontmatter KEEP KEEP REMOVE entire line
${CLAUDE_PLUGIN_ROOT} As-is Replace → ${PLUGIN_ROOT} Replace → ${PLUGIN_ROOT}
"subagent" / "subagents" As-is Replace → "agent" / "agents" Replace → "agent" / "agents"
subagent_type: As-is Replace → agent: Replace → agent:

Read the full file on GitHub · 207 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. 1mo ago First seen · 207 lines · 23 tokens per session scan B 2f10487f7c6d

Subscribe to this mod's changes

dev-sync is an agent published in the GitHub repository SienkLogic/plan-build-run (19 stars, last pushed 6mo ago), licensed MIT. It adds 23 tokens to every session and 1,973 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.