synaptiai/agent-capability-standard/digital-twin-bootstrap
Claude Code and agent skill by synaptiai/agent-capability-standard
- community
Checking that the SKILL.md file is still in the repository.
Initialize a digital twin from scratch, building a grounded world model with state, dynamics, uncertainty and provenance, then run a first sync loop. Use when creating digital twins, constructing system representations, building simulation foundations, or establishing a baseline world state.
Install
npx vskill@latest install synaptiai/agent-capability-standard/digital-twin-bootstrapSKILL.md
Intent
Run the composed workflow digital_twin_bootstrap (reference/workflow_catalog.yaml) to initialize a digital twin from scratch and then run a first sync loop. When no world state is passed in, it invokes world_model_build to construct a grounded baseline and then digital_twin_sync_loop from that baseline; when a world state is passed in, it skips the build and syncs from it.
A world model captures:
- State: Current entity states and attributes
- Dynamics: How the system evolves over time
- Uncertainty: Confidence bounds and unknowns
- Provenance: Source and lineage of all facts
Success criteria:
- World model built (or the given world state used as the baseline)
- First sync completed
- Audit produced
- Every claim in the model is grounded with evidence anchors
Compatible schemas:
reference/world_state_schema.yamlreference/event_schema.yamlreference/workflow_catalog.yaml
Inputs
| Parameter | Required | Type | Description | |
|---|---|---|---|---|
user_input | No | object | domain (the system to model), passed to both invoked workflows; world_model_build binds it. constraints is accepted but no step binds it | |
world_state_out | No | object | An existing world state (reference/world_state_schema.yaml#/world_state). When given, the build is skipped and the first sync starts from it |
Procedure
0) Create checkpoint marker if mutation might occur:
- Create
.claude/checkpoint.okafter confirming rollback strategy (the sync loop mutates the twin)
1) Invoke `/invoke` with workflow world_model_build and input user_input, if world_state_out is null, and store output as world_model_out
- Build the initial world model baseline. The invoked workflow's stores land in
world_model_out.result:
retrieve_out → observe_out → detect_out (domain: entity) → classify_out → integrate_out → state_out → transition_out → attribute_out (domain: causation) → measure_out (domain: uncertainty) → audit_out → ground_out → simulate_out → explain_out
2) Invoke `/invoke` with workflow digital_twin_sync_loop, if world_state_out is null, and store output as sync_out
- Input:
user_input, and the baseline world state (world_model_out.result.state_out.state) asprevious_world_state - Run the initial sync loop using the baseline just built
3) Invoke `/invoke` with workflow digital_twin_sync_loop, if world_state_out is not null, and store output as sync_existing_out
- Input:
user_input, andworld_state_outasprevious_world_state: a world state, the same shape step 2 passes (thestatestep's output wraps the world state in itsstatefield) - Run the initial sync loop from the world state passed in
Every step has skip_if_false: true, so exactly one branch runs: steps 1-2, or step 3.
Output Contract
Return a structured object:
Field Definitions
| Field | Type | Description | |
|---|---|---|---|
workflow_id | string | Unique identifier for this bootstrap | |
status | enum | Final workflow status | |
steps | object | Each step's output, keyed by its store_as; a skipped step is null | |
steps.*.result | object | The invoked workflow's stores, keyed by their store_as | |
confidence | number | 0.0-1.0 based on evidence completeness | |
evidence_anchors | array | All evidence references collected | |
assumptions | array | Explicit assumptions made during modeling |
Examples
Example 1: Bootstrap a Supply Chain Twin
Input:
Output:
Evidence pattern: Multi-source data integration, entity resolution across databases, causal analysis from transaction patterns, uncertainty from data freshness and coverage, then a first verified and audited sync.
Verification
- [ ] One Branch Ran: Either
world_model_outandsync_outare set, orsync_existing_outis - [ ] Entity Coverage: All entities in scope identified (
detect_out→classify_out→integrate_out) - [ ] State Validity: The baseline world state (
state_out.state) conforms to the world state schema - [ ] Dynamics Defined:
transition_out.rulesandattribute_out.causesdocumented - [ ] Uncertainty Quantified:
measure_out.uncertaintypresent - [ ] Grounded:
ground_out.groundedis true, gaps listed - [ ] Simulation Run:
simulate_out.outcomeshas at least one scenario - [ ] First Sync Verified: The sync's
verify_out.passedis true, or its rollback ran - [ ] Audit Trail: The sync's
audit_outwas recorded
Verification tools: Read (for state files), Bash (for simulation), Web (for API validation)
Safety Constraints
mutation: true (the first sync may mutate the twin)requires_checkpoint: truerequires_approval: true (for mutations in the sync loop)risk: high
Capability-specific rules:
- Do not modify source data during modeling
- Flag entities with confidence < threshold
- Document all assumptions explicitly
- Preserve raw data alongside derived state
- Validate schema conformance before the first sync
- Rate-limit API calls to respect source limits
Composition Patterns
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/digital-twin-bootstrap/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/synaptiai/agent-capability-standard/digital-twin-bootstrap)