leanzero-mcp-doc-processor: Instructions file for Claude Code

CLAUDE.md

leanzero-mcp-doc-processor CLAUDE.md is an instructions file for Claude Code from leanzero-srl/leanzero-mcp-doc-processor. It costs 12,025 tokens per session, scanned A, original, MIT.

A set of Claude Code project instructions that requires gathering project context and restating the task before work begins.

In plain words
What is it for?
Use it to guide work in the leanzero-mcp-doc-processor project, including its required documentation and source-file review steps.
Why use it?
It enforces a context-first process, helping prevent implementation based on an incomplete understanding of the repository or request.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is leanzero-srl/leanzero-mcp-doc-processor's own configuration. It tells Claude Code how to work on leanzero-mcp-doc-processor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything leanzero-mcp-doc-processor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to leanzero-srl/leanzero-mcp-doc-processor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/leanzero-srl/leanzero-mcp-doc-processor/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/leanzero-srl/leanzero-mcp-doc-processor

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 leanzero-mcp-doc-processor CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/leanzero-srl/leanzero-mcp-doc-processor/claude-md/github.svg)](https://agentmods.dev/instructions/leanzero-srl/leanzero-mcp-doc-processor/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/leanzero-srl/leanzero-mcp-doc-processor/claude-md"><img src="https://agentmods.dev/badge/instructions/leanzero-srl/leanzero-mcp-doc-processor/claude-md/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 leanzero-mcp-doc-processor CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/leanzero-srl/leanzero-mcp-doc-processor/claude-md"><img src="https://agentmods.dev/badge/instructions/leanzero-srl/leanzero-mcp-doc-processor/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12,025 This file is loaded in full into every session.
When invoked 12,025 The same file — it is already loaded in full.
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.12025 $0.12025
Opus 5.5 $0.04810 $0.04810
Sonnet 5.5 $0.02405 $0.02405
Haiku 4.5 $0.01202 $0.01202

Measured 11d ago against content hash 4bb2c405b344, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

leanzero-mcp-doc-processor CLAUDE.md 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.

CLAUDE.md · 573 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working on code in this repository.


Working rules

Read the relevant context first: this file, README.md, the files you will change and the code around them, and the test suite that covers them. Then act: the owner's global autonomy rules apply here. Do not restate the task and wait for a go-ahead; do the work end to end (change, run the covering npm run test:X suites, commit) and report what you did. Ask only for the DANGER ZONE items below, or when the request is genuinely ambiguous after reading the code.


PROJECT OVERVIEW

This is an MCP (Model Context Protocol) server that processes PDF, DOCX, and Excel files. It exposes 14 active tools advertised via ListToolsRequestSchema (plus backward-compatible aliases dispatched in CallToolRequestSchema) over stdio transport, enabling AI models to read, create, edit, and manage documents with intelligent styling, categorization, and lineage tracking.

Server identity: mcp-doc-processor v1.0.0 SDK: @modelcontextprotocol/sdk ^1.25.2 Runtime: Node.js with ES modules ("type": "module") Transport: StdioServerTransport (stdin/stdout for MCP protocol, stderr for logging)


COMMANDS

# Start MCP server (stdio transport)
npm start

# Test suites
npm test                    # Markdown format router (custom-assert)
npm run test:read-doc       # read-doc URL-fetch extension — 14 tests (node:test)
npm run test:schemas        # MCP schema invariants + detect-format E2E — 6 tests (node:test)
npm run test:render         # parseMarkdownToDocx + create-doc round-trip — 15 tests (node:test)
npm run test:upload         # uploadFileToTarget + create-doc upload integration — 18 tests (node:test)
npm run test:create-tags    # create-doc tag-based style resolution (getTemplateByTag crash regression)
npm run test:create-pdf     # create-pdf render + read-doc round-trip (Puppeteer)
npm run test:format-router  # detect-format semantic routing (pdf/csv/pptx/nuance)
npm run test:all            # Run all suites in sequence
npm run lint:no-console-log # Fail if any src/ file uses console.log (corrupts MCP stdio)
npm run insights            # Summarize logs/insights.jsonl (per-tool success, categories, clients)

Read the full file on GitHub · 573 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 Changed · -104 lines · -696 tokens per session 4bb2c405b344
  2. 26d ago Changed · +1 lines · +494 tokens per session fee8db3bd87c
  3. 2mo ago First seen · 676 lines · 12,227 tokens per session scan A c7b636d493c3

Subscribe to this mod's changes

leanzero-mcp-doc-processor CLAUDE.md is an instructions file published in the GitHub repository leanzero-srl/leanzero-mcp-doc-processor (1 stars, last pushed yesterday), licensed MIT. It adds 12,025 tokens to every session, about $0.0481 per session on Opus 5.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.

Related

leanzero-mcp-doc-processor CLAUDE.md compared with instructions from other repositories

leanzero-mcp-doc-processor CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
leanzero-mcp-doc-processor CLAUDE.mdleanzero-srl/leanzero-mcp-doc-processorInstructions file1yesterdayMITA12,025Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode