Community图像github.com

input-audit

Answer the question most pipelines skip: did the model actually process ALL of the input? Inventory every input before reading it (seconds, frames, tracks, pages, scanned pages, slides, speaker notes, hidden slides and sheets, comments, tracked changes, embedded images, pixels vs the vision limit, characters vs the context budget), then measure coverage after processing (speech without transcript, transcript without sound, on-screen states a sampling strategy would miss, PDF pages never read, effective image resolution, Office parts extracted) and refuse to conclude below threshold. Use for any agent task that consumes files, recordings, folders, screenshots or another agent's output, before summarising, answering questions, comparing documents or handing work to another agent. 输入审计、 有没有看全、漏没漏、覆盖率、处理完了吗、交接给下一个 agent、多 agent 协作,都先用这个。

input-audit 是什么?

input-audit is a Claude Code agent skill that answer the question most pipelines skip: did the model actually process ALL of the input? Inventory every input before reading it (seconds, frames, tracks, pages, scanned pages, slides, speaker notes, hidden slides and sheets, comments, tracked changes, embedded images, pixels vs the vision limit, characters vs the context budget), then measure coverage after processing (speech without transcript, transcript without sound, on-screen states a sampling strategy would miss, PDF pages never read, effective image resolution, Office parts extracted) and refuse to conclude below threshold. Use for any agent task that consumes files, recordings, folders, screenshots or another agent's output, before summarising, answering questions, comparing documents or handing work to another agent. 输入审计、 有没有看全、漏没漏、覆盖率、处理完了吗、交接给下一个 agent、多 agent 协作,都先用这个。.

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/handsomeZR-netizen/solve-everything/tree/HEAD/skills/input-audit

Installed? Explore more 图像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

input-audit: Did the LLM actually process all of your input?

Models almost never say, "I didn't read page 37." They produce a fluent, confident, seemingly complete answer based on what they saw. What gets omitted is often not noise, but the most critical pieces: a password that flashed for one second, a conclusion on a scanned page, a real decision hidden in speaker notes, or contradictory numbers in a hidden worksheet.

This skill does one thing: turns "done processing" from a feeling into a number.

How input gets silently dropped

InputCommon ways it’s lostHow this repo checks and fixes it
VideoOnly extracting a fixed number of frames or a fixed frame rate; fleeting cards, prices, passwords, or single PPT slides never get capturedinventory.py estimates frame sampling interval; coverage.py video calculates how many visual states each sampling strategy sees; screen-and-ocr/slide_changes.py captures frames per scene change, even for flash frames
AudioOnly processing the first audio track; VAD treats whispers or singing as silence; hallucination filtering deletes genuine speech; music segments have no textcoverage.py audio: segments with sound but no text, or text without sound (suspected hallucination)
ImagesLong edge exceeds vision limit (Claude ~1568 px) and gets resized; long screenshot text becomes blurry; animated GIF only shows one frameinventory.py calculates scaling factor; docs-and-images/tile_image.py tiles the image; coverage.py image
PDFScanned pages have no text layer; numbers in charts are not in the text layer; multi-column text is read out of order; very long PDFs get truncatedinventory.py finds scanned pages; docs-and-images/pdf_extract.py + OCR; coverage.py pdf
OfficeSpeaker notes, hidden slides, comments, revisions, hidden worksheets, headers/footers, footnotes, embedded imagesinventory.py counts each item; docs-and-images/office_extract.py full extraction; coverage.py office
TextTruncated beyond context window; "middle losses" in long texts; wrong encoding causing garbled textinventory.py checks against context budget and detects encoding; reads in chunks and records which chunks were read
ArchivesNever unpackedinventory.py prompts to unzip first, then re-inventories after unpacking
Tool outputCommand output truncated due to length; paginated results only retrieved the first pageSave output to disk and read in segments; paginate and retrieve all pages, recording total count
Upstream agentSummary is treated as original; downstream agent cannot know what was missed upstreamHandoff must include both ledger and coverage reports (see below)

