From ios-sim-download
Extract CoreData sqlite from a booted iOS simulator to ~/Downloads.
How this command is triggered — by the user, by Claude, or both
Slash command
/ios-sim-download:core-dataThe summary Claude sees in its command listing — used to decide when to auto-load this command
Extract CoreData sqlite from a booted iOS simulator to ~/Downloads.
Arguments: `$ARGUMENTS` may contain a simulator name/UDID, a bundle ID (contains dots), or both.
## Step 1 — Resolve bundle ID
If `$ARGUMENTS` contains a value with dots (e.g. `com.example.app`), use it as `BUNDLE_ID`.
Otherwise use AskUserQuestion: "Enter the app bundle ID (e.g. com.example.app)".
## Step 2 — List booted simulators
Parse JSON into list of `{ name, udid }`. If none booted, say "No simulators are booted" and stop.
## Step 3 — Pick simulator
If `$ARGUMENTS` contains a simulator name or UDID, match ag...Extract CoreData sqlite from a booted iOS simulator to ~/Downloads.
Arguments: $ARGUMENTS may contain a simulator name/UDID, a bundle ID (contains dots), or both.
If $ARGUMENTS contains a value with dots (e.g. com.example.app), use it as BUNDLE_ID.
Otherwise use AskUserQuestion: "Enter the app bundle ID (e.g. com.example.app)".
xcrun simctl list devices booted -j
Parse JSON into list of { name, udid }. If none booted, say "No simulators are booted" and stop.
If $ARGUMENTS contains a simulator name or UDID, match against the list.
Store chosen UDID as SIM_UUID (raw UDID string, e.g. A1B2C3D4-5678-...).
bash "${CLAUDE_PLUGIN_ROOT}/commands/core-data/find-data-container.sh" "{SIM_UUID}" "{BUNDLE_ID}"
Empty result → "{BUNDLE_ID} not installed or never launched on this simulator" and stop.
Store result as DATA_CONTAINER.
bash "${CLAUDE_PLUGIN_ROOT}/commands/core-data/find-sqlite-files.sh" "{DATA_CONTAINER}"
No files → "No sqlite files found in this container" and stop.
bash "${CLAUDE_PLUGIN_ROOT}/commands/core-data/copy-sqlite.sh" "/path/to/file1.sqlite"
Report each line of output.
npx claudepluginhub 2sem/claude-marketplace --plugin ios-sim-download