Workbook State: versioned, schema-checked agent memory

    by hedwigai

    1

    - A stale write is refused. Each write names the version it read.

    Free

    Security scanned

    Works with the AI Agents you already use

    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

    taskownerstatusdone_on
    Move users table to Postgres 17danadone2026-11-18
    Backfill audit_logleedone2026-11-20
    Switch reads to new clusterdanain_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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Write Files
    Network Access
    Listed15 days ago

    What's inside

    Frequently Asked Questions

    The agent keeps what it must remember in a hedwigai workbook, not in its context. At the start of a later session it finds the project's workbooks by name and reads them before asking you what was done.

    Yes. Each write names the version it read. If anyone wrote since, the write is refused rather than merged over theirs, and the agent reads again and redoes its change. Every version is kept and can be restored.

    Any agent that reads SKILL.md files and can call a remote MCP server: Claude Code, Claude, Codex, Cursor, VS Code and others. Add https://mcp.hedwigai.com/ as a remote MCP server and sign in when asked.

    Yes. A workbook can be linked to a spreadsheet or Word file in Google Drive or Dropbox. Work starts from the file as it stands, and each new version is written back to the same file, with its sharing and history kept.

    An agent asked to remember something writes a loose file or nothing at all. A workbook refuses a stale write and refuses a row that breaks its schema, naming the cell, so a tracker keeps the shape the next reader expects.

    One SKILL.md file. It tells your agent when to keep state in a workbook and how to read and write one. The skill is free; reading, searching and writing workbooks on hedwigai is free too.

    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.

    Free