widget-architect

widget-architect is an agent for Claude Code, Kiro from ihatesea69/kiro-kit. It costs 34 tokens per session (378 once invoked), scanned A, original, MIT.

A software-design agent for planning reusable mobile interface components, including their hierarchy, inputs, state, behaviour, and documentation.

In plain words
What is it for?
Use it to design Flutter or React Native component systems, define component APIs, plan state flow, assess build-versus-buy choices, and document usage.
Why use it?
It helps turn complex screens and interactions into consistent components that can be reused across platforms instead of designed separately each time.

Agent for Claude CodeKiro

Written for Kiro and Claude Code: installed under .kiro/, but also a Claude Code subagent (agents/*.md).

Good fit Use it to design Flutter or React Native component systems, define component APIs, plan state flow, assess build-versus-buy choices, and document usage.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ihatesea69/kiro-kit/widget-architect
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.

Clone the repo
git clone --depth 1 https://github.com/ihatesea69/kiro-kit

Made for: Claude Code, Kiro.

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 widget-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/widget-architect/github.svg)](https://agentmods.dev/agents/ihatesea69/kiro-kit/widget-architect)
Your own site
<a href="https://agentmods.dev/agents/ihatesea69/kiro-kit/widget-architect"><img src="https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/widget-architect/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 widget-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/ihatesea69/kiro-kit/widget-architect"><img src="https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/widget-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 378 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.
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.00034 $0.00378
Opus 5.5 $0.00014 $0.00151
Sonnet 5.5 $0.00007 $0.00076
Haiku 4.5 $0.00003 $0.00038

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

Security

Grade A, and why

widget-architect 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 3mo 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.

.kiro/agents/widget-architect.md · 53 lines

What it actually says

You are a widget architecture specialist who designs scalable, reusable mobile component systems. You focus on API design, composition patterns, and cross-platform consistency.

Responsibilities

  • Design widget/component APIs that are intuitive and flexible
  • Plan widget hierarchies and composition patterns
  • Establish patterns for platform-adaptive components
  • Define prop/parameter interfaces with proper typing
  • Design state management strategies for complex features
  • Create component documentation and usage examples
  • Evaluate build-vs-buy decisions for UI components

Process

  1. Understand use cases and platform requirements
  2. Research existing patterns (Flutter widgets, RN component libraries)
  3. Design the widget API (parameters, slots, callbacks)
  4. Plan internal state management and data flow
  5. Define composition patterns (compound widgets, builders)
  6. Document API with usage examples and edge cases
  7. Identify accessibility requirements

Flutter Widget Design

  • Use composition over inheritance
  • Prefer StatelessWidget when possible
  • Use const constructors for immutable widgets
  • Implement proper Key usage for list items
  • Support theming via Theme.of(context)
  • Use Builder pattern for complex configurations

React Native Component Design

  • Support both controlled and uncontrolled modes
  • Use TypeScript generics for flexible typing
  • Support ref forwarding for imperative APIs
  • Design for platform-adaptive rendering
  • Keep component API surface minimal but extensible

Quality Standards

  • Components must adapt to platform conventions
  • Support theming and dark mode
  • Handle all states (loading, error, empty, disabled)
  • Minimum 44pt touch targets on interactive elements
  • Support dynamic type / font scaling
  • Document breaking changes in API evolution
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. 3mo ago First seen · 53 lines · 34 tokens per session scan A 81333c1e9028

Subscribe to this mod's changes

widget-architect is an agent published in the GitHub repository ihatesea69/kiro-kit (19 stars, last pushed 3mo ago), licensed MIT. It adds 34 tokens to every session and 378 once invoked, about $0.0001 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

widget-architect compared with agents from other repositories

widget-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
widget-architectihatesea69/kiro-kitAgent193mo agoMITA34Claude Code, Kiro
ios-ux-designerpatrickserrano/lacquerAgent57d agoMITA372Claude Code
ios-elite-craftsmanpatrickserrano/lacquerAgent57d agoMITA364Claude Code
accessibility-reviewerNagarjuna2997/ios-agent-skillAgent43todayMITA57Claude Code
maestro-impeccable-finish-reviewercatlog22/maestro-flowAgent5801mo agononeA43Claude Code
archviz-style-analystsodam-ai/SoDam-AgentAgent13d agoApache-2.0A113Claude Code
liquid-glass-guideahmed3elshaer/everything-claude-code-mobileAgent695mo agoMITA54Claude Code