source-forensics

source-forensics is an agent for Claude Code from voidmatcha/ui-clone-skills. It costs 47 tokens per session (240 once invoked), scanned A, original, Apache-2.0.

A coding-agent role for examining the original HTML, CSS, and JavaScript of a web page when smaller diagnostic files cannot explain a persistent mismatch. It records source-backed findings for the main cloning process.

In plain words
What is it for?
Use it to inspect downloaded scripts, stylesheets, HTML, and browser-state records. It documents implementation guidance and unresolved questions without editing the clone.
Why use it?
It supplies evidence from the original page when layout, sticky elements, transitions, or preserved details still do not match and compact reports are insufficient.

Agent for Claude Code

Written for Claude Code: a Claude Code plugin manifest. Also seen: model in frontmatter.

Part of the ui-clone-skills plugin — 4 skills, 6 agents, 6 hooks shipped together

Good fit Use it to inspect downloaded scripts, stylesheets, HTML, and browser-state records. It documents implementation guidance and unresolved questions without editing the clone.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/voidmatcha/ui-clone-skills/source-forensics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/voidmatcha/ui-clone-skills

Made for: Claude Code.

Or install ui-clone-skills, the plugin that ships this one along with the rest of its 4 skills, 6 agents, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for source-forensics

README.md
[![agentmods](https://agentmods.dev/badge/agents/voidmatcha/ui-clone-skills/source-forensics/github.svg)](https://agentmods.dev/agents/voidmatcha/ui-clone-skills/source-forensics)
Your own site
<a href="https://agentmods.dev/agents/voidmatcha/ui-clone-skills/source-forensics"><img src="https://agentmods.dev/badge/agents/voidmatcha/ui-clone-skills/source-forensics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for source-forensics

Your own site · 80×15
<a href="https://agentmods.dev/agents/voidmatcha/ui-clone-skills/source-forensics"><img src="https://agentmods.dev/badge/agents/voidmatcha/ui-clone-skills/source-forensics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 240 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00240
Opus 5.5 $0.00019 $0.00096
Sonnet 5.5 $0.00009 $0.00048
Haiku 4.5 $0.00005 $0.00024

Measured 23d ago against content hash 6427a01fa58f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

source-forensics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude-plugin/agents/source-forensics.md · 13 lines

What it actually says

Read $PLUGIN_ROOT/skills/ui-reverse-engineering/source-forensics.md.

Your contract is raw-source forensics only. Read compact artifacts first, especially state-structure-spec.json for browser-observed splash/scroll/hover/click state, then inspect tmp/ref/<component>/bundles/*.js, tmp/ref/<component>/css/*.css, and captured HTML/DOM dumps only when the contract's trigger conditions apply. Write tmp/ref/<component>/source-forensics.json with source-backed facts, implementation guidance, unresolved questions, and every raw source file read.

Do not edit implementation source. Do not paste full bundles, full CSS files, full DOM/style JSON, or screenshots into the main context. Use grep or line-bounded reads and cite file offsets, line numbers, or stable anchors for every fact.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed 6427a01fa58f
  2. 1mo ago First seen · 13 lines · 47 tokens per session scan A c310265da05c

Subscribe to this mod's changes

source-forensics is an agent published in the GitHub repository voidmatcha/ui-clone-skills (15 stars, last pushed 21d ago), licensed Apache-2.0. It adds 47 tokens to every session and 240 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

genpage-page-builder

Generates a single complete .tsx generative page from a plan document and schema. Reads genpage-plan.md for page specification, RuntimeTypes.ts for verified column names, and reference docs for code-generation rules. Writes one .tsx file per invocation. Called by the genpage skill in parallel — not invoked directly by…

microsoft/power-platform-skills · 70 tokens

genpage-edit-planner

Plans edits to an existing generative page. Reads the downloaded page artifacts (source, original prompt, config), analyzes the current implementation against the user's edit intent, and returns a proposed edit plan for the orchestrator to present for approval. Writes genpage-edit-plan.md, for the orchestrator to…

microsoft/power-platform-skills · 92 tokens

code-app-architect

Power Apps Code App Architect specializing in React/Vite architecture, Dataverse integration, connector patterns, and Power Platform deployment. Use when making architecture decisions, designing data models, selecting connectors, or troubleshooting build/deploy issues.

microsoft/power-platform-skills · 49 tokens

data-model-architect

Use when an orchestrator needs a Dataverse data model proposed (existing-table reuse, new tables in dependency-tier order, Mermaid ER diagram) for embedding in native-app-plan.md. Read-only — proposes, never mutates. Called by native-app-planner and /edit-app; not invoked directly by users.

microsoft/power-platform-skills · 67 tokens

webapi-integration

Use this agent when the user needs to integrate Power Pages Web API for a specific Dataverse table into their frontend code. Trigger examples: "integrate web api for products table", "add api calls for orders", "connect my site to the blog posts table", "implement crud for categories", "set up web api client", "create…

microsoft/power-platform-skills · 182 tokens

catchup-runner

Does the catch-up fan-out, impact analysis, and brief assembly for /catchup on Sonnet (cheaper/faster than the caller's session). Spawned by the /catchup and /ketchup skills with a pre-resolved time window. Not user-invoked directly.

oliver-kriska/claude-elixir-phoenix · 63 tokens