Three ledgers

  1. Inventory ledger (before processing): What the total input is, and what a quick read would miss.

    python ${CLAUDE_SKILL_DIR}/scripts/inventory.py inputs/ --out ledger.json --md ledger.md \
        [--vision-max 1568] [--uniform-frames 16 32] [--context-chars 200000]
    

    For each file, lists: total quantity (seconds, frames, pages, images, sheets, characters), risks (high-risk items bolded), and recommended processing path.

  2. Processing ledger (during processing): Every step produces intermediate files with timestamps or page numbers, e.g., asr.jsonl, segments.json, pages.jsonl, office/*.md, tiles/index.json.

  3. Coverage ledger (after processing): Compares intermediate files against the real input, calculates coverage, and lists gaps.

    python ${CLAUDE_SKILL_DIR}/scripts/coverage.py audio  --media clip.mp4 --asr asr.jsonl --cov coverage.json
    python ${CLAUDE_SKILL_DIR}/scripts/coverage.py video  --segments slides/segments.json [--subs subs/subs.json] --cov coverage.json
    python ${CLAUDE_SKILL_DIR}/scripts/coverage.py pdf    --pages report/pages.jsonl --ocr ocr.json --cov coverage.json
    python ${CLAUDE_SKILL_DIR}/scripts/coverage.py image  --image long.png --tiles tiles/index.json --cov coverage.json
    python ${CLAUDE_SKILL_DIR}/scripts/coverage.py office --ledger ledger.json --found office/deck.pptx.found.json --cov coverage.json
    python ${CLAUDE_SKILL_DIR}/scripts/coverage.py summary --cov coverage.json --md coverage.md --min 0.98   # exit code 1 if below threshold
    

If coverage is below the threshold, do not conclude. First process the gaps; if they can't be processed, explicitly state them in the answer.

Every response includes a coverage statement

Processed: 50s video (speech 33/33s, visual 7/7 states), PDF 2/2 pages (page 2 scanned, OCR'd), long screenshot read as 4 tiles, PPT 2/2 slides with 1 speaker note, Excel 2/2 sheets (including 1 hidden sheet). Not processed: 1 embedded image in notes.docx. Suspect: 7 discrepancies between spoken audio and subtitles; corrected against original video.

This statement is cheap to produce but tells the reader (human or next agent) how trustworthy this answer is.

Multi-agent collaboration protocol

  • When handing off results: Include ledger.md, coverage.md, and a list of suspected issues. See the template in expressive-output/references/templates.md under "Agent handoff form."
  • When receiving results: First check the other agent's coverage statement. Any summary without a coverage statement is treated as "unverified"; key conclusions must be cross-referenced back to timestamps or page numbers in the original.
  • When dividing work into chunks: Each chunk records its scope (seconds range, page range). Before aggregation, verify that the union of all chunks covers the entire input.
  • Never replace the original with a "summary of a summary": When aggregating, if contradictions arise, go back to the original, not between two summaries.

Real-world test (examples/short-video: a folder, 6 files, all synthetic)

Quick read methodWhat was missedAfter full processing
Uniformly sample 8 / 16 frames from video2 pieces of information that flashed for 1s each, seen 0/2 and 1/2 respectivelyScene-change detection captured only 7 images; 7/7 visual states all retrieved
Only read PDF text layerConclusion and budget limit on page 2 (scanned); coverage 50%After OCR, 2/2 pages
Look at long screenshot directlyEntire image scaled to 0.31x; delivery time on last line unreadableTiled into 4 pieces, each read at 1.0x
Only read slide bodySpeaker note "Decision made: choose B" and hidden slide "Supplier may be delayed by two weeks"3/3 items
Only read Word bodyComment "Fix this, don't send yet"1/1
Only read first worksheet130 in hidden sheet contradicts 100 in summary sheet2/2 worksheets

8 critical pieces of information; quick read captured at most 1 of them; after full processing, all 6 inputs achieved 100% coverage.

Notes

  • 100% coverage does not equal perfectly correct: It only indicates that every part was processed. Recognition errors must be caught by cross-modal verification (timeline-fusion automatically compares subtitles with speech) and quantitative evaluation (quality-eval).
  • sound and speech metrics: speech uses Silero VAD, the same detector used for transcription; sound is an independent energy detector, including music and noise. Gaps in sound are either music or untranscribed speech; each gap must be manually confirmed (listen, or check SenseVoice event labels).
  • --vision-max: The default of 1568 is Claude's value; change it to the appropriate limit for other models.
  • Frame sampling estimation is a model: It describes the consequences of a "uniformly sample N frames" strategy, not the actual behavior of any specific product.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相关技能