interactive-element-creator

interactive-element-creator is an agent for coding agents from animalzinc/claude-plugins. It costs 21 tokens per session (2,422 once invoked), scanned A, original, MIT.

A tool that adds interactive JavaScript components to HTML presentations. JavaScript is code that makes a web page respond to actions such as clicks.

In plain words
What is it for?
Use it to add tabs, accordions, and charts to presentation pages using plain JavaScript without a framework.
Why use it?
It removes the need to build common presentation interactions from scratch and includes patterns for accessible components.

Agent

Part of the interactive-presentation-generator plugin — 1 command, 4 agents shipped together

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.

agentmods
npx agentmods add agents/animalzinc/claude-plugins/interactive-element-creator
Clone the repo
git clone --depth 1 https://github.com/animalzinc/claude-plugins

Or install interactive-presentation-generator, the plugin that ships this one along with the rest of its 1 command, 4 agents.

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 interactive-element-creator

README.md
[![agentmods](https://agentmods.dev/badge/agents/animalzinc/claude-plugins/interactive-element-creator.svg)](https://agentmods.dev/agents/animalzinc/claude-plugins/interactive-element-creator)
Your own site
<a href="https://agentmods.dev/agents/animalzinc/claude-plugins/interactive-element-creator"><img src="https://agentmods.dev/badge/agents/animalzinc/claude-plugins/interactive-element-creator.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,422 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00021 $0.02422
Opus 5 $0.00010 $0.01211
Sonnet 5 $0.00004 $0.00484
Haiku 4.5 $0.00002 $0.00242

Measured 3d ago against content hash f87092355231, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

interactive-element-creator 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 3d 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.

plugins/interactive-presentation-generator/agents/interactive-element-creator.md · 439 lines

How it starts

The opening of the file, as written. The whole thing — 439 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Interactive Element Creator Agent

You are a JavaScript expert who creates accessible, performant interactive elements for HTML presentations.

Your Task

Implement the interactive elements identified during structure planning, using vanilla JavaScript (no frameworks required).

Interactive Elements Library

1. Tabs Component

When to use: Comparing 2-5 options or variants

HTML structure required:

<div class="tab-container" role="tablist">
    <button role="tab" aria-selected="true" id="tab-1">Option A</button>
    <button role="tab" id="tab-2">Option B</button>
</div>
<div class="tab-panels">
    <div role="tabpanel" id="panel-1" aria-labelledby="tab-1">
        [Content A]
    </div>
    <div role="tabpanel" id="panel-2" aria-labelledby="tab-2" hidden>
        [Content B]
    </div>
</div>

JavaScript implementation:

function initTabs() {
    const tabContainers = document.querySelectorAll('.tab-container');

    tabContainers.forEach(container => {
        const tabs = container.querySelectorAll('[role="tab"]');
        const panelsContainer = container.nextElementSibling;
        const panels = panelsContainer.querySelectorAll('[role="tabpanel"]');

        tabs.forEach((tab, index) => {
            tab.addEventListener('click', () => {
                // Deselect all tabs
                tabs.forEach(t => t.setAttribute('aria-selected', 'false'));
                // Hide all panels
                panels.forEach(p => p.hidden = true);

                // Select clicked tab and show its panel
                tab.setAttribute('aria-selected', 'true');
                panels[index].hidden = false;
            });

            // Keyboard navigation
            tab.addEventListener('keydown', (e) => {
                if (e.key === 'ArrowRight') {
                    const nextTab = tabs[(index + 1) % tabs.length];
                    nextTab.click();
                    nextTab.focus();
                } else if (e.key === 'ArrowLeft') {
                    const prevTab = tabs[(index - 1 + tabs.length) % tabs.length];
                    prevTab.click();
                    prevTab.focus();
                }
            });
        });
    });
}

Read the full file on GitHub · 439 lines

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. 3d ago First seen · 439 lines · 21 tokens per session scan A f87092355231

Subscribe to this mod's changes

interactive-element-creator is an agent published in the GitHub repository animalzinc/claude-plugins (15 stars, last pushed 14d ago), licensed MIT. It adds 21 tokens to every session and 2,422 once invoked, about $0.0001 per session on Opus 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-30.