force-update

force-update is a skill for Claude Code from rshankras/claude-code-apple-skills. It costs 50 tokens per session (2,163 once invoked), scanned A, original, MIT.

A generator for checking whether an app meets a required minimum version and deciding whether to block use or show an update prompt. It can check a remote configuration service or Apple’s App Store lookup service.

In plain words
What is it for?
Use it to add mandatory updates, minimum-version checks, update dialogs, or rules that block outdated iOS or macOS app versions.
Why use it?
It helps retire old app versions and require critical updates when necessary, while allowing recommended updates to remain dismissible. Users can be directed to the app’s App Store page to update.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the apple-skills plugin — 147 skills shipped together , and of apple-skills

Good fit Use it to add mandatory updates, minimum-version checks, update dialogs, or rules that block outdated iOS or macOS app versions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rshankras/claude-code-apple-skills/force-update
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 rshankras/claude-code-apple-skills --skill force-update
Clone the repo
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills

Made for: Claude Code.

Or install apple-skills, the plugin that ships this one along with the rest of its 147 skills.

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 force-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/force-update.svg)](https://agentmods.dev/skills/rshankras/claude-code-apple-skills/force-update)
Your own site
<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/force-update"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/force-update.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,163 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 138
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00050 $0.02163
Opus 5 $0.00025 $0.01081
Sonnet 5 $0.00010 $0.00433
Haiku 4.5 $0.00005 $0.00216

Measured 8d ago against content hash 00f0f7b9f53c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

force-update 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 8d 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/generators/force-update/SKILL.md · 285 lines

How it starts

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

Force Update Generator

Generate a minimum version check system that blocks app usage when a critical update is required, or shows a dismissible prompt for recommended updates. Checks the current app version against a remote configuration endpoint or the App Store lookup API and presents the appropriate UI.

When This Skill Activates

Use this skill when the user:

  • Asks to "add force update" or "force update screen"
  • Wants "minimum version check" or "minimum version enforcement"
  • Mentions "required update" or "mandatory update"
  • Asks about "version check" or "app version check"
  • Wants an "app update prompt" or "update dialog"
  • Mentions "block old versions" or "deprecate old versions"

Pre-Generation Checks

1. Project Context Detection

  • Check Swift version (requires Swift 5.9+)
  • Check deployment target (iOS 16+ / macOS 13+)
  • Check for @Observable support (iOS 17+ / macOS 14+)
  • Identify source file locations

2. Conflict Detection

Search for existing version check code:

Glob: **/*ForceUpdate*.swift, **/*VersionCheck*.swift, **/*UpdateManager*.swift, **/*AppVersion*.swift
Grep: "ForceUpdate" or "minimumVersion" or "mandatoryUpdate" or "CFBundleShortVersionString"

If an existing update mechanism is found:

  • Ask if user wants to replace or extend it
  • If extending, integrate with the existing check flow

3. Network Layer Detection

Search for existing networking code:

Glob: **/*API*.swift, **/*Client*.swift, **/*Network*.swift
Grep: "APIClient" or "URLSession" or "NetworkService"

If a networking layer exists, generate the version checker to use it rather than raw URLSession.

Configuration Questions

Ask user via AskUserQuestion:

  1. Update check source?

    • Remote JSON endpoint (your own server hosts a JSON config) — recommended
    • App Store lookup API (uses iTunes Search API, no server needed)
    • Firebase Remote Config (requires Firebase SDK)
  2. Update types to support?

    • Hard block only (always force update)
    • Soft prompt only (always dismissible)
    • Both hard block and soft prompt — recommended

Read the full file on GitHub · 285 lines

Files

What ships with it

1 file 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. 8d ago First seen · 285 lines · 50 tokens per session scan A 00f0f7b9f53c

Subscribe to this mod's changes

force-update is a skill published in the GitHub repository rshankras/claude-code-apple-skills (708 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 2,163 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.