widgetkit-code-review

widgetkit-code-review is a skill for Claude Code, Codex from existential-birds/beagle. It costs 52 tokens per session (1,085 once invoked), scanned A, original, Apache-2.0.

A checklist for reviewing WidgetKit code. WidgetKit is Apple's framework for small app extensions that show timely information on iPhone, iPad, and other Apple devices.

In plain words
What is it for?
Use it to review timeline providers, widget views, configurable widgets, deep links, refresh policies, and image handling.
Why use it?
It helps catch incorrect timeline refreshes, unsupported views, excessive memory use, broken previews, and problems sharing data with the main app.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review timeline providers, widget views, configurable widgets, deep links, refresh policies, and image handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/existential-birds/beagle/widgetkit-code-review
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.

Any agent
npx skills add existential-birds/beagle --skill widgetkit-code-review
Clone the repo
git clone --depth 1 https://github.com/existential-birds/beagle

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 widgetkit-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/existential-birds/beagle/widgetkit-code-review/github.svg)](https://agentmods.dev/skills/existential-birds/beagle/widgetkit-code-review)
Your own site
<a href="https://agentmods.dev/skills/existential-birds/beagle/widgetkit-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/widgetkit-code-review/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 widgetkit-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/existential-birds/beagle/widgetkit-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/widgetkit-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,085 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.00052 $0.01085
Opus 5.5 $0.00021 $0.00434
Sonnet 5.5 $0.00010 $0.00217
Haiku 4.5 $0.00005 $0.00109

Measured 4d ago against content hash dcefdc0f0a56, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

widgetkit-code-review 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.

skills/widgetkit-code-review/SKILL.md · 59 lines

How it starts

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

WidgetKit Code Review

Quick Reference

Issue Type Reference
TimelineProvider, entries, reload policies, RelevantContext references/timeline.md
Widget families, containerBackground, Button(intent:), ControlWidget references/views.md
AppIntentConfiguration, EntityQuery, AppEntity, @Parameter references/intents.md
Refresh budget, memory limits (~30MB), caching, App Groups references/performance.md

Review Checklist

  • placeholder(in:) returns immediately without async work
  • Timeline entries spaced at least 5 minutes apart
  • getSnapshot checks context.isPreview for gallery previews
  • containerBackground(for:) used for iOS 17+ compatibility
  • widgetURL used for systemSmall (not Link)
  • Interactive widget controls use Button(intent:) or Toggle(isOn:intent:) (iOS 17+); no closure-based Button(action:)
  • iOS 18+ ControlWidget uses ControlWidgetButton / ControlWidgetToggle backed by AppIntent / SetValueIntent and ControlValueProvider
  • Smart Stack widgets use TimelineEntryRelevance or RelevantContext (WidgetRelevance) where context matters
  • No AsyncImage or UIViewRepresentable in widget views
  • Images downsampled to widget display size (~30MB collective limit)
  • App Groups configured for data sharing between app and widget
  • EntityQuery implements defaultResult() for non-optional parameters; AppEntity includes typeDisplayRepresentation
  • New intent parameters handle nil for existing widgets after updates; IntentConfiguration -> AppIntentConfiguration migration uses a new kind
  • reloadTimelines called strategically (not on every data change)

When to Load References

Read the full file on GitHub · 59 lines

Files

What ships with it

4 files 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 Changed · +2 lines · +9 tokens per session dcefdc0f0a56
  2. 2mo ago First seen · 57 lines · 43 tokens per session scan A 113c927fb01c

Subscribe to this mod's changes

widgetkit-code-review is a skill published in the GitHub repository existential-birds/beagle (91 stars, last pushed 4d ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,085 once invoked, about $0.0002 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-09-16.

Related

widgetkit-code-review compared with skills from other repositories

widgetkit-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
widgetkit-code-reviewexistential-birds/beagleSkill914d agoApache-2.0A52Claude Code, Codex
coding-standardsSimon-Hwang/gg-pluginsSkill24mo agononeA34Claude Code
codex-rule-routerSimon-Hwang/gg-pluginsSkill24mo agononeA39Claude Code
swift-concurrency-projacklandrin/OnlySwitchSkill6.1k2d agoMITA35Codex
pr-to-go-lintergithub/gh-awSkill5.7ktodayMITA22Claude Code, Codex
swiftui-protwostraws/SwiftUI-Agent-SkillSkill6.6k1mo agoMITA36Claude Code, Codex
splitting-oversized-modulesPostHog/posthog-fossSkill733todayMITA197Claude Code, Codex