devtools-plugin-panel

devtools-plugin-panel is a skill for Claude Code, Codex from TanStack/devtools. It costs 84 tokens per session (2,913 once invoked), scanned A, original, MIT.

Instructions for building TanStack Devtools panels that display data emitted by an application. They cover the plugin interface, light and dark themes, lifecycle cleanup, and framework integration.

In plain words
What is it for?
Use them to create, register, open, update, and clean up custom panels, including panels built with Solid.js and adapters for other frameworks.
Why use it?
They provide the structure needed to turn application events into a selectable development panel.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them to create, register, open, update, and clean up custom panels, including panels built with Solid.js and adapters for other frameworks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tanstack/devtools/devtools-plugin-panel
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.

Any agent
npx skills add TanStack/devtools --skill devtools-plugin-panel
Clone the repo
git clone --depth 1 https://github.com/TanStack/devtools

Made for: Claude Code, Codex.

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 devtools-plugin-panel

README.md
[![agentmods](https://agentmods.dev/badge/skills/tanstack/devtools/devtools-plugin-panel/github.svg)](https://agentmods.dev/skills/tanstack/devtools/devtools-plugin-panel)
Your own site
<a href="https://agentmods.dev/skills/tanstack/devtools/devtools-plugin-panel"><img src="https://agentmods.dev/badge/skills/tanstack/devtools/devtools-plugin-panel/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 devtools-plugin-panel

Your own site · 80×15
<a href="https://agentmods.dev/skills/tanstack/devtools/devtools-plugin-panel"><img src="https://agentmods.dev/badge/skills/tanstack/devtools/devtools-plugin-panel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,913 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00084 $0.02913
Opus 5.5 $0.00034 $0.01165
Sonnet 5.5 $0.00017 $0.00583
Haiku 4.5 $0.00008 $0.00291

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

Security

Grade A, and why

devtools-plugin-panel 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 11d 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.

packages/devtools/skills/devtools-plugin-panel/SKILL.md · 430 lines

How it starts

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

TanStackDevtoolsPlugin Interface

The low-level contract every plugin implements. Framework adapters wrap this automatically.

// Source: packages/devtools/src/context/devtools-context.tsx
interface TanStackDevtoolsPlugin {
  id?: string
  name: string | ((el: HTMLHeadingElement, theme: 'dark' | 'light') => void)
  render: (el: HTMLDivElement, theme: 'dark' | 'light') => void
  destroy?: (pluginId: string) => void
  defaultOpen?: boolean
}
  • name (required) -- String tab title, or function receiving (el, theme) for custom rendering.
  • render (required) -- Called on activation with a <div> container and theme. Called again on theme change.
  • id (optional) -- Stable identifier. If omitted: name.toLowerCase().replace(' ', '-')-{index}. Explicit ids persist selection across reloads.
  • defaultOpen (optional) -- Opens panel on first load when no saved state. Max 3 open. Does not override saved preferences.
  • destroy (optional) -- Called on deactivation or unmount. Framework adapters handle cleanup automatically.

Two Development Paths

Path 1: Solid.js Core + Framework Adapters (Multi-Framework)

Build the panel in Solid.js using @tanstack/devtools-ui components. Use constructCoreClass for lazy loading, then createReactPanel/createSolidPanel to wrap for each framework. The devtools core is Solid, so Solid panels run natively.

Path 2: Framework-Specific Panel (Single Framework)

Build directly in your framework and use createReactPlugin/createVuePlugin/createSolidPlugin/createPreactPlugin from @tanstack/devtools-utils.


Path 1: Solid.js Core Panel

Step 1: Define Event Map and Create EventClient

// src/event-client.ts
import { EventClient } from '@tanstack/devtools-event-client'

type StoreEvents = {
  'state-changed': { storeName: string; state: unknown; timestamp: number }
  'action-dispatched': { storeName: string; action: string; payload: unknown }
  reset: void
}

class StoreInspectorClient extends EventClient<StoreEvents> {
  constructor() {
    super({ pluginId: 'store-inspector' })
  }
}

export const storeInspector = new StoreInspectorClient()

Read the full file on GitHub · 430 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago Changed 3ebb2b3919a2
  2. 3mo ago First seen · 430 lines · 84 tokens per session scan A fc8e3d0cb0c5

Subscribe to this mod's changes

devtools-plugin-panel is a skill published in the GitHub repository TanStack/devtools (519 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 2,913 once invoked, about $0.0003 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-30.

Related

devtools-plugin-panel compared with skills from other repositories

devtools-plugin-panel next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
devtools-plugin-panelTanStack/devtoolsSkill519todayMITA84Claude Code, Codex
react-frontend-patternsseandkendall/kiro-configSkill103d agoApache-2.0A45Claude Code, Codex
install-nextfoxted/rsc-boundarySkill1302mo agoMITA82Claude Code, Codex
install-startfoxted/rsc-boundarySkill1302mo agoMITA66Claude Code, Codex
zustand-docspledgeandgrow/pledge-skillsSkill114mo agoMITA29Claude Code, Codex
vite-browser-core-debugMapleCity1314/vite-browserSkill97mo agoMITA62Claude Code, Codex
custom-brand-designKbWen/agent-virtual-officeSkill809d agoMITA23Claude Code, Codex