- Home
- Skills
- Agents & Orchestration
- Workbook State: versioned, schema-checked agent memory
Workbook State: versioned, schema-checked agent memory
by hedwigai
- A stale write is refused. Each write names the version it read.
Free
Workbook State: versioned, schema-checked agent memory
Example session with this skill installed
Keep a tracker for the Postgres migration: task, owner, status (todo, in_progress, done), done date. A finished task must have a date. Then mark the audit_log backfill done and the read switch in progress.
- Read your context and instructions
- Compiled the workbook state
Summary
The tracker is a workbook with a schema, and the update is version 2. My first try at the update was refused for a typo in a status, so I fixed it and wrote again.
The workbook
Migration tracker · folder Marketing/Agensi · version 2
| task | owner | status | done_on |
|---|---|---|---|
| Move users table to Postgres 17 | dana | done | 2026-11-18 |
| Backfill audit_log | lee | done | 2026-11-20 |
| Switch reads to new cluster | dana | in_progress |
The schema it checks every write against
{"name": "tasks", "tab": "Tasks", "key": ["task"], "columns": [
{"name": "task", "type": "text", "required": true},
{"name": "owner", "type": "text", "required": true},
{"name": "status", "type": "choice", "values": ["todo", "in_progress", "done"], "required": true},
{"name": "done_on", "type": "date"}]}
\* a finished task has a date
ASSUME \A i \in DOMAIN tasks : tasks[i].status = "done" => tasks[i].done_on \in Nat
What the refusal said
I first wrote in progres. The workbook kept version 1 and answered:
SchemaError: this edit breaks the workbook's schema (version 1), so it was not kept.
- CHOICE row 3 "status": expected one of ["todo", "in_progress", "done"]; found "in progres". [Tasks!C4 · table tasks · line 5]
I corrected the cell and wrote against version 1 again; it was kept as version 2. Version 1 can still be restored.
Next steps
- Next session, I find this tracker by name and read it before asking what was done.
- If someone edits it between my read and my write, my write is refused and I read again, so their change is never lost.
Connects securely to your tools. The creator never sees your data.
About this skill
Agents lose their state. A decision log in a local file goes stale, a tracker two agents edit drifts, and the next session asks you what was done. This skill tells your agent to keep that state in a hedwigai workbook instead.
What a workbook gives your agent
- Every write is a new version. The one before is kept and can be restored.
- A stale write is refused. Each write names the version it read. If a person or another agent wrote since, the write is refused, never merged over theirs.
- A schema guards the tables. Columns, types, required cells, keys, and rules written in TLA+. A row that breaks one is refused with an error naming the cell, so the agent fixes it and writes again.
- Files stay where you keep them. A workbook can be linked to a spreadsheet or Word file in Google Drive or Dropbox, and each version is written back to it.
When the agent uses it
When you say "keep a log", "track", "record", "so the next session knows" or "so my cofounder can edit". Decision logs, migration and task status, handoffs between sessions or agents, eval results, lead trackers, budgets, inventories.
It does not touch code, configs or READMEs: those stay in the repository.
Setup
The skill runs on the hedwigai MCP server. Add https://mcp.hedwigai.com/ as a remote MCP server in your agent and sign in when asked. In Claude Code: claude mcp add --transport http hedwigai https://mcp.hedwigai.com/
Reading, searching and writing workbooks is free.
Not for code, configs, or repo docs. Requires hedwigai MCP server setup. Cloud syncing requires Google/Dropbox account access.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 15 days ago
- Free with an Agensi account
- Accounts
- hedwigai accounthedwigai MCP server
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.