consolidate-documents.eval

consolidate-documents.eval is a command for Claude Code from davistroy/claude-marketplace. It costs 0 tokens per session (544 once invoked), scanned A, original, MIT.

A document-merging command that combines several versions of the same proposal into one clearer and more complete document. It can compare different approaches, such as REST and GraphQL, which are ways for software systems to communicate.

In plain words
What is it for?
Use it to merge design proposals, capture the strengths and weaknesses of each version, and record agreements, differences, and conclusions.
Why use it?
It removes the need to manually compare drafts and helps resolve disagreements into a clear recommendation.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to merge design proposals, capture the strengths and weaknesses of each version, and record agreements, differences, and conclusions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/davistroy/claude-marketplace/consolidate-documents.eval
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/davistroy/claude-marketplace

Made for: Claude Code.

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 consolidate-documents.eval

README.md
[![agentmods](https://agentmods.dev/badge/commands/davistroy/claude-marketplace/consolidate-documents.eval/github.svg)](https://agentmods.dev/commands/davistroy/claude-marketplace/consolidate-documents.eval)
Your own site
<a href="https://agentmods.dev/commands/davistroy/claude-marketplace/consolidate-documents.eval"><img src="https://agentmods.dev/badge/commands/davistroy/claude-marketplace/consolidate-documents.eval/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 consolidate-documents.eval

Your own site · 80×15
<a href="https://agentmods.dev/commands/davistroy/claude-marketplace/consolidate-documents.eval"><img src="https://agentmods.dev/badge/commands/davistroy/claude-marketplace/consolidate-documents.eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 544 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.00000 $0.00544
Opus 5 $0.00000 $0.00272
Sonnet 5 $0.00000 $0.00109
Haiku 4.5 $0.00000 $0.00054

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

Security

Grade A, and why

consolidate-documents.eval 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 12d 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.

evals/commands/consolidate-documents.eval.md · 72 lines

How it starts

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

Eval: /consolidate-documents

Purpose

Reads multiple document variants covering the same topic and synthesizes a single, superior consolidated document that captures the best elements from each. Good output: a single document that is more complete than either input alone, clearly resolves contradictions, and attributes key points when appropriate.

Fixtures

Fixture Purpose
docs/multi-variant-a.md REST API design proposal
docs/multi-variant-b.md GraphQL API design proposal — same topic, different perspective

Test Scenarios

S1: Two-variant consolidation

Invocation: /consolidate-documents fixtures/docs/multi-variant-a.md fixtures/docs/multi-variant-b.md

Must:

  • Creates a single output document (consolidated version)
  • Output covers both REST and GraphQL perspectives
  • Output includes the "Strengths" and "Weaknesses" content from both variants
  • Output makes a clear recommendation (does not just list both options without synthesis)
  • Output is saved to a timestamped file

Should:

  • Notes that both variants agree on the OAuth 2.0 authentication approach
  • Notes where variants disagreed (implementation cost, team experience)
  • Output is better organized than either input alone

Must NOT:

  • Simply concatenate the two files end-to-end
  • Delete or modify the original fixture files
  • Invent technical details not present in either source

S2: Single file (edge case)

Invocation: /consolidate-documents fixtures/docs/multi-variant-a.md

Must:

  • Either gracefully handles a single file (returns it as-is with a note) or asks for a second file
  • Does not crash

S3: Error — file not found

Invocation: /consolidate-documents fixtures/docs/multi-variant-a.md fixtures/docs/nonexistent.md

Must:

  • Displays error for the missing file
  • Does not create partial output

Rubric

Criterion Pass Threshold
Output synthesizes both inputs rather than concatenating Required
Contradictions resolved with explicit reasoning Required
Recommendation or decision provided Required
Source documents not modified Required
Output saved to timestamped file Required

Read the full file on GitHub · 72 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. 12d ago First seen · 72 lines · 0 tokens per session scan A 1a42b06e681e

Subscribe to this mod's changes

consolidate-documents.eval is a command published in the GitHub repository davistroy/claude-marketplace (5 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 544 tokens. 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.