sync

sync is a command for Claude Code from TakashiKakizoe1109/cc-backlog-connect. It costs 0 tokens per session (1,692 once invoked), scanned A, original, MIT.

A command that copies Backlog issue information into files in the `docs/backlog/` folder. Backlog is a project-management service for tracking tasks and bugs.

In plain words
What is it for?
Synchronise unfinished issues, all issues, or a named issue, with optional filters or a preview that writes no files.
Why use it?
It gives the codebase a local, reviewable copy of selected Backlog issues instead of requiring repeated visits to the service.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

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 cc-backlog-connect plugin — 5 skills, 2 commands, 1 hook shipped together

Good fit Synchronise unfinished issues, all issues, or a named issue, with optional filters or a preview that writes no files.

Compare 6 commands 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 TakashiKakizoe1109/cc-backlog-connect
Claude Code
/plugin install cc-backlog-connect

Made for: Claude Code.

Or install cc-backlog-connect, the plugin that ships this one along with the rest of its 5 skills, 2 commands, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/takashikakizoe1109/cc-backlog-connect/sync/github.svg)](https://agentmods.dev/commands/takashikakizoe1109/cc-backlog-connect/sync)
Your own site
<a href="https://agentmods.dev/commands/takashikakizoe1109/cc-backlog-connect/sync"><img src="https://agentmods.dev/badge/commands/takashikakizoe1109/cc-backlog-connect/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 sync

Your own site · 80×15
<a href="https://agentmods.dev/commands/takashikakizoe1109/cc-backlog-connect/sync"><img src="https://agentmods.dev/badge/commands/takashikakizoe1109/cc-backlog-connect/sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,692 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.01692
Opus 5 $0.00000 $0.00846
Sonnet 5 $0.00000 $0.00338
Haiku 4.5 $0.00000 $0.00169

Measured 8d ago against content hash c0a31364b0d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 8d 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.

plugin/commands/sync.md · 129 lines

How it starts

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

Backlog の課題情報を docs/backlog/ ディレクトリに同期します。

事前チェック

まず .cc-backlog/config.json が存在するか確認してください。

存在しない場合は、同期を実行せず以下のように案内してください:

Backlog の接続設定がまだ行われていません。先に /cc-backlog-connect:config を実行して、Backlog スペース名・API キー・プロジェクトキーを設定してください。

設定が存在する場合のみ、以下の同期を実行してください。

実行方法

bash "${CLAUDE_PLUGIN_ROOT}/scripts/cc-backlog.sh" sync $ARGUMENTS

上記が失敗する場合は直接実行してください:

node "${CLAUDE_PLUGIN_ROOT}/dist/index.js" sync $ARGUMENTS

$ARGUMENTS の処理

引数が渡された場合

ユーザーが引数を渡した場合(例: --all, --issue PROJ-123 など)は、質問せずにそのままオプションとして実行してください。

引数がない場合(インタラクティブモード)

引数なしで呼ばれた場合は、以下の 2ステップ でユーザーに確認してください。


Step 1: 同期範囲を選択

以下の選択肢を提示してください:

同期する範囲を選択してください:

  1. 未完了の課題のみ同期
  2. 全課題を同期(完了含む)
  3. 特定の課題を指定して同期
  4. プレビュー(dry-run: ファイル書き込みなし)
選択 $ARGUMENTS の基本部分
1 (引数なし)
2 または ALL --all
3 または課題キー(例: PROJ-123 --issue <課題キー> ※ 課題キーが未指定なら質問してください
4 --dry-run

Step 2: フィルターを自然言語で追加(任意)

⚠️ 重要: Step 1 の回答を受け取ったら、コマンドをまだ実行しないでください。必ず Step 2 の質問を先に行ってください。

Step 1 の回答後、続けて以下を聞いてください:

フィルターを追加しますか?(Enterでスキップ) 例:「田中さん担当」「バグ種別のみ」「マイルストーン3月」「高優先度」「未解決のみ」

ユーザーの自然言語入力を解釈して、以下のオプションに変換してください:

ユーザーの表現例 変換するオプション
「〇〇さん担当」「担当者が〇〇」 --assignee <名前>
「バグ」「タスク」「〇〇種別」 --type <種別名>
「マイルストーン〇〇」「〇〇マイル」 --milestone <名前>
「カテゴリー〇〇」 --category <名前>
「〇〇で登録した」「登録者が〇〇」 --created-user <名前>
「ステータスが〇〇」「処理中のみ」 --status <名前>
「高優先度」「優先度が高い」 --priority 高
「〇〇バージョン」「バージョン〇〇」 --version <名前>
「解決済み」「修正済み」など完了理由 --resolution <名前>
「子課題のみ」「親課題のみ」「子課題以外」 --parent-child <0-4>
「〇〇を含む」「キーワード〇〇」 --keyword <テキスト>
「上書き」「force」 --force
スキップ・空入力 フィルターなし

変換後、実行前に以下のように確認してください:

以下の設定で同期します:

  • 範囲: [例: 未完了の課題のみ]
  • フィルター: [例: 担当者=田中、種別=バグ]
  • コマンド: sync --assignee 田中 --type バグ

実行しますか?

「はい」「OK」「実行」などの返答で実行してください。

Read the full file on GitHub · 129 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. 8d ago First seen · 129 lines · 0 tokens per session scan A c0a31364b0d9

Subscribe to this mod's changes

sync is a command published in the GitHub repository TakashiKakizoe1109/cc-backlog-connect (2 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,692 tokens. 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-08-31.