ledger
GitHub用于检查共享操作账本,查看待处理、自主完成及系统交互记录。作为双系统间唯一事实来源,提供过去24小时的工作摘要、需人工关注的任务及自动执行详情,防止重复工作。
Trigger Scenarios
需要查看过去24小时的操作汇总
确认哪些任务需要人工介入或审批
查询特定来源(如Perplexity)的近期操作历史
在执行操作前检查是否已被其他系统处理
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


