auto-sync

auto-sync is a skill for Claude Code, Codex from Koroqe/OPOS. It costs 42 tokens per session (4,062 once invoked), scanned A, original, MIT.

An automated routine for checking whether a new OPOS release is available and synchronizing it into another repository. OPOS appears to be the upstream project being copied into a consumer repository.

In plain words
What is it for?
Use it for scheduled or manual upstream synchronization, dry-run checks, automatic commits of clean updates, and escalation of conflicts through repository issues.
Why use it?
It removes the need to perform routine upstream checks and clean updates by hand. Clean synchronizations can be committed automatically, while conflicts are sent for human attention.

Skill for Claude CodeCodex

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 skills/koroqe/opos/auto-sync
Any agent
npx skills add Koroqe/OPOS --skill auto-sync
Clone the repo
git clone --depth 1 https://github.com/Koroqe/OPOS

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/koroqe/opos/auto-sync.svg)](https://agentmods.dev/skills/koroqe/opos/auto-sync)
Your own site
<a href="https://agentmods.dev/skills/koroqe/opos/auto-sync"><img src="https://agentmods.dev/badge/skills/koroqe/opos/auto-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,062 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.00042 $0.04062
Opus 5 $0.00021 $0.02031
Sonnet 5 $0.00008 $0.00812
Haiku 4.5 $0.00004 $0.00406

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

Security

Grade A, and why

auto-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/skills/auto-sync/SKILL.md · 98 lines

How it starts

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

auto-sync

When to use

As a scheduled routine (registered via /schedule-process auto-sync, daily cron 17 6 * * *) — the autonomous counterpart of sync-from-core. Also manually invokable as /auto-sync (e.g. to test the flow, or to pull an update immediately without the interactive review sync-from-core provides), or as /auto-sync --dry_run to see what a run would do without mutating anything.

The contract difference from sync-from-core is deliberate and absolute: sync-from-core waits for a human to review and commit; auto-sync commits clean syncs itself and escalates only when something needs a human. One skill cannot carry both postures — do not merge them.

Authority mapping

The scheduled-run prelude instructs: refuse any action not in the declared authority list. For this skill the declared list [commit, push, file_issue] maps to concrete actions as follows — every action below is inside the declaration:

  • commit — the full local mutation set needed to produce the sync commit: creating/deleting opos-auto-sync-<tag> work branches, the file writes performed by copier update, the CHANGELOG-only .rej auto-resolution (including deleting CHANGELOG.md.rej), refreshing .claude/.last-update-check, ff-merging the work branch to the default branch, and writing the run record.
  • pushgit push of the ff-merged default branch, and of the work branch on the conflict path.
  • file_issuegh issue create in the consumer's own repo (conflict, divergence, push-failure, and Action-mutual-exclusion escalations).

Anything outside this mapping (e.g. hand-editing files beyond the CHANGELOG rule, force-pushing, touching unrelated branches, writing to any other repo) is outside the declaration — refuse and record the refusal.

Inputs

  • dry_run (optional bool; default false): probe and print what would happen; mutate nothing (no branch, no cache write, no run record).
  • target_version (optional; default: latest non-prerelease release tag from upstream). Must match ^v?[0-9]+\.[0-9]+\.[0-9]+$ — reject anything else before use (the value is interpolated into --vcs-ref and a branch name).

Read the full file on GitHub · 98 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 98 lines · 42 tokens per session scan A dbf661c6a56d

Subscribe to this mod's changes

auto-sync is a skill published in the GitHub repository Koroqe/OPOS (2 stars, last pushed 6d ago), licensed MIT. It adds 42 tokens to every session and 4,062 once invoked, about $0.0002 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.