Kiri-Friends: Skill for Claude Code

.agents/skills/watchos-code-review/SKILL.md

watchos-code-review is a skill for Claude Code, Codex from Project-Kiri/Kiri-Friends. It costs 55 tokens per session (950 once invoked), scanned A, original, MIT.

A review guide for watchOS code, the software that runs on Apple Watch. It checks app lifecycle, watch complications, communication with an iPhone, and resource limits.

In plain words
What is it for?
Use it when reviewing Swift code that imports WatchKit or uses WatchConnectivity, ClockKit, WidgetKit, watch app lifecycle APIs, or background tasks.
Why use it?
It helps identify watch-specific bugs involving background work, updates, connectivity, memory, battery use, and newer Apple frameworks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is Project-Kiri/Kiri-Friends's own configuration. It tells Claude Code and Codex how to work on Kiri-Friends itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Kiri-Friends configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Project-Kiri/Kiri-Friends. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Project-Kiri/Kiri-Friends/main/.agents/skills/watchos-code-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Project-Kiri/Kiri-Friends

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/project-kiri/kiri-friends/watchos-code-review"><img src="https://agentmods.dev/badge/skills/project-kiri/kiri-friends/watchos-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 950 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.00055 $0.00950
Opus 5 $0.00028 $0.00475
Sonnet 5 $0.00011 $0.00190
Haiku 4.5 $0.00006 $0.00095

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

Security

Grade A, and why

watchos-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 10d 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.

.agents/skills/watchos-code-review/SKILL.md · 67 lines

How it starts

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

watchOS Code Review

Quick Reference

Issue Type Reference
App lifecycle, scenes, background modes, extended runtime references/lifecycle.md
ClockKit, WidgetKit, timeline providers, Smart Stack references/complications.md
WCSession, message passing, file transfer, reachability references/connectivity.md
Memory limits, background refresh, battery optimization references/performance.md

Review Checklist

  • SwiftUI App protocol used with @WKApplicationDelegateAdaptor for lifecycle events
  • scenePhase read from root view (not sheets/modals where it's always .active)
  • WKExtendedRuntimeSession started only while app is active (not from background)
  • Workout sessions recovered in applicationDidFinishLaunching (not just delegate)
  • Background tasks scheduled at least 5 minutes apart; next scheduled before completing current
  • URLSessionDownloadTask (not DataTask) used for background network requests
  • WidgetKit used instead of ClockKit for watchOS 9+ complications
  • Timeline includes future entries (not just current state); gaps avoided
  • TimelineEntryRelevance implemented for Smart Stack prioritization
  • WCSession delegate set before activate(); singleton pattern used
  • isReachable checked before sendMessage; transferUserInfo for critical data
  • Received files moved synchronously before delegate callback returns

When to Load References

  • Reviewing app lifecycle, background modes, or extended sessions -> lifecycle.md
  • Reviewing complications, widgets, or timeline providers -> complications.md
  • Reviewing WCSession, iPhone-Watch communication -> connectivity.md
  • Reviewing memory, battery, or performance issues -> performance.md

Output Format

Report issues using: [FILE:LINE] ISSUE_TITLE

Examples:

  • [WatchApp.swift:18] WKExtendedRuntimeSession started while app not active
  • [ConnectivityManager.swift:42] WCSession.activate() before delegate assignment
  • [ComplicationTimeline.swift:67] Timeline has no future entries

Read the full file on GitHub · 67 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. 10d ago First seen · 67 lines · 55 tokens per session scan A 71b6f6d0d203

Subscribe to this mod's changes

watchos-code-review is a skill published in the GitHub repository Project-Kiri/Kiri-Friends (11 stars, last pushed 3mo ago), licensed MIT. It adds 55 tokens to every session and 950 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.

Related

Other skills, from other repositories

accessibility-cleanup

Finds common violations of the Android accessibility API in the Clank App Java code and attempts to address them (e.g. hardcoded state change announcements, missing events, focus moving, assertive live regions, etc).

chromium/chromium · 49 tokens

app-store-review

Evaluates code against Apple's App Store Review Guidelines. Use this skill when reviewing iOS, macOS, tvOS, watchOS, or visionOS app code (Swift, Objective-C, React Native, or Expo) to identify potential App Store rejection issues before submission. Triggers on tasks involving app review preparation, compliance…

jacklandrin/OnlySwitch · 76 tokens

swift-concurrency-pro

Reviews Swift code for concurrency correctness, modern API usage, and common async/await pitfalls. Use when reading, writing, or reviewing Swift concurrency code.

jacklandrin/OnlySwitch · 35 tokens

swiftui-pro

Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or reviewing SwiftUI projects.

jacklandrin/OnlySwitch · 36 tokens

axiom-audit-camera

Use this agent to scan Swift code for camera, video, and audio capture issues including deprecated APIs, missing interruption handlers, threading violations, and permission anti-patterns.

CharlesWiltgen/Axiom · 39 tokens

mobile-platform-offline-validate

Review a Lightning Web Component for mobile offline compatibility — the Komaci offline static analyzer that pre-primes the data graph for Salesforce Mobile App Plus and Field Service Mobile App. Produces a finding list with code-level fixes covering inline GraphQL queries in @wire configurations, modern lwc:if /…

forcedotcom/sf-skills · 207 tokens