backlog-sync

backlog-sync is a command for Claude Code from gonzalezpazmonica/pm-workspace. It costs 22 tokens per session (381 once invoked), scanned A, original, MIT.

A synchronisation command for keeping a local Markdown backlog aligned with Azure DevOps, Jira, or GitHub Issues. It can pull remote items, push local items, or show differences before changing anything.

In plain words
What is it for?
It helps detect the configured provider, check credentials, transfer or compare backlog items, and record the synchronisation result.
Why use it?
It reduces the need to update the same work in multiple systems by hand. When both sides changed, it shows the conflict for a person to decide instead of resolving important fields automatically.

Command for Claude Code

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

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.

agentmods
npx agentmods add commands/gonzalezpazmonica/pm-workspace/backlog-sync
Clone the repo
git clone --depth 1 https://github.com/gonzalezpazmonica/pm-workspace

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/gonzalezpazmonica/pm-workspace/backlog-sync.svg)](https://agentmods.dev/commands/gonzalezpazmonica/pm-workspace/backlog-sync)
Your own site
<a href="https://agentmods.dev/commands/gonzalezpazmonica/pm-workspace/backlog-sync"><img src="https://agentmods.dev/badge/commands/gonzalezpazmonica/pm-workspace/backlog-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 381 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00022 $0.00381
Opus 5 $0.00011 $0.00191
Sonnet 5 $0.00004 $0.00076
Haiku 4.5 $0.00002 $0.00038

Measured 2d ago against content hash 83113c787be8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

backlog-sync scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/backlog-sync.md · 50 lines

What it actually says

/backlog-sync

Synchronize local markdown backlog with external PM tools.

Providers

Provider Adapter Requirements
azure-devops sync-adapters/azure-devops-adapter.sh AZURE_DEVOPS_ORG_URL + PAT
jira sync-adapters/jira-adapter.sh JIRA_BASE_URL + email + token
github sync-adapters/github-issues-adapter.sh gh CLI + --repo

Actions

  • pull: Download items from external tool, merge into local backlog
  • push: Upload local PBIs to external tool (creates new, updates existing)
  • diff: Show differences without applying changes

Conflict Policy

  • Both changed: show diff, ask PM to decide
  • Only local changed: push
  • Only remote changed: pull
  • NEVER auto-resolve state, estimation, or assignment conflicts

Steps

  1. Detect provider from project _config.yaml or --provider flag
  2. Validate credentials and connectivity
  3. Execute requested action via adapter script
  4. Log sync operation to output/.sync-log.jsonl
  5. Show summary with counts

Output

Sync: local ↔ azure-devops (project-name)
  Created: 2 | Updated: 3 | Conflicts: 0 | Skipped: 1
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. 2d ago First seen · 50 lines · 22 tokens per session scan A 83113c787be8

Subscribe to this mod's changes

backlog-sync is a command published in the GitHub repository gonzalezpazmonica/pm-workspace (49 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 381 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.