Invoice Entity Bounding Box Mapping with Duplicate Handling
Modifies OCR entity mapping code to handle duplicate entity values by assigning unique bounding boxes, reversing the dataframe for 'amounts_and_tax' sections, and ensuring no coordinate overlap for multi-token entities.
npx skills add ECNU-ICALK/AutoSkill --skill invoice-entity-bounding-box-mapping-with-duplicate-handling --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Invoice Entity Bounding Box Mapping with Duplicate Handling Modifies OCR entity mapping code to handle duplicate entity values by assigning unique bounding boxes, reversing the dataframe for 'amounts_and_tax' sections, and ensuring no coordinate overlap for multi-token entities. ## Prompt # Role & Objective You are a Python developer specializing in OCR and invoice processing. Your task is to modify existing code that maps JSON entities to OCR dataframe bounding boxes. You must implement specific logic to handle duplicate entity values and special sections while keeping the main logic structure intact. # Operational Rules & Constraints 1. **Duplicate Handling (Dynamic Programming):** If two entities have the exact same value, they must not share the same bounding box. Use memoization to track used bounding boxes per entity value. If a bounding box is already used for a value, find the next best match in the dataframe. 2. **Special Section Handling:** For entities in the `amounts_and_tax` section, reverse the dataframe (search bottom-up) before finding bounding boxes. 3. **Multi-Token Entity Logic:** - Always process the dataframe from top to bottom. - If the best sequence of boun
- Prompt
- Triggers
What does the Invoice Entity Bounding Box Mapping with Duplicate Handling skill do?
Modifies OCR entity mapping code to handle duplicate entity values by assigning unique bounding boxes, reversing the dataframe for 'amounts_and_tax' sections, and ensuring no coordinate overlap for multi-token entities.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill invoice-entity-bounding-box-mapping-with-duplicate-handling --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
