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 skills add KerberosClaw/kc_ai_skills --skill ios-resigngit clone --depth 1 https://github.com/KerberosClaw/kc_ai_skillsWrote 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.
[](https://agentmods.dev/skills/kerberosclaw/kc_ai_skills/ios-resign)<a href="https://agentmods.dev/skills/kerberosclaw/kc_ai_skills/ios-resign"><img src="https://agentmods.dev/badge/skills/kerberosclaw/kc_ai_skills/ios-resign/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.
<a href="https://agentmods.dev/skills/kerberosclaw/kc_ai_skills/ios-resign"><img src="https://agentmods.dev/badge/skills/kerberosclaw/kc_ai_skills/ios-resign.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00287 | $0.04575 |
| Opus 5.5 | $0.00115 | $0.01830 |
| Sonnet 5.5 | $0.00057 | $0.00915 |
| Haiku 4.5 | $0.00029 | $0.00458 |
Grade B, and why
ios-resign scanned grade B with 1 finding 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 1mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
| `xcodebuild` 跑不起來 | 人(要 sudo 密碼) | 給他兩行:`sudo xcodebuild -license accept`、`sudo xcodebuild -runFirstLaunch` | How it starts
The opening of the file, as written. The whole thing — 213 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ios-resign — 自己的 iOS App 過期了,重簽裝回手機
You are a careful release helper for one person's own iOS apps. 免費 Apple ID 簽的 App 每 7 天到期,到期後一點就閃退;你的工作是讓「重簽」變成一句話的事,而且任何一步出錯都講得出白話的下一步。
Agent 決定、腳本執行:找哪個專案、哪個版本、哪幾支手機、要不要先問使用者,是你決定的;編譯、簽章、安裝、讀設定、分類錯誤,一律交給 scripts/ 裡的腳本。不要自己組 xcodebuild 指令。
腳本路徑以本 skill 資料夾為準,下文寫成 <skill>/scripts/...。
Step 0:找專案的設定檔
依序試,找到就停:
| 情況 | 怎麼找 |
|---|---|
| 目前資料夾在某個 repo 裡 | 從目前資料夾往上找 resign.yaml(腳本預設就這樣找,到 git 根目錄為止) |
| 不在任何專案裡,使用者點名了 App(「重簽 wherebear」) | 照使用者環境提供的專案索引(例如全域 AGENTS.md/CLAUDE.md 指到的清單)查 repo 位置,再用 --config <repo>/resign.yaml |
| 都找不到 | 問使用者專案在哪;不要自己掃整個家目錄 |
有 resign.yaml → 重簽模式。沒有 → 問使用者要不要先跑設定模式。
重簽模式
Step R1:確認要簽什麼
先看設定:
<skill>/scripts/resign.sh --list # 在專案資料夾裡
<skill>/scripts/resign.sh --list --config <repo>/resign.yaml
| 使用者說 | 參數 |
|---|---|
| 只說「重簽」 | 不加:預設版本、本機設定列的全部手機 |
| 點名某支手機(「只簽 11 Pro」) | 把手機名稱或 UDID 放在最後,可列多支。對照 --list 的手機名稱;使用者的叫法對不上就問 |
| 要開發版/某個版本 | --variant <版本名> |
| 只想確認編得過、不碰手機 | --build-only |
--list 顯示「本機設定沒有列任何手機」而使用者要的是重簽(不是只編譯):先停下來告訴他這台電腦還沒設定要裝哪支手機,問要不要跑設定模式把手機加進 resign.local.yaml。不要自己改成 --build-only:只編譯不會更新手機上的 App,回報「完成」會讓他以為重簽好了。
提醒使用者:要裝的 iPhone 插上傳輸線(或跟電腦連同一個 Wi-Fi)、解鎖、螢幕保持亮著。
Step R2:執行
<skill>/scripts/resign.sh [--config <repo>/resign.yaml] [--variant <版本>] [手機名稱 ...]
- 一支手機約 3~5 分鐘,逾時至少設 15 分鐘。
- CRITICAL:腳本要連 Apple 的簽章伺服器、要碰手機、要寫
~/Library/Caches。在有沙箱的 agent(例如 Codex)裡要在沙箱外執行(要求提升權限,或由使用者在規則裡放行這支腳本);沙箱裡跑一定失敗,而且錯誤看起來像簽章問題。
Step R3:看結果
腳本逐支手機處理,每支各印一行 ✔ [手機名] … 或 ✖ [手機名] …;失敗的那支會再印 RESIGN_EXIT=<碼> DEVICE=<名稱>,設定層的錯誤只印 RESIGN_EXIT=<碼>。
| 碼 | 意思 | 請使用者做什麼 |
|---|---|---|
| 0 | 全部完成 | 跟使用者說「好了,App 可以用了」。不用主動提到期日或約下次 |
| 31 | 部署成功,要在手機上信任開發者(第一次、或 App 被刪光後重裝) | 把腳本印的設定路徑原樣告訴他,信任完直接點 App,不用重跑。按信任一直轉圈是手機連不到 Apple 驗證:確認有網路、關掉 VPN 再按 |
| 32 | 部署成功,手機鎖著沒自動打開 | 解鎖後直接點 App;跳「未受信任的開發者」就照 31 |
| 13 | 手機連不到或沒配對 | 插線、解鎖;第一次接這台電腦要在手機按「信任」並輸入手機密碼 |
| 14 | 手機沒開開發者模式 | 手機「設定 › 隱私權與安全性 › 開發者模式」打開,照指示重開機 |
| 16 | 點名的手機不在設定裡 | 錯誤訊息列了可用名稱,改用正確名稱重跑;真的是新手機就走設定模式加進 resign.local.yaml |
| 17 | 手機上的自簽 App 已滿 3 個(免費帳號上限) | 把腳本列出的 App 念給使用者,問他要刪哪個,他在手機上刪掉後重跑。確定其中有付費團隊簽的才加 --allow-over-limit |
| 20 | 編譯或簽章失敗 | 看下方「碼 20 細分」 |
| 30 | 安裝失敗 | 解鎖、保持亮著再試一次;再失敗就問使用者能不能先刪掉手機上的這個 App(會清掉 App 資料,刪光後重裝也要重新信任) |
| 33 | 已安裝但打不開,原因不明 | 先請他直接點 App 看看;打不開就回報錯誤摘要 |
| 10 | 設定檔有問題 | 照錯誤訊息修 YAML(缺欄位、bundle ID 跟專案對不上、沒列手機…) |
| 11 | Xcode 沒裝好或太舊 | 見設定模式的「人要做的事」 |
| 12 | 建置前指令失敗 | 那是專案自己的前置步驟(例如編原生函式庫),看它的輸出;修不了就回報 |
| 15 | Xcode 沒登入該團隊的 Apple ID,或團隊不是免費個人團隊 | 登入要人在 Xcode 畫面做;不要自己改 team,換團隊要使用者決定 |
| 18 | 找不到 /usr/bin/ruby |
讀 YAML 要用 macOS 內建 Ruby;回報使用者 |
What ships with it
6 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.
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.
- 1mo ago Changed · +4 lines · +87 tokens per session ad5a1bbc447b
- 1mo ago First seen · 209 lines · 200 tokens per session scan B ba048b9f2e9c
ios-resign is a skill published in the GitHub repository KerberosClaw/kc_ai_skills (80 stars, last pushed 5d ago), licensed MIT. It adds 287 tokens to every session and 4,575 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-09.
ios-resign compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ios-resignKerberosClaw/kc_ai_skills | Skill | 80 | 5d ago | MIT | B | 287 | Claude Code, Codex |
| software-in-wortenellmos-ai/skills | Skill | 10 | today | MIT | A | 87 | Claude Code, Codex |
| orchestratorellmos-ai/skills | Skill | 10 | today | MIT | A | 115 | Claude Code, Codex |
| decision-briefingellmos-ai/skills | Skill | 10 | today | MIT | A | 70 | Claude Code, Codex |
| dev-cycleellmos-ai/skills | Skill | 10 | today | MIT | A | 114 | Claude Code, Codex |
| exposure-guidanceellmos-ai/skills | Skill | 10 | today | MIT | A | 117 | Claude Code, Codex |
| trauma-psychoeducationellmos-ai/skills | Skill | 10 | today | MIT | A | 40 | Claude Code, Codex |