create-powergrid-plugin

create-powergrid-plugin is a skill for Claude Code, Codex from Power-Components/livewire-powergrid. It costs 31 tokens per session (523 once invoked), scanned A, original, MIT.

A recipe for creating an external PowerGrid plugin in a Laravel project. PowerGrid is a Laravel package for building interactive data tables; Laravel is a PHP web framework.

In plain words
What is it for?
It helps add interactive table columns such as selections, color pickers, or ratings, including their PHP, Blade template, Alpine.js, service-provider, and application registration code.
Why use it?
It keeps the new feature in the application instead of changing the installed package, which makes package updates safer and keeps the plugin's files together.

Skill for Claude CodeCodex

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 skills/power-components/livewire-powergrid/create-powergrid-plugin
Any agent
npx skills add Power-Components/livewire-powergrid --skill create-powergrid-plugin
Clone the repo
git clone --depth 1 https://github.com/Power-Components/livewire-powergrid

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 create-powergrid-plugin

README.md
[![agentmods](https://agentmods.dev/badge/skills/power-components/livewire-powergrid/create-powergrid-plugin.svg)](https://agentmods.dev/skills/power-components/livewire-powergrid/create-powergrid-plugin)
Your own site
<a href="https://agentmods.dev/skills/power-components/livewire-powergrid/create-powergrid-plugin"><img src="https://agentmods.dev/badge/skills/power-components/livewire-powergrid/create-powergrid-plugin.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 523 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.00031 $0.00523
Opus 5 $0.00015 $0.00262
Sonnet 5 $0.00006 $0.00105
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

create-powergrid-plugin 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 4d 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.

resources/boost/skills/create-powergrid-plugin/SKILL.md · 56 lines

How it starts

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

What I do

Scaffold a complete external PowerGrid plugin in the user's project (NOT in the package).

When to use me

  • A new interactive column behavior is needed (e.g., selectable, colorpicker, rating)
  • The behavior requires its own Blade view and/or Alpine.js component
  • The plugin needs to respond to user interactions via Livewire events

Quick Overview

Plugins are created in the user's project at app/PowerGrid/Plugins/{PluginName}/. They do NOT require modifying the PowerGrid package.

Files to create:

  1. app/PowerGrid/Plugins/{PluginName}/{PluginName}Plugin.php - Plugin class
  2. app/PowerGrid/Plugins/{PluginName}/index.blade.php - Blade template
  3. app/PowerGrid/Plugins/{PluginName}/index.js - Alpine.js component
  4. app/Providers/PowerGridPluginServiceProvider.php - ServiceProvider

Files to modify:

  1. bootstrap/providers.php - Register the ServiceProvider
  2. app/Providers/AppServiceProvider.php - Add plugin to PowerGrid::plugins([...])
  3. User's PowerGrid component - Add column + hook method

Critical Rules

  1. Create plugins in user's project, never in the powergrid package
  2. ServiceProvider must call boot() and register view namespace with loadViewsFrom()
  3. Alpine.js dispatch must use array format: [field, id, value] (NOT object {field, id, value})
  4. Render initial values server-side with @foreach/@selected() - do NOT use x-model for initial state
  5. Model $fillable must include the field being updated
  6. No proxy method needed - pgPluginListener in Listeners.php handles routing generically

Workflow

  1. Gather requirements (plugin name, macro signature, interaction type, hook name)
  2. Read REFERENCE.md in this skill directory for templates and full details
  3. Create the plugin files following the templates
  4. Register ServiceProvider and plugin
  5. Add column + hook to user's component
  6. Verify it works

For complete templates, architecture details, and troubleshooting, see: REFERENCE.md

Read the full file on GitHub · 56 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. 4d ago First seen · 56 lines · 31 tokens per session scan A 2739266cd660

Subscribe to this mod's changes

create-powergrid-plugin is a skill published in the GitHub repository Power-Components/livewire-powergrid (1,693 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 523 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

livewire-development

Use for any task or question involving Livewire. Activate if user mentions Livewire, wire: directives, or Livewire-specific concepts like wire:model, wire:click, wire:sort, or islands, invoke this skill. Covers building new components, debugging reactivity issues, real-time form validation, drag-and-drop, loading…

liberusoftware/real-estate-laravel · 126 tokens

octane-development

Use this skill when working with Laravel Octane, a long-running PHP worker server (Swoole, FrankenPHP, RoadRunner) where the application boots once and serves many requests instead of rebooting for each request like PHP-FPM. Trigger when installing Octane or starting its server; configuring or detecting the active…

liberusoftware/real-estate-laravel · 120 tokens

pest-testing

Use this skill for Pest PHP testing in Laravel projects only. Trigger whenever any test is being written, edited, fixed, or refactored — including fixing tests that broke after a code change, adding assertions, converting PHPUnit to Pest, adding datasets, and TDD workflows. Always activate when the user asks how to…

liberusoftware/real-estate-laravel · 187 tokens

pulse-development

Handles Laravel Pulse setup, configuration, and custom card development. Activates when installing Pulse; configuring the dashboard or authorization gate; setting up recorders and filtering; building custom Livewire cards; optimizing with Redis ingest or sampling; or when the user mentions /pulse, pulse:check…

liberusoftware/real-estate-laravel · 72 tokens

module:assistant

Add an AI assistant chat panel to any Laravel project — with tool calling, streaming, and MCP support.

escapeboy/ai-prompts · 24 tokens

lerd

Manage the lerd local PHP development environment via MCP tools: run framework console commands (artisan, bin/console, etc.), manage services, start/stop queue workers, run composer, manage Node.js versions, and inspect site status. Also the way to diagnose and optimize a slow site: find N+1 and slow queries, read…

liberusoftware/real-estate-laravel · 97 tokens