Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jasonkneenv0.2.0CC-BY-NC-4.0
Packages a clicked or cropped page region as a PNG with its selector and optional source location for a model. Research prototype, not on the public npm registry yet; install from git.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
PixelProvenance tags UI regions so a screenshot or a click can be turned into a package a model can use: path, selector, optional file:line:column, and a PNG.
The default install is a drop-in script with its own Select / Crop toolbar. React DevTag and a PNG decoder CLI are optional.
Not on the public npm registry yet. Install from git:
npm install github:jasonkneen/pixelprovenance
Agents: read llms.txt, then docs/llms.txt and skills/pixelprovenance/SKILL.md. Pasteable system prompt: docs/prompts/install-system.md.
The minimum install is a script tag. It draws its own toolbar. Select (click an element) is the default; Crop draws a rectangle. Either gesture emits a JSON package plus a PNG that you can POST to a model worker, listen for on window, or wrap in MCP later.
<script
src="./node_modules/pixelprovenance/dist/pixelprovenance-dropin.js"
data-pp-page="pricing"
data-pp-endpoint="http://127.0.0.1:8787/package"
></script>
<section data-pp="hero">…</section>
<button data-pp="cta" data-pp-source="src/Pricing.tsx:88:9">Start</button>
The toolbar is on by default on localhost / 127.0.0.1. Set data-pp-enabled="true" to force it on, or "false" to keep it off. Nested data-pp values become paths such as pricing/hero/cta.
The package is also available as import { mount } from 'pixelprovenance/dropin'. Listen for pixelprovenance:package on window, or PixelProvenance.onPackage(cb).
This repo is a Claude Code plugin (.claude-plugin/plugin.json). From a host app:
claude plugin install /absolute/path/to/pixelprovenance
# or, after cloning:
# claude --plugin-dir /absolute/path/to/pixelprovenance
Then /install-pixelprovenance [pageId] [endpoint-url].
Grok and Codex pick up the same skill from skills/pixelprovenance/ (this repo also has pointers under .grok/skills and .agents/skills). Copy that skill into the host's .agents/skills/pixelprovenance/ so later sessions can maintain the install.
npm install
npm run dev
The demo presents a normal project dashboard and walks through the complete interaction: draw a rectangle over one card, drag the resulting crop into the analyser, recover its component and source mapping, inspect the highlighted TSX line, then jump back to the originating interface element. The “Capture sprint card” button provides an alternative to drawing, and the crop thumbnail can be clicked to analyse it without drag-and-drop. A second pass demonstrates the same recovery from a deliberately smaller crop. Selections can be as small as 32×32 pixels. The sprint title, description, task count, and individual pills have their own mappings, so a confident small crop can highlight the element within the card. The analysis runs locally in the browser. The hero also links to a downloadable PDF of the archived research paper.
import { DevTag, DevTagRoot } from 'pixelprovenance'
export function Dashboard() {
return (
<DevTagRoot pageId="DASHBOARD" enabled={import.meta.env.DEV}>
<main>
<DevTag
id="card"
type="panel"
source={{ file: 'src/Dashboard.tsx', line: 8, column: 9 }}
>
<CardHeader />
<DevTag
id="status"
type="chip"
patternSize={32}
source={{ file: 'src/Dashboard.tsx', line: 12, column: 11 }}
>
<StatusPill />
</DevTag>
</DevTag>
</main>
</DevTagRoot>
)
}
The source prop is hashed into the noise with path, type, and depth. Nested tags form paths such as DASHBOARD/card/status, each with its own embedded mapping. Use a smaller patternSize (16–32) on leaves so tight crops still contain a full tile. On decode, the deepest confident match wins.
Pass an explicit development flag when your bundler exposes one; production builds should not include screenshot markers.
DevTag renders a positioned wrapper so it can place the signal above opaque child backgrounds. Use its className and style props when the wrapper needs to participate in an existing grid or flex layout.
Decode correlates against a codebook of the same embeddings used at encode time. It is not a post-hoc path→source table — if source was in the tag, it must be in the codebook entry so the regenerated pattern matches the pixels:
[
{
"path": "DASHBOARD/card",
"type": "panel",
"depth": 2,
"source": { "file": "src/Dashboard.tsx", "line": 8, "column": 9 }
},
{
"path": "DASHBOARD/card/status",
"type": "chip",
"depth": 3,
"patternSize": 32,
"source": { "file": "src/Dashboard.tsx", "line": 12, "column": 11 }
}
]
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (jasonkneen/pixelprovenance) — no native marketplace selected
npx claudepluginhub p/jasonkneen-pixelprovenancePlugins from other owners that cover similar ground