# Ledger

> OPS on-demand: This skill should be used when the user asks to "ops ledger", "what did we handle", or…

- Skill: `lifecycle-innovations-limited/ledger` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lifecycle-innovations-limited/ledger`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lifecycle-innovations-limited/ledger/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Lifecycle-Innovations-Limited (https://skillmd.com/u/lifecycle-innovations-limited)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/lifecycle-innovations-limited/ledger

---


# /ops:ledger

Load `ops-rules` before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If `AskUserQuestion` / `Workflow` are missing, follow Rule 10 in `ops-rules` (Hermes: numbered options / two-turn Telegram card; `delegate_task`).

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

```bash
# 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:

1. Awaiting owner (top of digest, sorted newest first)
2. Drafted by either system (needs send / merge / approve)
3. Done autonomously in last 24h, grouped by source (claude-ops, Perplexity)
4. Skipped or expired claims

## Conventions every command in this plugin follows

Before doing real work, run:

```bash
~/.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:

```bash
~/.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
```

