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.
npx agentmods add skills/peiiii/nextclaw/panel-app-react-vite-creatornpx skills add Peiiii/nextclaw --skill panel-app-react-vite-creatorgit clone --depth 1 https://github.com/Peiiii/nextclawWrote 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.
[](https://agentmods.dev/skills/peiiii/nextclaw/panel-app-react-vite-creator)<a href="https://agentmods.dev/skills/peiiii/nextclaw/panel-app-react-vite-creator"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/panel-app-react-vite-creator.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00073 | $0.01620 |
| Opus 5 | $0.00036 | $0.00810 |
| Sonnet 5 | $0.00015 | $0.00324 |
| Haiku 4.5 | $0.00007 | $0.00162 |
Grade A, and why
panel-app-react-vite-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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React/Vite/TypeScript/Tailwind/pnpm Panel App Creator
本 skill 只负责工程化前端源码和静态产物交付。Panel App 的 manifest、Client SDK、Service Actions、Agent bridge 和授权规则仍以 panel-app-creator 为准;需要这些能力时必须同时读取 panel-app-creator。
核心原则
- 工程化 Panel App 推荐栈是
React + Vite + TypeScript + Tailwind CSS + pnpm一整套,缺一不可;除非用户明确指定其它技术栈或有清楚环境约束,不要只选其中一部分。 - 使用
pnpm,不要使用 Bun、npm 或 yarn,除非用户明确指定。 - 本 skill 是复杂或可维护 Panel App 的工程化默认路径;极小、一次性、无明显构建收益的静态面板仍交给
panel-app-creator轻量目录式实现。 - 开发期可以使用 Vite dev server;需要给用户看运行中的开发页面时,用
show_url(url)打开本地 dev server。交付给 NextClaw 的必须是 build 后的静态.panel目录。 - 不要让 NextClaw 宿主运行
vite dev、Node server 或 Bun server。 - 源码工程可以放在用户指定位置;最终产物沿用
nextclaw-app-creator已冻结的边界:完整 schema v2 App 构建到<app-dir>/panels/<panel-id>.panel/,明确 loose 本地 Panel 才构建到<workspace>/panels/<panel-id>.panel/。 - 运行期目录里可以包含构建产物和
panel-app.json,不要依赖运行期node_modules。 - Vite 必须配置
base: "./",避免资源路径指向 NextClaw host 根路径。 - 构建出来的应用运行在 sandbox iframe 中,不具备普通同源网页能力;不要使用
localStorage、sessionStorage、cookie、IndexedDB 或默认启用浏览器持久化的状态库插件。需要持久化时按panel-app-creator选择 Service App、App Client 或导出/导入 JSON。
推荐目录
源码工程示例:
my-panel-src/
package.json
vite.config.ts
src/
public/
完整包内的交付产物示例:
my-app/panels/my-panel.panel/
panel-app.json
index.html
assets/
如果用户没有指定源码位置,优先在包根的独立前端源码目录或用户当前工作目录下创建工程,不要把完整 npm 工程直接当作最终 .panel 组件目录。最终 .panel 只保留静态产物;根 manifest.json.components 引用该目录。
创建流程
- 先确定
app-id,必须 kebab-case,例如data-reviewer。 - 创建 Vite React TS 工程:
pnpm create vite <app-id>-src --template react-ts
cd <app-id>-src
pnpm install
pnpm add -D tailwindcss @tailwindcss/vite
- 配置
vite.config.ts:
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
import { defineConfig } from "vite";
export default defineConfig({
base: "./",
plugins: [react(), tailwindcss()],
});
- 在
src/index.css引入 Tailwind:
@import "tailwindcss";
- 开发 UI 时遵守 Panel App 侧栏约束:默认按
320px-480px窄面板设计,不能横向溢出。 - 如果要调用 NextClaw 能力,先读取
panel-app-creator,按其推荐路径写代码。 - 构建:
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.
- 2d ago Changed · +8 lines · -38 tokens per session 933a4d0480c3
- 6d ago First seen · 149 lines · 111 tokens per session scan A c828425d52b8
panel-app-react-vite-creator is a skill published in the GitHub repository Peiiii/nextclaw (255 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 1,620 once invoked, about $0.0004 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.
Other skills, from other repositories
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
landing-page-generator
Generates high-converting landing pages as complete Next.js/React (TSX) components with Tailwind CSS. Creates hero sections, feature grids, pricing tables, FAQ accordions, testimonial blocks, and CTA sections using proven copy frameworks (PAS, AIDA, BAB). Outputs SEO meta tags, structured data, and…
figma
Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…
anthropic-frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…
anthropic-web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.