Openclaw ledger
Skill AtlasPA/openclaw-ledger
Tamper-evident audit trail for agent sessions. Hash-chained logs of workspace changes with cryptographic verification. Know exactly what changed, when, and detect if anyone altered the record. Free alert layer — upgrade to openclaw-ledger-pro for freeze, forensics, and chain restoration.From its SKILL.md
npx -y skills add AtlasPA/openclaw-ledgerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.5 KB, 496 tokens by cl100k_base, as published. Nobody here has run it
OpenClaw Ledger
Tamper-evident audit trail for agent workspaces. Every workspace change is recorded in a hash-chained log — if anyone alters an entry, the chain breaks and you know.
The Problem
Agents modify files, execute commands, install skills — and leave no verifiable record. If something goes wrong, you can't trace what happened. If logs exist, nothing proves they haven't been altered after the fact.
Need automated forensics? Upgrade to openclaw-ledger-pro for freeze, forensics, and chain restoration.
Commands
Initialize
Create the ledger and snapshot current workspace state.
python3 {baseDir}/scripts/ledger.py init --workspace /path/to/workspace
Record Changes
Snapshot current state and log all changes since last record.
python3 {baseDir}/scripts/ledger.py record --workspace /path/to/workspace
python3 {baseDir}/scripts/ledger.py record -m "Installed new skill" --workspace /path/to/workspace
Verify Chain
Verify the hash chain is intact — no entries tampered with.
python3 {baseDir}/scripts/ledger.py verify --workspace /path/to/workspace
View Log
Show recent ledger entries.
python3 {baseDir}/scripts/ledger.py log --workspace /path/to/workspace
python3 {baseDir}/scripts/ledger.py log -n 20 --workspace /path/to/workspace
Quick Status
python3 {baseDir}/scripts/ledger.py status --workspace /path/to/workspace
How It Works
Each entry contains:
- Timestamp
- SHA-256 hash of the previous entry
- Event type and data (file changes, snapshots)
If any entry is modified, inserted, or deleted, the hash chain breaks and verify detects it.
Exit Codes
0— Clean / chain intact1— No ledger or minor issues2— Chain tampered / corrupt entries
No External Dependencies
Python standard library only. No pip install. No network calls. Everything runs locally.
Cross-Platform
Works with OpenClaw, Claude Code, Cursor, and any tool using the Agent Skills specification.
What ships with it: 2 files
14.8 KB alongside SKILL.md, 1 of them executable
scripts/
- ledger.pyruns13.0 KB
- README.md1.8 KB
Gives 0 of the 12 instructions most finance skills give in 496 tokens
Counted across 469 of the 469 authors here whose files we hold, read 2026-08-07
- Extract date vendor amount and descriptionin 15 of 469, across 3 files
- Scan folder for invoice filesin 14 of 469, across 2 files
- Rename files to standard formatin 14 of 469, across 2 files
- Show organization plan before movingin 14 of 469, across 2 files
- Generate summary CSVin 14 of 469, across 2 files
- Organize files by categoryin 13 of 469, across 1 file
- Preserve original filesin 13 of 469, across 1 file
- Flag files missing critical infoin 13 of 469, across 1 file
- Produce the requested output filein 9 of 469, across 4 files
- Build best, base, and worst case scenariosin 9 of 469, across 5 files
- Implement backoff if rate limit errors occurin 8 of 469, across 3 files
- Determine the weighted average cost of capitalin 8 of 469, across 4 files
Said here and by no other author read
- initialize the ledger
- record changes after workspace modifications
- provide a message when recording changes
- verify the hash chain integrity
- view recent ledger entries
- check ledger status
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.