Skip to content
Agentmart
Submit a tool

semantic-integrity-audit

Audits semantic integrity and attribute ownership to detect category confusion and cross-product attribute contamination.

Skill by mahinigam

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mahinigam-semantic-integrity-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Audits semantic integrity and attribute ownership to detect category confusion and cross-product attribute contamination.

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/semantic-integrity-audit

What's inside

Skill name
semantic-integrity-audit
Description
Audits semantic integrity and attribute ownership to detect category confusion and cross-product attribute contamination.
License
MIT
Instructions
20 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (2)

  • SKILL.md
  • audit.py · scripts/

SKILL.md (first lines)

# Semantic Integrity Audit

## When to use
Use this skill to detect if multiple products or entities are presented in a way that causes their attributes (like price, features) to mix up, known as semantic contamination.

## Inputs
- `AuditContext` containing sampled pages and structured data.

## Procedure
1. Detect all prices on the page using regex patterns on visible text.
2. Perform upward DOM traversal (`BeautifulSoup` parents) to determine the owning semantic container for each price.
3. Classify prices as `primary` (`<main>`, `<article>`), `auxiliary` (`<aside>`, `<nav>`, `<footer>`), or `orphaned` (no semantic boundaries, just `<div>` soup).
4. Evaluate boundary conditions: Flag orphaned prices on product pages, and detect "bleed" where auxiliary prices differ from primary prices (while safely ignoring legitimate cart/subtotal/tax markers).
5. Check if multiple distinct products or entities appear in the structured data without clear parent-child relationships.
6. Generate findings if high semantic confusion or DOM boundary failures are detected.

## Output
Appends Findings to the `AuditContext`.

From mahinigam/skill-marketplace, MIT.

More from mahinigam/skill-marketplace

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 9, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mahinigam

Cite this page

semantic-integrity-audit skill. Agent Mart. https://agentmart.dev/skills/mahinigam-semantic-integrity-audit (last updated 2026-10-24)