ledger-synthesize

ledger-synthesize is a command for Claude Code from synaptiai/synapti-marketplace. It costs 14 tokens per session (1,303 once invoked), scanned A, original, Apache-2.0.

A command that turns collected research evidence into insights, first by research area and then across areas.

In plain words
What is it for?
It helps run parallel synthesis agents, create one synthesis document per area, perform cross-area analysis, and focus or limit the work to selected areas.
Why use it?
It reveals recurring patterns, connections, and conflicts that may be missed when each finding is viewed alone.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the context-ledger plugin — 5 skills, 8 commands, 5 agents shipped together

Good fit It helps run parallel synthesis agents, create one synthesis document per area, perform cross-area analysis, and focus or limit the work to selected areas.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/synaptiai/synapti-marketplace/ledger-synthesize
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/synaptiai/synapti-marketplace

Made for: Claude Code.

Or install context-ledger, the plugin that ships this one along with the rest of its 5 skills, 8 commands, 5 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ledger-synthesize

README.md
[![agentmods](https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/ledger-synthesize/github.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/ledger-synthesize)
Your own site
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/ledger-synthesize"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/ledger-synthesize/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ledger-synthesize

Your own site · 80×15
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/ledger-synthesize"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/ledger-synthesize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.01303
Opus 5 $0.00007 $0.00651
Sonnet 5 $0.00003 $0.00261
Haiku 4.5 $0.00001 $0.00130

Measured 11d ago against content hash 85264b6324b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ledger-synthesize scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/context-ledger/commands/ledger-synthesize.md · 197 lines

How it starts

The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Synthesize Evidence

Process evidence objects into structured insights through layered synthesis.

Two-Phase Synthesis: First, pillar-synthesizer agents process each pillar independently. Then, cross-synthesizer identifies connections and conflicts across pillars.

Arguments

$ARGUMENTS: Optional synthesis focus or pillar filter.

Optional flags:

  • --pillars <list> - Only synthesize specific pillars
  • --skip-cross - Skip cross-pillar synthesis
  • --focus <topic> - Prioritize insights on specific topic

Prerequisites

  • Evidence collection complete (/ledger-research)
  • Evidence gates passed (≥5 objects per active pillar)
  • Evidence objects in 02-evidence/<pillar>/

Workflow

Phase 1: Per-Pillar Synthesis

  1. Spawn Pillar Synthesizers

    • One pillar-synthesizer per active pillar
    • Agents run in parallel
  2. Each Agent:

    • Loads all EV-<pillar>-* evidence
    • Clusters by theme
    • Identifies patterns
    • Handles contradictions
    • Extracts key insights
    • Generates SYN-<pillar>.md
  3. Output: 8 synthesis documents in 03-synthesis/

Phase 2: Cross-Pillar Synthesis

  1. Spawn Cross-Synthesizer

    • Single agent after all pillar syntheses complete
  2. Agent:

    • Loads all SYN-*.md documents
    • Maps cross-pillar connections
    • Identifies cross-pillar conflicts
    • Extracts emergent insights
    • Generates decision candidates
    • Identifies risk candidates
    • Generates CROSS-SYNTHESIS.md
  3. Output: 03-synthesis/CROSS-SYNTHESIS.md

Example Usage

Full synthesis

/ledger-synthesize

Specific pillars only

/ledger-synthesize --pillars market,users,economics

Skip cross-synthesis

/ledger-synthesize --skip-cross

Focus on specific topic

/ledger-synthesize --focus pricing

Output

## Synthesis Complete

**Pillars Synthesized:** 8
**Total Insights:** 42
**Cross-Pillar Connections:** 12
**Conflicts Identified:** 5

### Per-Pillar Summary
| Pillar | Insights | Contradictions | Decisions Needed |
|--------|----------|----------------|------------------|
| market | 6 | 1 resolved | 2 |
| users | 7 | 2 (1 pending) | 3 |
| tech | 5 | 0 | 1 |
| competitors | 5 | 1 resolved | 2 |
| design | 4 | 0 | 1 |
| legal | 4 | 0 | 2 |
| ops | 5 | 1 resolved | 1 |
| economics | 6 | 1 pending | 3 |

### Cross-Pillar Highlights

**Key Connections:**
1. Market pricing ceiling ($30) constrains Economics margin targets
2. User power-user preference aligns with Tech capability focus
3. Competitor gap in enterprise aligns with Market enterprise TAM

**Key Conflicts:**
1. Target segment: Market (enterprise) vs Users (SMB) vs Economics (SMB)
2. Pricing model: Competitors (freemium) vs Economics (paid)

### Decision Candidates
1. DEC-scope-target-segment
2. DEC-pricing-model
3. DEC-ux-complexity-level
4. DEC-tech-architecture-choice
5. DEC-legal-gdpr-approach

### Risk Candidates
1. RISK-market-price-competition
2. RISK-tech-llm-cost-overrun
3. RISK-retention-expert-churn

### Next Step
Run `/ledger-decide` to make explicit decisions with trade-offs.

Read the full file on GitHub · 197 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 197 lines · 14 tokens per session scan A 85264b6324b3

Subscribe to this mod's changes

ledger-synthesize is a command published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed today), licensed Apache-2.0. It adds 14 tokens to every session and 1,303 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.