sync

sync is a command for Claude Code from thrashr888/AllBeads. It costs 7 tokens per session (139 once invoked), scanned A, original, MIT.

A command-line tool for synchronizing AllBeads project contexts with their Git remote repositories. It can sync all contexts, one context, or only check sync status.

In plain words
What is it for?
Use it at the start of a session, after changes across multiple repositories, or before creating reports that combine information from several repositories.
Why use it?
It prevents local context data from falling behind what is stored in the corresponding remote repositories.

Command for Claude Code

Part of the allbeads plugin — 1 skill, 19 commands, 4 agents, 1 hook 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/thrashr888/allbeads/sync
Clone the repo
git clone --depth 1 https://github.com/thrashr888/AllBeads

Made for: Claude Code.

Or install allbeads, the plugin that ships this one along with the rest of its 1 skill, 19 commands, 4 agents, 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/thrashr888/allbeads/sync.svg)](https://agentmods.dev/commands/thrashr888/allbeads/sync)
Your own site
<a href="https://agentmods.dev/commands/thrashr888/allbeads/sync"><img src="https://agentmods.dev/badge/commands/thrashr888/allbeads/sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 139 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 $0.00007 $0.00139
Opus 5 $0.00003 $0.00069
Sonnet 5 $0.00001 $0.00028
Haiku 4.5 $0.00001 $0.00014

Measured 3d ago against content hash 983efc92f829, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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-plugin/commands/sync.md · 19 lines

What it actually says

Synchronize AllBeads contexts with their git remotes.

Commands:

  • allbeads sync - Sync the AllBeads config (if in git)
  • allbeads sync --all - Sync all context beads
  • allbeads sync <context> - Sync a specific context
  • allbeads sync --status - Check sync status without syncing

This fetches the latest beads from each repository's remote and updates the local cache.

Run this:

  • At the start of a session to get latest state
  • After making changes in multiple repos
  • Before generating cross-repo reports
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. 3d ago First seen · 19 lines · 7 tokens per session scan A 983efc92f829

Subscribe to this mod's changes

sync is a command published in the GitHub repository thrashr888/AllBeads (8 stars, last pushed 4d ago), licensed MIT. It adds 7 tokens to every session and 139 once invoked, about $0.0000 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-08-31.