Skills ledger
Persistent project learning journal that builds institutional memory across sessions
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/brunoscardoso/plan-flow/ledger" ~/.claude/skills/clawdbot-skills-ledger && rm -rf "$T"
manifest:
skills/brunoscardoso/plan-flow/ledger/SKILL.mdsource content
Project Ledger
A persistent, project-specific learning journal maintained across sessions. Captures mistakes, corrections, discovered patterns, and hard-won knowledge about a specific codebase.
How It Works
The ledger operates silently in the background:
- Session Start: Read
and apply learningsflow/ledger.md - During Work: Record new learnings as they happen
- Maintenance: Periodically consolidate and prune entries
File Location
flow/ledger.md
What Gets Recorded
- Project-specific quirks and gotchas
- Approaches that worked or didn't work
- User preferences beyond documented rules
- Domain context and business logic
- Environment and toolchain surprises
- Self-corrections and mistakes made
What Doesn't Get Recorded
- Generic programming knowledge
- Patterns already in rules files
- Temporary one-off issues
- Content that belongs in discovery docs or plans
Entry Style
Write lessons, not logs. Each entry should be concise and actionable.
Examples:
- "The
script requires Node 18+ - fails silently on Node 16"buildWidgets - "User prefers explicit error types over generic Error class"
- "Tests for streaming endpoints need a 3s timeout override"
Sections
| Section | Purpose |
|---|---|
| Project Quirks | Surprising behaviors, undocumented constraints |
| What Works | Proven approaches for this project |
| What Didn't Work | Failed approaches with reasoning |
| User Preferences | How the user likes things done |
| Domain Context | Business logic and terminology |
Maintenance
- Keep under 150 lines of high-signal content
- Consolidate every 8-10 sessions
- Remove stale entries when quirks get fixed
- Promote established patterns to rules files
Integration
Learnings are naturally captured from all plan-flow activities (setup, discovery, execution, reviews). The ledger captures meta-learnings that span across individual artifacts.