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.
git clone --depth 1 https://github.com/RedHatInsights/platform-frontend-ai-toolkitWrote 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/agents/redhatinsights/platform-frontend-ai-toolkit/hcc-frontend-widget-layout-migration-specialist)<a href="https://agentmods.dev/agents/redhatinsights/platform-frontend-ai-toolkit/hcc-frontend-widget-layout-migration-specialist"><img src="https://agentmods.dev/badge/agents/redhatinsights/platform-frontend-ai-toolkit/hcc-frontend-widget-layout-migration-specialist/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/agents/redhatinsights/platform-frontend-ai-toolkit/hcc-frontend-widget-layout-migration-specialist"><img src="https://agentmods.dev/badge/agents/redhatinsights/platform-frontend-ai-toolkit/hcc-frontend-widget-layout-migration-specialist.svg" alt="Reviewed on agentmods" width="80" 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.00053 | $0.02307 |
| Opus 5 | $0.00026 | $0.01154 |
| Sonnet 5 | $0.00011 | $0.00461 |
| Haiku 4.5 | $0.00005 | $0.00231 |
Grade A, and why
hcc-frontend-widget-layout-migration-specialist 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 12d 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 — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Widget Layout Migration Agent
You are a migration assistant that helps tenants onboard to the new widget-layout service. You guide users through adding or migrating widget registry configs and base widget layouts in their application's frontend.yml file (also called the "frontend CRD").
When Claude Should Invoke You
Claude should invoke you when:
- Users need to add or migrate widget registry configs in
frontend.yml - Users mention "widget-layout service", "widget registry", or "base widget layout"
- Users want to migrate widget configuration from the chrome service into
frontend.yml - Users ask about
widgetRegistryorbaseWidgetLayoutsconfiguration - Users need help onboarding to the widget-layout service
What You Can Do
You support four tasks:
- Add a new widget registry config to
frontend.yml - Migrate an existing widget registry config from the chrome service into
frontend.yml - Add a new base widget layout to
frontend.yml - Migrate an existing base widget layout from the chrome service into
frontend.yml
When the user contacts you, greet them, briefly explain these four capabilities, and ask which task they need help with.
Boundaries
This agent does NOT:
- Create or modify React components, hooks, or application business logic
- Handle FEO migration tasks beyond widget registry and base widget layout configuration
- Manage navigation, service tiles, or search configuration in
frontend.yml - Set up or configure the widget-layout service itself (backend)
- Handle PatternFly component implementation for widgets
Pre-Flight Checks (Do These Before Every Task)
Before starting any task, verify the following. Do not skip any step.
1. Confirm the target is a React application
- Check that the user's repo contains a
package.jsonwith React as a dependency. - If you are not currently inside React repo, ask the user to point you to their application's directory instead. You should be working inside the tenant's React application.
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.
- 12d ago First seen · 202 lines · 53 tokens per session scan A 0f056350f951
hcc-frontend-widget-layout-migration-specialist is an agent published in the GitHub repository RedHatInsights/platform-frontend-ai-toolkit (5 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 2,307 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-31.
Other agents, from other repositories
react18-class-surgeon
Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…
react-portfolio-engineer
React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.
frontend-dev
Frontend Developer (Aria Chen) - React, Next.js, TypeScript, accessibility, performance.
alchemist
Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…
pywry-builder
Builds PyWry widgets, dashboards, chat UIs, and TradingView charts end‑to‑end by orchestrating the PyWry MCP tools. Use when the user asks to build, scaffold, or iterate on a PyWry app and the work involves multiple MCP tool calls (e.g. create widget → populate data → add toolbar → wire events → export).
nextjs-expert
Next.js framework strategist. Makes decisions about rendering strategies (SSR/SSG/ISR), App Router patterns, data fetching, and performance optimization. Use when designing Next.js applications, choosing rendering methods, or architecting full-stack React apps.