Loading...
Loading...
Maintain a structured ledger of decisions, discovered bugs and fixes, user preferences, constraints, current status, and failed approaches throughout multi-step agentic tasks. Auto-update after every significant step. Triggers on "where were we", "continue", "summarize status", "remember", or when a new agent instance takes over a task.
npx skill4agent add fatih-developer/fth-skills memory-ledgerMEMORY LEDGER
Task : [task name / short description]
Started : [first step number or timestamp]
Last updated: [step number or description]
## Goal
[What is being done — 1-2 sentences. Scope and success criteria.]
## User Preferences & Constraints
- [Preference / constraint 1]
- [Preference / constraint 2]
[If empty: "None established yet"]
## Decisions Made
| # | Decision | Rationale | Step |
|---|----------|-----------|------|
| 1 | [what was decided] | [why] | [which step] |
## Current Status
Completed : [list or "—"]
In progress: [list or "—"]
Pending : [list or "—"]
## Failed Approaches
| Approach | Why It Failed | Step |
|----------|---------------|------|
| [what was tried] | [error / issue] | [which step] |
[If empty: "None yet"]
## Bugs & Fixes
| Bug | Fix | Status |
|-----|-----|--------|
| [error message / description] | [applied fix] | Fixed / Open |
[If empty: "None yet"]
## Next Step
[The next thing to do — clear and actionable]| Event | Section to Update |
|---|---|
| Subtask completed | Current Status, Next Step |
| Decision made | Decisions Made |
| Error occurred | Bugs & Fixes |
| Error resolved | Bugs & Fixes (update status) |
| Approach failed | Failed Approaches |
| User stated preference/constraint | User Preferences & Constraints |
LEDGER READ — Task resumed
Task : [task name]
Status : [current status summary]
Next : [next step]
Warning : [if any open bugs or failed approaches]
Continuing...LEDGER CLOSED
Task completed
Total steps : N
Decisions made: N
Bugs resolved : Ntask-decomposererror-recoveryagent-reviewer