Live survey304 models · 14 providers · 22,792 auditsAudited grill-with-docs · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Invoice Entity Bounding Box Mapping And Visualization

skill · ECNU-ICALK/AutoSkillLicence not declaredAudited 14 Oct 2026 · source 04e912cff54b

★ 602pushed 157 days agoversion 0.1.1
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 04e912c
602repo stars · whole ECNU-ICALK/AutoSkill

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 04e912cff54b and found no filesystem, network or shell access and no hard-coded secrets. What it does: Matches invoice entities from JSON to OCR text in CSV using fuzzy matching and spatial heuristics, visualizing results on an image while strictly handling duplicate values and section-specific search orders.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Invoice Entity Bounding Box Mapping And Visualization (ECNU-ICALK/AutoSkill)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/ecnu-icalk/invoice-entity-bounding-box-mapping-and-visualization

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 04e912cff54b · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

What it tells the agent

Full source on GitHub ↗

Its description: Matches invoice entities from JSON to OCR text in CSV using fuzzy matching and spatial heuristics, visualizing results on an image while strictly handling duplicate values and section-specific search orders.

---
id: "42538482-3de7-4047-8fc6-69b09717b4fd"
name: "invoice_entity_bounding_box_mapping_and_visualization"
description: "Matches invoice entities from JSON to OCR text in CSV using fuzzy matching and spatial heuristics, visualizing results on an image while strictly handling duplicate values and section-specific search orders."
version: "0.1.1"
tags:
  - "OCR"
  - "Bounding Box"
  - "Python"
  - "Fuzzy Matching"
  - "Invoice Processing"
  - "Data Extraction"
triggers:
  - "extract bounding boxes from json and ocr"
  - "match ocr text to json entities"
  - "visualize invoice entities on image"
  - "handle duplicate entity values in invoice"
  - "find bounding boxes for amounts and tax"
---

# invoice_entity_bounding_box_mapping_and_visualization

Matches invoice entities from JSON to OCR text in CSV using fuzzy matching and spatial heuristics, visualizing results on an image while strictly handling duplicate values and section-specific search orders.

## Prompt

# Role & Objective
You are a Python developer specializing in OCR post-processing and invoice data extraction. Your task is to match entities defined in a JSON structure to text tokens in an OCR dataset (CSV) and visualize the results by drawing bounding boxes on the source image.

# Operational Rules & Constraints
1. **Input Data**: Accept a JSON file (containing entity values), a CSV file (containing OCR text with bounding box coordinates: left, right, top, bottom), and an image file path.
2. **Section Filtering**: Only process entities from specific JSON sections: "invoice_details", "Payment Details", and "amounts_and_tax".
3. **Preprocessing**: Clean entity values by removing commas and stripping whitespace.
4. **Section-Specific Search Order**:
   - For standard sections, search the dataframe from top to bottom.
   - For the 'amounts_and_tax' section, reverse the dataframe (bottom-to-top) before searching to avoid picking up values from the main table.
5. **Single-Token Matching**: For entities without spaces, use fuzzy matching (e.g., `thefuzz.fuzz.ratio`) against OCR text. Select the match with the highest score above a threshold (e.g., 85).
6. **Multi-Token Matching**:
   - Split the entity into tokens.
   - Find potential OCR matches for each token.
   - Use a heuristic/greedy approach to select the best sequence of matches based on spatial proximity.
   - **Proximity Score**: Calculate as `horizontal_distance + 2 * vertical_distance`.
   - Merge the bounding boxes of the selected sequence.
   - **Uniqueness Check**: If the best sequence results in a merged bounding box that has already been assigned, find the next best sequence.
7. **Duplicate Handling & Coordinate Uniqueness**:
   - Ensure that if multiple entities have the exact same value, each instance is processed and assigned a unique bounding box.
   - Use a memoization approach (Dynamic Programming) to track used bounding boxes for each entity value.
   - Ensure that none of the `left`, `right`, `top`, or `bottom` coordinate values of the candidate boxes have been used in any previously assigned bounding box for that specific entity value.
8. **Visualization**: Draw green rectangles (thickness 2) around the detected entities. Write the entity name in white text above the bounding box. Save the output image.

# Anti-Patterns
- Do not skip processing entities just because their value string has been seen before.
- Do not use simple iteration for multi-token entities; apply the spatial proximity heuristic.
- Do not process sections outside the specified list.
- Do not reuse the exact same bounding box coordinates for duplicate entity values.
- Do not search 'amounts_and_tax' entities in the standard top-to-bottom order.
- Do not merge bounding boxes that are spatially distant or unrelated just to form a match.

## Triggers

- extract bounding boxes from json and ocr
- match ocr text to json entities
- visualize invoice entities on image
- handle duplicate entity values in invoice
- find bounding boxes for amounts and tax

Excerpt, first 4,018 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 04e912c

Download folder ↗
git clone https://github.com/ECNU-ICALK/AutoSkill
git -C AutoSkill checkout 04e912cff54b

The author documents no install command, so this uses the repository directly. Our verdict covers commit 04e912cff54b only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 04e912cff54b

Similar skills

Questions about Invoice Entity Bounding Box Mapping And Visualization

What does the Invoice Entity Bounding Box Mapping And Visualization skill do?
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
Is Invoice Entity Bounding Box Mapping And Visualization safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Invoice Entity Bounding Box Mapping And Visualization access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (04e912cff54b), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.