pedroreisper

Doc Eye — Security skill for Claude Code

Security community

Claude Code skill: vision-LLM audit of rendered .docx/.pptx/.pdf pages.

How to install Doc Eye

This entry records only its repository, not the path inside it, so there is no exact command to give. Open pedroreisper/doc-eye and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Doc Eye does

Claude Code skill: vision-LLM audit of rendered .docx/.pptx/.pdf pages. Catches formatting drift, typography mixing, SmartArt overflow, placeholder text, broken cross-refs — what Claude can't see when it only reads the source.

Alternatives in Security

  • Bridge Guard — Audit a v1.4.0-style upstream bridge merge for the regression patterns that bit us last time 817 ★
  • Competitive Audit — Capture a competitor website with Playwright and extract its color system, typography, layout patterns, and 's 309 ★
  • Sovereign Skills — 20 production-grade skills for AI coding agents — setup, scope, discipline, code review, security, session man 125 ★

README

doc-eye

Claude reads your code well but doesn't *look* at the rendered PDF. This skill makes it look.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

The pain it solves

You wrote the LaTeX. You ran `pandoc`. You hit "Save as PDF". The source is right. The PDF has SmartArt clipping off the page, a heading orphaned on page 7, and `Lorem ipsum` still on page 3 because the template variable never got filled in.

Claude can read your `.tex` source. Claude cannot *see* the rendered page. So Claude says "looks good" while the PDF looks broken.

**doc-eye** closes that gap. It renders every page of a Word, PowerPoint, or PDF document, feeds each page to Claude's vision model with a structured rubric, and emits a per-page report of formatting, typography, colour, content, layout, and visual-coherence defects.

It catches what a meticulous human reviewer would catch in a 5-second skim per page — except across 50 pages, in 30 seconds, for 10 cents.

What it catches

  • FORMATTING — margins, indents, alignment, line spacing, broken page breaks, missing/duplicate headers
  • TYPOGRAPHY — font mixing, inconsistent sizes, orphan/widow lines, hyphenation
  • COLOUR — accidental coloured runs, low-contrast text, palette drift
  • CONTENT — typos, broken cross-references, leftover TODO / Lorem ipsum placeholders
  • LAYOUT — SmartArt overflow, blank pages, tables overflowing margins, disconnected captions
  • VISUAL_COHERENCE — mixed numbering schemes, inconsistent heading styles, footnote/anchor mismatches

It does NOT:

  • Review code or source — that's /code-review
  • Check clinical / scientific correctness — that's scientific-manuscript-reviewer
  • OCR scanned PDFs (it can still audit layout on them, but won't proofread the scanned text)
  • Propose fixes — reports only; you decide what to do

Install

git clone https://github.com/pedroreisper/doc-eye
cd doc-eye
less install.sh         # 80 lines, no obfuscat