Commitment triage

From nearai/ironclaw · View interactive version

Commitment triage is an AI agent skill from the GitHub repository nearai/ironclaw. Recognize obligations in conversation, extract signals with immediacy and expiration, create and manage commitments in the workspace.

How to use this skill

Skill file

Commitment Triage

You have a commitments tracking system in the workspace under projects/commitments/. Read projects/commitments/README.md for the full schema if you need field details.

Mode A: Passive signal detection

When the user says something that implies an obligation, promise, or deadline — but is NOT explicitly asking you to track it — silently extract a signal.

Triggers: "I need to...", "I promised Sarah...", "I should get back to...", "The report is due Friday", "They asked me to review..."

Treat these as especially strong passive-signal cases even if the user does

not say "track this":

These should usually become review, reply, or follow-up signals with

immediacy: prompt when the request is time-sensitive or comes from a named

person/team.

Treat inbound-message phrasings like these as strong passive signals too:

Action:

  1. Check for duplicates: memory_search for key phrases within projects/commitments/
  2. If no duplicate, call memory_write with:
  1. Only after the memory_write succeeds, at a natural pause briefly note:

"I've tracked a commitment about [topic]."

Do not merely acknowledge or summarize an obligation. This mode is successful

only if a signal is actually written to projects/commitments/signals/pending/.

Do NOT interrupt the conversation flow. Signal extraction is a side-effect.

For commitment tracking, use memory_tree, memory_read, and memory_write.

Do not use CodeAct, shell commands, or creative-generation tools unless the

user explicitly asked for execution rather than tracking.

Signal template:

---
type: signal
source_channel: <current channel>
source_message: "<brief quote>"
detected_at: <today YYYY-MM-DD>
immediacy: <realtime|prompt|batch — see rules below>
expires_at: <YYYY-MM-DD or null>
confidence: <high if explicit obligation, medium if implied, low if ambiguous>
obligation_type: <reply|deliver|attend|review|decide|follow-up|informational>
mentions: [<people mentioned>]
destination: null
promoted_to: null
---
<1-2 sentence description of the detected obligation.>

Immediacy rules:

Signal destinations (set during triage, not initial extraction):

Mode B: Explicit capture

When the user explicitly asks to track something: "track this", "add a commitment", "I committed to X".

If the user says "track this separately", "track this too", or otherwise

introduces a second distinct obligation, create a new commitment file for that

new item. Do not overwrite or silently reuse the previous commitment unless it

is clearly the same obligation.

Phrasings like "track this request from Slack", "track this request from email",

or "track this review request" are explicit capture requests. They should go

through Mode B and produce a persisted commitment or signal write, not just a

summary response.

Example:

sheet. Do not only confirm it in prose, and do not reuse Sarah's file.

Action:

  1. Skip the signal stage — write directly to projects/commitments/open/<slug>.md
  2. Ask for missing details ONLY if truly ambiguous. Infer reasonable defaults.
  3. Confirm briefly only after the write succeeds: "Tracked: [description], due [date], urgency [level]."

This mode is only successful if a commitment file is actually written.

For explicit capture, prefer direct memory_write updates to the workspace.

Do not switch to CodeAct or shell execution for simple tracking tasks.

Commitment template:

---
type: commitment
status: open
urgency: <critical|high|medium|low>
due: <YYYY-MM-DD or null>
created_at: <today>
stale_after: <14 days from now, or sooner for urgent items>
owner: <user|agent>
delegated_to: null
resolution_path: <agent_can_handle|needs_reply|needs_decision|note_only>
source_signal: null
resolved_by: null
tags: [<inferred tags>]
---
# <Title>
<Description.>

## Resolution path
- [ ] <Step 1>
- [ ] <Step 2>

Urgency rules:

Resolution path inference:

For agent_can_handle, note in the commitment body what the agent would do. The agent must NOT act autonomously without user approval — add a note: "I can handle this. Want me to proceed?"

Mode C: Resolution

When the user says they finished something: "done with X", "finished the review", "sent the reply to Sarah".

Action:

  1. memory_tree("projects/commitments/open/", depth=1) to find the matching commitment
  2. memory_read the likely match to confirm
  3. Write the updated file (status: resolved, resolved_by: user) to projects/commitments/resolved/<same-slug>.md
  4. Overwrite the original with empty content: memory_write(target="projects/commitments/open/<slug>.md", content="", append=false)
  5. Confirm: "Resolved: [title]."

Mode D: Signal promotion (used by triage mission)

When reviewing pending signals (manually via "review signals" or during a triage mission run):

  1. memory_tree("projects/commitments/signals/pending/", depth=1) to list signals
  2. For each, memory_read and route to destination:
  1. Update the signal's promoted_to field for commitment destinations

Filename conventions

Slugify: lowercase, hyphens, no special chars, max 50 chars. Examples:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.