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 agents/ihatesea69/kiro-kit/widget-architectgit clone --depth 1 https://github.com/ihatesea69/kiro-kitWhat 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 | $0.00034 | $0.00378 |
| Opus 5 | $0.00017 | $0.00189 |
| Sonnet 5 | $0.00007 | $0.00076 |
| Haiku 4.5 | $0.00003 | $0.00038 |
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 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.
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
- Understand use cases and platform requirements
- Research existing patterns (Flutter widgets, RN component libraries)
- Design the widget API (parameters, slots, callbacks)
- Plan internal state management and data flow
- Define composition patterns (compound widgets, builders)
- Document API with usage examples and edge cases
- 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
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 First seen · 53 lines · 34 tokens per session scan A 81333c1e9028
widget-architect is an agent published in the GitHub repository ihatesea69/kiro-kit (18 stars, last pushed 13d ago), licensed MIT. It adds 34 tokens to every session and 378 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.
Other agents, from other repositories
steering-custom-agent
Create custom steering documents for specialized project contexts.
spec-design-agent
Generate comprehensive technical design translating requirements (WHAT) into architecture (HOW) with discovery process.
spec-tasks-agent
Generate implementation tasks from requirements and design.
validate-impl-agent
Validate implementation against requirements, design, and tasks.
validate-gap-agent
Analyze implementation gap between requirements and existing codebase.
Frontend Developer
Expert frontend developer specializing in Next.js, React, TypeScript, and modern UI development.