Snapshot restoration

SkillDatabases & data

Lets your agent save and restore its state using durable snapshots, including SQLite databases and custom data.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Snapshot restoration skill

About this capability

Configures durable snapshots and restoration for Effect Golem agents. Use for recovery, schema state, custom bytes, or SQLite restoration.

What this skill tells your AI

The instructions your AI receives, as published by golemcloud/golem in golem-skills/skills/effect/golem-snapshot-restoration-effect/SKILL.md and read by ahel’s review.

Set snapshotting: Snapshot.define({ schema, policy }) and use .implement({ init, methods, snapshot }). init(id) exclusively infers runtime state. For a common Ref<State> whose saved value matches the schema, use snapshot: Snapshot.ref<Saved>(). For a custom representation use { save: state => Effect<Saved>, restore: (saved, context) => Effect<State> }. When SQLite databases are declared, add databases: state => ({ declaredName: state.handle }) to that strategy. The runtime restores database images before constructing methods.

Use Snapshot.custom({ policy }) with implementation save/restore only for user-managed bytes. Ordinary agents omit snapshot. External PostgreSQL, MySQL, and Ignite state is not included.

Use host-backed Durability combinators around external effects. Do not add compatibility migration envelopes or legacy initialize/restore factories.

Signals

GitHub stars
2k
Forks
211
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
golem-snapshot-restoration-effect
Source
github.com/golemcloud/golem