legacy-webview-implementation

legacy-webview-implementation is a skill for Claude Code, Codex from emilianoeloi/ios-WK-UI-WebView. It costs 33 tokens per session (426 once invoked), scanned A, original, MIT.

A step-by-step implementation guide for changing older Objective-C iPhone and iPad WebView code. It covers both WKWebView and the older UIWebView fallback, plus the JavaScript bridge between the app and web pages.

In plain words
What is it for?
Use it to plan and implement small WebView fixes, preserve existing handler names and message queues, add focused tests, and build the project for verification.
Why use it?
It requires the current behavior and affected files to be understood before editing, which reduces accidental changes to navigation and bridge protocols.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to plan and implement small WebView fixes, preserve existing handler names and message queues, add focused tests, and build the project for verification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emilianoeloi/ios-wk-ui-webview/legacy-webview-implementation
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 emilianoeloi/ios-WK-UI-WebView --skill legacy-webview-implementation
Clone the repo
git clone --depth 1 https://github.com/emilianoeloi/ios-WK-UI-WebView

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 legacy-webview-implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/emilianoeloi/ios-wk-ui-webview/legacy-webview-implementation/github.svg)](https://agentmods.dev/skills/emilianoeloi/ios-wk-ui-webview/legacy-webview-implementation)
Your own site
<a href="https://agentmods.dev/skills/emilianoeloi/ios-wk-ui-webview/legacy-webview-implementation"><img src="https://agentmods.dev/badge/skills/emilianoeloi/ios-wk-ui-webview/legacy-webview-implementation/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 legacy-webview-implementation

Your own site · 80×15
<a href="https://agentmods.dev/skills/emilianoeloi/ios-wk-ui-webview/legacy-webview-implementation"><img src="https://agentmods.dev/badge/skills/emilianoeloi/ios-wk-ui-webview/legacy-webview-implementation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 426 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.00033 $0.00426
Opus 5.5 $0.00013 $0.00170
Sonnet 5.5 $0.00007 $0.00085
Haiku 4.5 $0.00003 $0.00043

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

Security

Grade A, and why

legacy-webview-implementation 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 2mo 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.

.github/skills/legacy-webview-implementation/SKILL.md · 60 lines

What it actually says

Legacy WebView Implementation

Purpose

Implement production-safe fixes and enhancements in this legacy iOS WebView project.

Phase 0 — Read (no edits)

  1. Confirm target behavior from README and the current code path
  2. If the runtime flow or bridge contract is unclear, run legacy-webview-analysis first

Gate

  1. State the minimal file touch set before editing. If the request is ambiguous, stop and ask instead of guessing scope.

Phase 1 — Implement

  1. Patch minimally in Objective-C and preserve existing conventions
  2. Keep WKWebView and fallback expectations aligned
  3. Preserve bridge contract (handler names, protocol queue semantics)
  4. Add focused tests when behavior can be isolated

Phase 2 — Validate

  1. Build with the canonical command from AGENTS.md:
xcodebuild -project ios-WK-UI-Webview.xcodeproj \
  -scheme ios-WK-UI-Webview \
  -destination 'generic/platform=iOS Simulator' \
  IPHONEOS_DEPLOYMENT_TARGET=12.0 build
  1. If the build cannot run in your environment, state the limitation explicitly — never claim validation that did not happen

Quality Rules

  • Keep architecture simple and focused on requested behavior
  • Do not change unrelated files or flows
  • Prefer centralized constants over duplicated literals
  • Add comments only for non-obvious bridge/navigation edge cases

Anti-example (do not do)

"While fixing the redirect, I also modernized the delegate wiring and renamed two handlers for clarity."

Unrequested scope. Handler names are a public contract; renames are a migration, not a fix.

Definition of Done

  • Change is scoped and understandable
  • Core navigation/bridge flow remains stable
  • Validation completed (build/test or explicit limitation note)
  • No accidental API or contract breakage
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. 2mo ago First seen · 60 lines · 33 tokens per session scan A 4eede8072ba2

Subscribe to this mod's changes

legacy-webview-implementation is a skill published in the GitHub repository emilianoeloi/ios-WK-UI-WebView (3 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 426 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-31.

Related

legacy-webview-implementation compared with skills from other repositories

legacy-webview-implementation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
legacy-webview-implementationemilianoeloi/ios-WK-UI-WebViewSkill34mo agoMITA33Claude Code, Codex
analyzing-ios-app-security-with-objectionmukul975/Anthropic-Cybersecurity-SkillsSkill36k2mo agoApache-2.0A49Claude Code
ios-simulator-skillconorluddy/ios-simulator-skillSkill1.3kyesterdayMITA106Claude Code, Codex
argent-tv-interactsoftware-mansion/argentSkill3.2kyesterdayApache-2.0A107Claude Code, Codex
mastgChiChou/grapefruitSkill1.4k10d agoMITA53Claude Code, Codex
figma-a11y-annotationscvs-health/ios-swiftui-accessibility-techniquesSkill388yesterdayApache-2.0A110Claude Code, Codex
compose-multiplatformericrisco/rsc-harnessSkill5032d agoMITA80Claude Code, Codex