Livewire PowerGrid is a Laravel package for creating configurable data tables in web applications. Laravel developers use it for tables with searching, filtering, sorting, editing, bulk actions, pagination, and data export. The catalogue add-ons support work with this package.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Power-Components/livewire-powergridnpx agentmods add skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7Wrote 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/power-components/livewire-powergrid/upgrade-theme-v6-to-v7)<a href="https://agentmods.dev/skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7"><img src="https://agentmods.dev/badge/skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7/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.
<a href="https://agentmods.dev/skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7"><img src="https://agentmods.dev/badge/skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00052 | $0.03469 |
| Opus 5 | $0.00026 | $0.01734 |
| Sonnet 5 | $0.00010 | $0.00694 |
| Haiku 4.5 | $0.00005 | $0.00347 |
Grade A, and why
upgrade-theme-v6-to-v7 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 6d 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 — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
- Read a legacy v6 theme class (Bootstrap, DaisyUI, a custom third-party theme) from GitHub or local disk.
- Create a v7 theme class with a tiny
struct()(base view only) plus the per-section token methods (layout(),header(),table(),footer(),cols(),tabs(),filter(),editable(),toggleable()). - Map every legacy v6 array method (
table(),header(),checkbox(),searchBox(),filter*(), ...) onto the correct v7 section and token key. - Set
parentTheme = Tailwind::classso the migrated theme only declares what actually differs.
This skill is the canonical owner of the complete v6 -> v7 mapping table, which lives in REFERENCE.md.
When to use me
- Porting a legacy PowerGrid v6 theme to the v7 architecture.
- Upgrading a custom theme that still returns arrays from
table(),checkbox(),footer(), etc. with the old (flat/renamed) keys.
How to use me
Use the 'upgrade-theme-v6-to-v7' skill to migrate the v6 Bootstrap theme at
https://raw.githubusercontent.com/Power-Components/livewire-powergrid/6.x/src/Themes/Bootstrap5.php
The good news: v7 is closer to v6 than you think
v7 did not collapse everything into one builder. Like v6, a theme is still a set of per-section methods that return arrays. The migration is mostly renaming and re-nesting keys and turning on inheritance. Four things change:
struct()is tiny. It only sets the base view — it does not carry the token tree:public function struct(): Components\ThemeBuilder { return Components\ThemeBuilder::make($this->name())->baseView($this->baseView()); } protected function baseView(): string { return 'livewire-powergrid::components.themes.bootstrap5'; }- Token groups are per-section methods returning
['<group>' => [...]]. The group list is inTheme::themeTokenMethods():layout,header,table,footer,cols,tabs,filter,editable,toggleable. Write each as a plain nested array (closest to v6) or with the fluent$this->section('<group>', fn (...) => ...)helper. - The hierarchy is re-nested and renamed:
checkboxandradiomove undertable(table.checkbox.*,table.radio.*).searchBoxmoves underheader(header.search_box.*).footergains a nestedlayout; the oldfooter_with_paginationbecomespagination.table.header.*/table.body.*flatten totable.layout.*;thAction→th_actions,tdActionsContainer→td_actions.
- Inheritance replaces boilerplate. Set
protected ?string $parentTheme = Tailwind::class;and declare only the sections that differ from Tailwind.editable(),toggleable(), andfilter()were also reworked:editable()keepsclickable/input/errorclasses only. Discardview— the plugin blade ispowergrid-plugins::Editable.index.toggleable()is now five CSS color tokens (colorOn,colorOff,colorOnDark,colorOffDark,knobOn) set via->fill([...]). The oldview/base/label/input/rolekeys are gone.filter()adds alabel, a globalinput, anddropdown/flyoutgroups. Discardfilter.multi_select.view— markup is<x-livewire-powergrid::inputs.select>.
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.
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.
- 6d ago Changed · +36 lines · +24 tokens per session 7fa7fdc2de2c
- 11d ago First seen · 231 lines · 28 tokens per session scan A 70b817999c13
upgrade-theme-v6-to-v7 is a skill published in the GitHub repository Power-Components/livewire-powergrid (1,694 stars, last pushed 6d ago), licensed MIT. It adds 52 tokens to every session and 3,469 once invoked, about $0.0003 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
larapilot-design
Produces isolated HTML/CSS mockups stored in .larapilot/mockups/ and served via a dev-only /mockups route. Use for "make a mockup", "dashboard concept", "landing page", or when planning needs visual references. Italian triggers include "mockup", "prototipo visivo".
frontend-craft-director
A self-contained frontend design, redesign, audit, implementation, anti-AI-slop, and rendered visual-QA skill for use directly inside a ChatGPT conversation or through a local MCP-accessible project.
tailwindcss-design
TailwindCSS implementation patterns for Refactoring UI principles. COMPANION skill for web-design-mastery. ALWAYS activate for: TailwindCSS, Tailwind classes, utility classes, Tailwind config, Tailwind components, Tailwind dark mode, Tailwind responsive, Tailwind spacing, Tailwind typography, Tailwind colors, Tailwind…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
reveal-hover-effect
Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…