ledger
GitHub用于同步和查询跨系统(claude-ops与Perplexity)的操作账本,作为唯一事实来源。支持查看待处理项、自主完成记录及冲突检测,确保任务不重复执行并协调多Agent协作状态。
Trigger Scenarios
Install
npx skills add Lifecycle-Innovations-Limited/claude-ops --skill ledger -g -y
SKILL.md
Frontmatter
{
"name": "ledger",
"description": "Inspect the shared Ops Ledger — what's awaiting owner, what was handled autonomously, what claude-ops or Perplexity did in the last 24h. Always the single source of truth between the two systems.",
"allowed-tools": [
"Bash"
]
}
/ops:ledger
Single source of truth shared between claude-ops (Mac) and Perplexity (off-Mac).
Stored at ~/.claude-ops/ledger.jsonl and mirrored to Notion DB "Ops Ledger".
Usage
# Default: human digest of last 24h
/ops:ledger
# What needs owner's attention right now?
/ops:ledger awaiting
# What did Perplexity do while I was at the gym?
/ops:ledger query --source perplexity --since -PT4H
# What's been touched on this Gmail thread?
/ops:ledger query --claim-key gmail:thread:19e690a55d213f52
Behavior
Wraps ~/.claude-ops/bin/ledger (the CLI from this skill). Always reports:
- Awaiting owner (top of digest, sorted newest first)
- Drafted by either system (needs send / merge / approve)
- Done autonomously in last 24h, grouped by source (claude-ops, Perplexity)
- Skipped or expired claims
Conventions every command in this plugin follows
Before doing real work, run:
~/.claude-ops/bin/ledger query --claim-key "$CLAIM_KEY" --since -PT24H
If result has any entry with status in (in_progress, done, drafted, awaiting_sam),
SKIP — the other system already handled it. Don't duplicate.
After doing work:
~/.claude-ops/bin/ledger claim --claim-key "$CLAIM_KEY" --kind <kind> --brand <brand> \
--title "<title>" --source claude-ops
# ... do work ...
~/.claude-ops/bin/ledger resolve <id> --status done|drafted|awaiting_sam
Version History
- 64bad13 Current 2026-08-12 08:59


