agentleFS
geekfujiwarageekfujiwara/powerpoint-agent-skills/skills/remove-duplicate-shapes/SKILL.md

remove-duplicate-shapes

Skill40 starsChanged 25 days agoMITView on GitHub

Find and safely remove confirmed duplicate overlapping shapes on selected PowerPoint slides after repeated generation. Use only for duplicate cleanup, not general overlap repair. 重複生成された同一図形の検出・削除に使用。

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Default to the current or selected slide.

    line 11
  2. Distinctive:

    Use exact comparisons, not fuzzy position or text thresholds.

    line 28
  3. Distinctive:

    Delete only confirmed redundant copies.

    line 33
  4. Distinctive:

    Do not rewrite the deck with a library that cannot preserve its features.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Remove Duplicate Shapes

Scope

Default to the current or selected slide. Expand to the whole deck only when explicitly requested. Overlap alone is never evidence of duplication.

Procedure

  1. Establish a recoverable original or use the application's undo/version history. Inspect available tools before choosing a supported editing method.
  2. Inventory candidate shapes by slide and shape ID. Exact name, position, dimensions, and text can identify candidates, but cannot prove equivalence.
  3. Compare actual content and appearance: shape type/geometry, fill, line, text runs and formatting, rotation, transparency, effects, crop, links, alt text, and stacking context. Where accessible, compare image bytes and relationships, not just filenames or relationship IDs.
  4. Exclude placeholders, groups, connectors, tables, charts, media, and objects referenced by animations or actions from automatic deletion. These may carry distinct data or dependencies. If a necessary property cannot be inspected, flag the pair for manual review; do not assume equality or silently skip errors.
  5. Use exact comparisons, not fuzzy position or text thresholds. Two empty shapes with the same bounds but different colors are not duplicates.
  6. Present candidate pairs, reasons, slides, IDs, and intended survivors. Obtain confirmation before deleting, unless the user has already approved this exact preview. A request to find duplicates is not deletion approval.
  7. Delete only confirmed redundant copies. Normally keep the first/lower copy; change that choice if it would alter layering, interactions, or accessibility. Do not rewrite the deck with a library that cannot preserve its features.
  8. Inspect each changed slide and verify that no intended content, links, or animations were lost. Report deleted IDs, survivors, counts, exclusions, and unresolved candidates. If comparison is inconclusive, make no deletion.

Acceptance examples

  • Same coordinates and text, different fill: keep both.
  • Identical-looking table with different cell values: keep both.
  • Identical rectangle used by an animation: manual review, not automatic deletion.
  • Two fully equivalent ordinary shapes, preview approved: remove only the redundant copy and verify the resulting stacking order.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.