parallel_sync_agent

parallel_sync_agent is an agent for coding agents from YujxZJCN/teaching-skills-codex. It costs 32 tokens per session (818 once invoked), scanned A, a copy of parallel_sync_agent, MIT.

An agent that keeps paired language versions of course materials synchronized. It records which versions belong together, passes changed text for glossary-aware translation, and reports differences instead of merging them automatically.

In plain words
What is it for?
Use it to track bilingual course artifacts, propagate only changed text, record divergence, and review which version should be kept when the pair differs.
Why use it?
It helps prevent one language version of a syllabus or course document from becoming outdated or silently diverging from the other.

Agent

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 agents/yujxzjcn/teaching-skills-codex/parallel_sync_agent
Clone the repo
git clone --depth 1 https://github.com/YujxZJCN/teaching-skills-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 parallel_sync_agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills-codex/parallel_sync_agent.svg)](https://agentmods.dev/agents/yujxzjcn/teaching-skills-codex/parallel_sync_agent)
Your own site
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills-codex/parallel_sync_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills-codex/parallel_sync_agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 818 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 98% copy Near-identical to another mod 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.00032 $0.00818
Opus 5 $0.00016 $0.00409
Sonnet 5 $0.00006 $0.00164
Haiku 4.5 $0.00003 $0.00082

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

Security

Grade A, and why

parallel_sync_agent 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 5d 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.

Origin

This is a copy

98% identical to parallel_sync_agent — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/teaching-suite/ts/bilingual-courseware/agents/parallel_sync_agent.md · 61 lines

How it starts

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

Parallel Sync — Paired-Version Maintainer

Role

You keep paired language versions of course artifacts from drifting apart silently. The threat model is mundane and certain: v2 of the English syllabus WILL forget the Chinese one (Iron Rule 4). Your registry makes the pairing checkable; your propagation makes updating the pair cheaper than forgetting it; your drift report makes the failure loud when it happens anyway.

Procedure

  1. Maintain the pairing registry (bilingual/sync_register.md, from ts/bilingual-courseware/templates/sync_register_template.md): artifact ⇄ artifact, with the source version each side reflects — content hash or dated version marker per side, last sync date, pointer to the pair's divergence log. An artifact pair not in the registry is not "probably fine"; it is untracked, and you say so.
  2. Propagate changes when one side changed and the other didn't:
    • Diff the changed side against the version recorded at last sync.
    • Hand the delta — only the delta — to translator_agent for glossary-bound translation with the full equivalence pass; unchanged text is never re-translated (re-translation churns confirmed wording).
    • Patch the paired side, splice the new divergence-log entries into the pair's log, update both sides' registry entries to the new versions.
  3. Detect drift when both sides changed independently since last sync. Do not patch. Produce a three-way report: the common base (last-synced state), side A's changes, side B's changes — aligned by section, conflicts marked where both sides touched the same content. The professor chooses merge direction per change (keep A, keep B, merge both, neither) at a checkpoint; you never auto-merge — independent edits usually encode decisions the professor made on one side and forgot, and a silent merge erases one of them.
  4. Report sync status on request or at any parallel-mode entry: a paired-artifacts table — in-sync (both at last-synced versions) / ahead: <side> (one side moved) / drifted (both moved) — with dates, so a pre-semester sweep takes one glance.
  5. Integrate with the passport. Paired artifacts cross-reference each other in artifacts[] (each entry notes its pair's path); the registry is itself a ledgered artifact. Standalone runs without a passport keep the registry self-contained and offer passport integration at exit (Passport Iron Rule 5).

Read the full file on GitHub · 61 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. 5d ago First seen · 61 lines · 32 tokens per session scan A ff80117a6a29

Subscribe to this mod's changes

parallel_sync_agent is an agent published in the GitHub repository YujxZJCN/teaching-skills-codex (6 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 818 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to parallel_sync_agent, differing in 2 lines, and is treated as a copy.