Home / Claude Code mods / Interface / artifact-callbacks

artifact-callbacks

artifact-callbacks is a Claude Code mod by dortort that turn clicks on HTML pages Claude writes into follow-up prompts in the running session, through a loopback-only listener.

Updated 2026-11-30

What is artifact-callbacks?

artifact-callbacks is a Claude Code mod by dortort that turn clicks on HTML pages Claude writes into follow-up prompts in the running session, through a loopback-only listener. It is listed under Interface and has 4 GitHub stars.

TypeClaude code mod
Authordortort
Repositorydortort/claude-plugins
Popularity4 GitHub stars
CategoryInterface
SecurityHigh risk (44/100)
Rank#1,512 of 9,397 Claude Code mods; #645 in Interface
LicenseMIT
Last commit2026-11-30
Hooks9 events
Seesevery prompt, mcp__artifact-callbacks__page_token calls
Draws onAbovePrompt

Is artifact-callbacks safe to install?

artifact-callbacks scores 44/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 2 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.writewrites files
$.process.runruns processes
$.process.spawn
$.prompt.submitdrives Claude
$.session.append
$.session.id
$.state.get
$.state.set
$.tool.registerdrives Claude
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install artifact-callbacks?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/dortort/claude-plugins
    claude plugin validate ./claude-plugins/plugins/artifact-callbacks
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/dortort/claude-plugins && claude --plugin-dir ./claude-plugins/plugins/artifact-callbacks

Or ask Claude to set it up

Paste this into Claude Code and it installs artifact-callbacks for you:

Install the "artifact-callbacks" Claude Code mod from https://github.com/dortort/claude-plugins/tree/main/plugins/artifact-callbacks. Run claude plugin validate on it first and show me what it can access before you enable it.

More from dortort/claude-plugins

This repository has 2 Claude Code mods on MCPMods.

  • taint-guard: Remember which sensitive or untrusted sources entered a session and refuse risky tool calls once they have (Review before installing)