Hig Project Context
raintree-technology/hig-doctor
Create or update a shared Apple design context document that other HIG skills use to tailor guidance.
Discover and map new MobileGestalt keys for a new iOS version in MGKeys.
$ npx skills add PoomSmart/MGKeys --skill discover-ios-keys -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PoomSmart/MGKeys discover-ios-keys --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PoomSmart/MGKeys.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/discover-ios-keys .claude/skills/discover-ios-keys && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "discover-ios-keys" agent skill from https://github.com/PoomSmart/MGKeys/tree/master/.cursor/skills/discover-ios-keys into .claude/skills/discover-ios-keys/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-ios-keys", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PoomSmart/MGKeys/tree/master/.cursor/skills/discover-ios-keysType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PoomSmart/MGKeys --skill discover-ios-keys -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PoomSmart/MGKeys discover-ios-keys --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PoomSmart/MGKeys.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/discover-ios-keys .agents/skills/discover-ios-keys && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "discover-ios-keys" agent skill from https://github.com/PoomSmart/MGKeys/tree/master/.cursor/skills/discover-ios-keys into .agents/skills/discover-ios-keys/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-ios-keys", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PoomSmart/MGKeys --skill discover-ios-keys -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PoomSmart/MGKeys discover-ios-keys --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PoomSmart/MGKeys.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/discover-ios-keys .cursor/skills/discover-ios-keys && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "discover-ios-keys" agent skill from https://github.com/PoomSmart/MGKeys/tree/master/.cursor/skills/discover-ios-keys into .cursor/skills/discover-ios-keys/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-ios-keys", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PoomSmart/MGKeys.git --path .cursor/skills/discover-ios-keys--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PoomSmart/MGKeys --skill discover-ios-keys -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PoomSmart/MGKeys discover-ios-keys --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PoomSmart/MGKeys.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/discover-ios-keys .gemini/skills/discover-ios-keys && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "discover-ios-keys" agent skill from https://github.com/PoomSmart/MGKeys/tree/master/.cursor/skills/discover-ios-keys into .gemini/skills/discover-ios-keys/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-ios-keys", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PoomSmart/MGKeys discover-ios-keysInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PoomSmart/MGKeys --skill discover-ios-keys -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PoomSmart/MGKeys.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/discover-ios-keys .github/skills/discover-ios-keys && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "discover-ios-keys" agent skill from https://github.com/PoomSmart/MGKeys/tree/master/.cursor/skills/discover-ios-keys into .github/skills/discover-ios-keys/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-ios-keys", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PoomSmart/MGKeys --skill discover-ios-keys -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PoomSmart/MGKeys discover-ios-keys --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PoomSmart/MGKeys.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/discover-ios-keys .opencode/skills/discover-ios-keys && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "discover-ios-keys" agent skill from https://github.com/PoomSmart/MGKeys/tree/master/.cursor/skills/discover-ios-keys into .opencode/skills/discover-ios-keys/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-ios-keys", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
discover-ios-keysDiscover and map new MobileGestalt keys for a new iOS version in MGKeys.
Discover iOS Keys is an agent skill from PoomSmart/MGKeys. Discover and map new MobileGestalt keys for a new iOS version in MGKeys. Use when the user asks to discover keys for a new iOS version, update version snapshots, diff against the previous baseline, or run the MGKeys IPSW extraction and discovery pipeline.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `reference.md`).
It sits in Mobile. It works with iOS. The repository describes itself as: MobileGestalt Keys (De)obfuscation. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 1b831e9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
python3brewpippytestmypyFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Discover iOS Keys loads about 1.4k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 399 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from PoomSmart/MGKeys at commit 1b831e9, republished under its MIT licence (© PoomSmart). 399 words, ~1,364 tokens.
.claude/skills/discover-ios-keys/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.brew install blacktop/tap/ipsw
python3 -m venv .venv && .venv/bin/pip install -r requirements.txtDefaults: device iPhone15,2, arch arm64e, cache under dyld_shared_cache/<BUILD>__<DEVICE>/.
Do not run extract-version-hashes.sh, discover-version.sh --remote-extract, and dump-dtree.sh -d -v separately — each re-fetches from Apple's CDN. lib-ipsw-extract.sh has no cache-skip, and full IPSW fallback deletes the .ipsw after dyld extraction.
| Approach | When to use |
|---|---|
| Option A (full IPSW once) | Need dylib + DeviceTree; preferred |
| Option B (remote dyld once) | Gestalt-only; skip separate hash snapshot |
See reference.md for exact commands.
- [ ] 1. Extract once (Option A or B)
- [ ] 2. Discover locally + post-process
- [ ] 3. Diff against previous version
- [ ] 4. Recover non-gestalt keys from DeviceTree
- [ ] 5. Reverse-engineer remaining unknowns in the dyld shared-cache IDA database
- [ ] 6. Guess remaining unknowns
- [ ] 7. Validate and update docsOption A — download IPSW once, extract dylib and dtree locally. Note: ipsw extract --dyld may nest cache at dyld_shared_cache/<BUILD>__<DEVICE>/<BUILD>__<DEVICE>/.
Option B — one shot:
./discover-version.sh iPhone15,2 <VERSION> --remote-extractSkip extract-version-hashes.sh; discover-version.sh already writes versions/version-<VERSION>.txt.
./discover.sh
./deobfuscate.sh arm64e
./discover-version.sh iPhone15,2 <VERSION> --post-process-onlyPost-processing writes versions/version-<VERSION>.txt, syncs deobfuscated.py, runs populate_versions.py and gen_mapping.py.
comm -13 <(sort versions/version-<PREV>.txt) <(sort versions/version-<VERSION>.txt) # new
comm -23 <(sort versions/version-<PREV>.txt) <(sort versions/version-<VERSION>.txt) # removedEmpty both diffs → metadata-only update (still add version file and bump README).
Use devicetree.json from Step 1 — do not re-fetch remotely:
python3 recover_from_dtree.pyFor multiple IPSWs: python3 recover_from_all_dtrees.py (scans **/*.im4p).
Prefer the IDA database generated from the dyld shared cache over the extracted dylib because it preserves shared-cache tables and cross-references:
dyld_shared_cache/<BUILD>__<DEVICE>/dyld_shared_cache_arm64e.i64Search unresolved hashes, follow data cross-references into MobileGestalt
registration tables, and decompile associated lookup functions. Record only
evidence-based paths or call-site findings in keys_desc.py; unresolved keys
should remain NULL rather than receive guessed names.
python3 guess_keys.py
python3 guess_keys.py --key <HASH> --verbose./locate-usage.sh /path/to/iOS/source only if an SDK/source tree is available.
Check triage artifacts:
| Category | Where to look |
|---|---|
| Auto-mapped gestalt | discover-obfuscated-mapped.txt, deobfuscated.py |
| Non-gestalt | maybe-non-gestalt-keys.txt, mapping.h NULL entries |
| Unknown gestalt | hashes.txt minus deobfuscated.py |
| Removed | comm -23 diff → hashes_legacy.txt |
.venv/bin/pytest
.venv/bin/mypy *.pyUpdate README.md baseline line (The keys are currently based on iOS …). Confirm versions/version-stats.txt lists the new version.
| Diff result | Action |
|---|---|
| No change | Add version-<VERSION>.txt, bump README, extend mapping version comments |
| New gestalt hashes | Usually auto-mapped via _MobileGestalt_* symbols |
| New non-gestalt | maybe-non-gestalt-keys.txt → dtree recovery |
| Removed hashes | sync_discovered_keys.py moves to legacy; verify version-stats |
versions/version-<VERSION>.txt — hash snapshot (commit this)versions/version-sim.txt — simulator-only hashes (not in any physical snapshot)deobfuscated.py — key mappingsmapping.h, mapping-gestalt.h — generated headerskeys_versions.py, versions/version-stats.txt — version metadatakeys_desc.py — unknown key hintsDo not run device discovery against libMobileGestalt_sim.dylib. Use:
./extract-sim-hashes.sh
./extract-sim-hashes.sh libMobileGestalt_sim.dylib arm64 --no-post-processThat rewrites versions/version-sim.txt, appends new hashes to hashes_legacy.txt, discovers _MobileGestalt_* names into deobfuscated_legacy.py (sync_discovered_keys.py --legacy-only, no device-key moves), and regenerates // Simulator comments. Simulator dylibs are arm64, not arm64e.
© PoomSmart, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .cursor/skills/discover-ios-keys of PoomSmart/MGKeys.
Open the folder on GitHubat commit 1b831e9
Discover iOS Keys next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Discover iOS Keys this skillPoomSmart/MGKeys | 238 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Hig Project Contextraintree-technology/hig-doctor | 144 | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Hig Components Contentraintree-technology/hig-doctor | 144 | 5 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Argent Metro Debuggerbbplayer-app/BBPlayer | 1.2k | — | ~3.4k | Automated safety check: Pass | MIT | |
| iOS Simulator Skilln0an/VivaDicta | 130 | 1 repos | ~2.5k | Automated safety check: Pass | MIT | |
| ThemingCode-with-Beto/skills | 140 | — | ~2.5k | Automated safety check: Pass | None |
raintree-technology/hig-doctor
Create or update a shared Apple design context document that other HIG skills use to tailor guidance.
raintree-technology/hig-doctor
Apple Human Interface Guidelines for content display components.
bbplayer-app/BBPlayer
Debug a JS runtime via CDP using argent debugger tools. An agent skill from bbplayer-app/BBPlayer.
n0an/VivaDicta
21 production-ready scripts for iOS app testing, building, and automation.
Code-with-Beto/skills
Scaffold a unified, cross-platform color theme system into an Expo Router app.
ipedro/Inspector
A skill your agent uses when an agent needs to implement or modify the Inspector library itself — panel UI, hierarchy/runtime behavior, custom property models, macros, or Example-app dogfooding.
Works with
Categories
Discover and map new MobileGestalt keys for a new iOS version in MGKeys. Discover iOS Keys is an agent skill from PoomSmart/MGKeys. Discover and map new MobileGestalt keys for a new iOS version in MGKeys.
Discover iOS Keys fits situations like: the user asks to discover keys for a new iOS version; update version snapshots; diff against the previous baseline; run the MGKeys IPSW extraction and discovery pipeline.
Run `npx skills add PoomSmart/MGKeys --skill discover-ios-keys -a claude-code`. Or copy the skill folder (.cursor/skills/discover-ios-keys in PoomSmart/MGKeys) into .claude/skills/discover-ios-keys in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PoomSmart/MGKeys --skill discover-ios-keys -a codex`. Or copy the skill folder (.cursor/skills/discover-ios-keys in PoomSmart/MGKeys) into .agents/skills/discover-ios-keys in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PoomSmart/MGKeys --skill discover-ios-keys -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/discover-ios-keys, .gemini/skills/discover-ios-keys, .github/skills/discover-ios-keys and .opencode/skills/discover-ios-keys in your project.
Going by SKILL.md and its folder, Discover iOS Keys needs the command-line tools its instructions call (python3, brew, pip, pytest and mypy). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Discover iOS Keys is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Discover iOS Keys: Hig Project Context (raintree-technology/hig-doctor, 144 stars), Hig Components Content (raintree-technology/hig-doctor, 144 stars), Argent Metro Debugger (bbplayer-app/BBPlayer, 1.2k stars) and iOS Simulator Skill (n0an/VivaDicta, 130 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PoomSmart (a GitHub user) maintains it in PoomSmart/MGKeys, which has 238 GitHub stars. The repository was last updated on September 19, 2026.
Source: PoomSmart/MGKeys on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.