digital-twin-sync-loop

digital-twin-sync-loop is a skill for Claude Code from synaptiai/agent-capability-standard. It costs 44 tokens per session (5,977 once invoked), scanned A, original, Apache-2.0.

A workflow for keeping a digital twin—a computer model of a real system—in step with current signals from that system. It compares new information with the model, records changes and anomalies, and includes checks before actions are taken.

In plain words
What is it for?
Use it to update a digital twin from APIs, files, streams, or sensors, detect drift, assess risk, forecast changes, and maintain an audit trail.
Why use it?
It addresses the problem of a digital model becoming different from reality. It keeps updates traceable and provides verification and rollback when something goes wrong.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Part of the agent-capability-standard plugin — 42 skills, 1 command, 9 hooks shipped together

Good fit Use it to update a digital twin from APIs, files, streams, or sensors, detect drift, assess risk, forecast changes, and maintain an audit trail.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synaptiai/agent-capability-standard/digital-twin-sync-loop
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.

Any agent
npx skills add synaptiai/agent-capability-standard --skill digital-twin-sync-loop
Clone the repo
git clone --depth 1 https://github.com/synaptiai/agent-capability-standard

Made for: Claude Code.

Or install agent-capability-standard, the plugin that ships this one along with the rest of its 42 skills, 1 command, 9 hooks.

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 digital-twin-sync-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/synaptiai/agent-capability-standard/digital-twin-sync-loop/github.svg)](https://agentmods.dev/skills/synaptiai/agent-capability-standard/digital-twin-sync-loop)
Your own site
<a href="https://agentmods.dev/skills/synaptiai/agent-capability-standard/digital-twin-sync-loop"><img src="https://agentmods.dev/badge/skills/synaptiai/agent-capability-standard/digital-twin-sync-loop/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 digital-twin-sync-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/agent-capability-standard/digital-twin-sync-loop"><img src="https://agentmods.dev/badge/skills/synaptiai/agent-capability-standard/digital-twin-sync-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,977 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.00044 $0.05977
Opus 5.5 $0.00018 $0.02391
Sonnet 5.5 $0.00009 $0.01195
Haiku 4.5 $0.00004 $0.00598

Measured 6d ago against content hash 52105ec51ef6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

digital-twin-sync-loop 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 6d 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.

skills/digital-twin-sync-loop/SKILL.md · 469 lines

How it starts

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

Intent

Run the composed workflow digital_twin_sync_loop (reference/workflow_catalog.yaml) to synchronize a digital twin with incoming signals and keep it grounded, safe, and auditable: detect drift, decide and execute safe actions, and record provenance.

This workflow is designed to model both real and digital systems using the canonical world-state schema:

  • reference/world_state_schema.yaml

Success criteria:

  • Twin snapshot updated and grounded
  • Drift assessed with risk score
  • Any actions are approved/checkpointed/verified
  • Audit trail produced
  • Rollback runs only when verification fails

Compatible schemas:

  • reference/world_state_schema.yaml
  • reference/event_schema.yaml
  • reference/workflow_catalog.yaml

Inputs

Parameter Required Type Description
user_input No object domain and constraints. The catalog accepts both but no step binds them: the policy check uses the fixed constraints least_privilege and change_policy, and no drift threshold gates any step
previous_world_state No object The twin snapshot before this sync (reference/world_state_schema.yaml#/world_state). Merged with the new events and diffed against the updated snapshot; without it there is no baseline (run /digital-twin-bootstrap instead)

Preconditions (hard gates)

  1. Policy constraints must pass (/constrain): mutate runs only if ${constrain_out.compliant} == true
  2. Checkpoint before mutation (/checkpoint): mutate stops if ${checkpoint_out.checkpoint_id} == null
  3. Any external side effects require explicit approval (do not send without approval); mutate and execute require approval

Procedure

  1. Ensure baseline exists: If no twin snapshot exists, run /digital-twin-bootstrap instead: it builds the world model and then runs this loop

Then execute the sync loop:

  1. Invoke /receive and store output as receive_out
    • Ingest new signals/events from sources (logs/APIs/messages); retry up to 3 times

Read the full file on GitHub · 469 lines

Files

What ships with it

5 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. 6d ago Changed · -1 tokens per session 52105ec51ef6
  2. 1mo ago Changed · +139 lines 7facc249087d
  3. 3mo ago First seen · 330 lines · 45 tokens per session scan A 30b4e3dd9b06

Subscribe to this mod's changes

digital-twin-sync-loop is a skill published in the GitHub repository synaptiai/agent-capability-standard (7 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 5,977 once invoked, about $0.0002 per session on Opus 5.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.

Related

digital-twin-sync-loop compared with skills from other repositories

digital-twin-sync-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
digital-twin-sync-loopsynaptiai/agent-capability-standardSkill7todayApache-2.0A44Claude Code
weekly-load-reviewgtapps/hermitdSkill87yesterdayMITA18Claude Code
read-literaturefirecrawl/firecrawl-claude-pluginSkill27512d agoMITA101Claude Code
arxiv0xmariowu/AutosearchSkill577d agoMITA0Claude Code
fulcra-lab-resultsashfulcra/fulcra-toolsSkill103d agoMITA41Claude Code
researchforge-resultsforger-labs-hq/researchforgeSkill12todayApache-2.0A46Claude Code
wicked-garden-learnmikeparcewski/wicked-gardenSkill9yesterdayMITA244Claude Code