← All skills

AI Agent Ops

Promise Ledger

A durable ledger of the agent's time-bound promises, so follow-ups survive restarts and never die silently.

Skill
promise-ledger
Version
1.0.0
License
MIT
By
Christensen Equity · Austin Christensen
  • follow-ups
  • reminders
  • reliability
  • agents

Use this skill

Claude Code: install for your user

curl -fsSL --create-dirs -o ~/.claude/skills/promise-ledger/SKILL.md https://www.austinchristensen.tech/skills/promise-ledger/SKILL.md

Or download SKILL.md and drop it in .claude/skills/promise-ledger/ in a project, upload it in Claude.ai under Settings → Capabilities → Skills, or view the source.

When the agent uses it

Keep a durable ledger of time-bound promises an agent makes ("I'll check CI in two hours", "I'll follow up Friday if this isn't merged") so they survive session restarts and get done or surfaced when due. Use when the agent commits to a future action, when the user says "remind me to", "follow up on", "make sure X happens by", or "did you ever check X", and at the start of each session or scheduled check to find what is due. Stores records in a small JSON file with add, list, due, and done operations. It is for promises to people, not for tracking spawned coding agents (use coding-agent-handoff) or project task lists.

Promise Ledger

Agents promise things constantly and forget them on the next restart. The fix is boring: every time-bound promise becomes a row in a file, and every session checks the file. A promise that exists only in chat history is a promise that will be broken.

When to use

  • The agent says it will do or check something later.
  • The user asks to be reminded, or asks for something to happen by a date.
  • A session starts, or a scheduled check runs: look for due items.
  • The user asks "did you ever follow up on X?"

Inputs

  • What was promised, to whom, and by when.
  • Where the promise was made (conversation, ticket, thread), so the follow-up can reply in the same place.

The ledger

Default location: .agent/promises.json in the project, or a path the user chooses. One JSON array; one record per promise:

{
  "id": "p_20261203T1530Z_ci-check",
  "promisedTo": "the user",
  "what": "Check that the release PR's CI is green and report the result",
  "dueAt": "2026-12-03T17:30:00Z",
  "source": "chat, 2026-12-03, release planning",
  "status": "open",
  "createdAt": "2026-12-03T15:30:00Z",
  "completedAt": null,
  "outcome": null
}

Status is open, done, or dropped (dropped needs an outcome saying why and who agreed).

Workflow

add

  1. Record the promise the moment it is made, not at the end of the session.
  2. Resolve relative times ("in 2h", "Friday") to an absolute UTC timestamp, using the user's timezone for day names. Confirm the time back if it was ambiguous.
  3. Write what so it can be acted on cold, by an agent with no memory of the conversation.
  4. Read the file, append, and write it back as valid JSON. Never hand-edit in a way that could truncate other rows.

list

Show open items sorted by dueAt, flagging overdue ones.

due

  1. At session start and on every scheduled check, select open items with dueAt at or before now.
  2. For each: if the agent can do the thing itself (check CI, look up a status), do it, then mark it done with the result. If it needs the user, surface it in one line with the next action.
  3. Never leave a due item sitting silently. Either act, ask, or reschedule with a reason.

done

Set status to done, fill completedAt and a one-line outcome, and tell the person it was promised to, in the original channel when possible.

Output

  • For due checks: a short list, one line per item: what, how overdue, what was done or what is needed. If nothing is due, say nothing (or NO_ACTION if a response is required).
  • For list: a table of open promises with due times in the user's timezone.

Guardrails

  • One promise, one row. Mark it done the moment it is resolved; a stale open row is as bad as no ledger.
  • Prefer doing over nagging: if the agent can complete the follow-up, it should, then report the result.
  • Do not record agent bookkeeping (spawned agents, branches) here; that lives in coding-agent-handoff. Record only the human-facing promise, such as "tell the user the result".
  • Do not store secrets or sensitive personal details in the ledger; it is plain text.
  • Never report a promise as kept without evidence (a link, a commit, a message sent).