ledger-compaction

Generate compact markdown summaries from large ndjson ledger files.

Updated May 30, 2026
One-click install
npx skills add https://github.com/InnerScopeHearing/otchealth-claude-tools --skill ledger-compaction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ledger-compaction
Source: https://github.com/InnerScopeHearing/otchealth-claude-tools/tree/main/skills/ledger-compaction
Command: npx skills add https://github.com/InnerScopeHearing/otchealth-claude-tools --skill ledger-compaction

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a solution for quickly summarizing large ledgers, turning extensive ndjson ledger files into concise, human-readable markdown summaries, preserving all critical information.

Core Features & Use Cases

  • Non-Destructive Summary: Generates a compact summary without altering the original ledger file.
  • Preservation of Details: Retains every decision, correction, pitfall, and current entity value.
  • Consolidation of Data: Collapses superseded chains and near-duplicate facts into a readable format.
  • Output Options: Provides both markdown and ndjson outputs for different use cases.
  • Use Case: Ideal for analyzing large ledgers in financial systems, where quick, yet detailed summaries are necessary for decision-making and auditing.

Quick Start

Run the ledger-compaction skill on your ledger file 'agent.jsonl' to generate a summary.

Frequently Asked Questions about ledger-compaction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I summarize large ndjson ledger files for auditing?

This ledger compaction process works by collapsing superseded chains and near-duplicate facts into a readable format, ensuring every decision and pitfall is retained while providing both markdown and ndjson outputs for financial analysis.

Do I need Node.js to generate markdown summaries from ndjson ledgers?

Yes, you need a JavaScript and Node.js environment to process ndjson ledgers and generate markdown summaries, as the ledger compaction scripts rely on this runtime to parse and consolidate financial data.

What is the best way to compact financial ledger data without losing details?

The best way to compact financial ledger data is to use a non-destructive summarization approach that consolidates superseded chains and near-duplicate facts into markdown while preserving every correction, decision, and current entity value.

Does ledger compaction alter the original ndjson source file?

No, ledger compaction is a non-destructive process that generates compact markdown and ndjson summaries without altering your original ledger file, ensuring your source data remains intact for auditing.

Can I export summarized ledger data to both markdown and ndjson formats?

Yes, ledger compaction provides output options for both markdown and ndjson formats, allowing you to generate human-readable summaries for decision-making while retaining structured data for downstream financial systems.