Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add sjungling/sjungling-claude-plugins/plugin install swift-engineerWrote 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/commands/sjungling/sjungling-claude-plugins/build-and-run)<a href="https://agentmods.dev/commands/sjungling/sjungling-claude-plugins/build-and-run"><img src="https://agentmods.dev/badge/commands/sjungling/sjungling-claude-plugins/build-and-run/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/commands/sjungling/sjungling-claude-plugins/build-and-run"><img src="https://agentmods.dev/badge/commands/sjungling/sjungling-claude-plugins/build-and-run.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.00022 | $0.01128 |
| Opus 5.5 | $0.00009 | $0.00451 |
| Sonnet 5.5 | $0.00004 | $0.00226 |
| Haiku 4.5 | $0.00002 | $0.00113 |
Grade C, and why
build-and-run scanned grade C 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 19d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Clearing DerivedData (`rm -rf ~/Library/Developer/Xcode/DerivedData/*`) is a last resort for stale How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Build the current Xcode project, fix any build errors, launch it, and confirm it actually started.
Arguments are free-form hints, not positional flags. Match $ARGUMENTS loosely against the real scheme
and destination lists once discovered — MyApp, iPhone 17 Pro, My Mac, and MyApp on iPad are all
valid. Infer anything not supplied.
Tooling
Prefer Apple's Xcode MCP server (mcp__xcode__*) over shell commands for every operation it covers. It
drives a live Xcode instance: scheme and run destination are mutable state, so set the state, then
build — there is no destination flag to pass.
Read ${CLAUDE_PLUGIN_ROOT}/commands/references/xcode-mcp.md for the verified tool list, behaviours, and the CLI fallback table. Use
the CLI path only when the MCP tools are absent or Xcode is not running.
Workflow
1. Resolve the workspace
XcodeListWorkspaces for what is already open. If nothing is open, find the .xcworkspace (preferred
over .xcodeproj) in the working directory and XcodeOpenWorkspace it. Ask only when several candidates
exist and the arguments do not disambiguate.
2. Resolve scheme and destination
List schemes and run destinations, then pick:
- Scheme — from
$ARGUMENTSif given, else the already-active scheme, else the one matching the project name. Ask only when genuinely ambiguous. UsedisambiguatedNamewhen names collide. - Destination — from
$ARGUMENTSif given; otherwise a simulator preference declared in the project'sCLAUDE.md(phrasings likesimulator: iPhone 17 Pro, "preferred simulator", "test on"); otherwise the active destination if eligible; otherwise the newest eligible device for the scheme's platform.
Apply the scheme first, then the destination — switching schemes can move the destination on its own.
Read back activeDestinationDisplayTitle rather than assuming the switch held.
Ask the user when a preference was declared but is unavailable, or when the platform is genuinely
ambiguous. Offer real entries from the destination list, prioritising the same device family. If no
simulator runtimes exist at all, offer to install one (xcodebuild -downloadPlatform iOS) or point at
Xcode → Settings → Components.
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.
- 19d ago Changed 0fdb04e56b6a
- 2mo ago Changed · +1 lines · +9 tokens per session 6004b79f90d5
- 3mo ago First seen · 106 lines · 13 tokens per session scan C dfdca72b76d8
build-and-run is a command published in the GitHub repository sjungling/sjungling-claude-plugins (15 stars, last pushed 7d ago), licensed MIT. It adds 22 tokens to every session and 1,128 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
build-and-run compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| build-and-runsjungling/sjungling-claude-plugins | Command | 15 | 7d ago | MIT | C | 22 | Claude Code |
| app-store-auditmjmirza/app-store-compliance | Command | 11k | yesterday | none | A | 35 | Claude Code |
| erne-animateJubaKitiashvili/everything-react-native-expo | Command | 50 | 1mo ago | MIT | A | 21 | Claude Code |
| react-nativegetsentry/toolkit | Command | 985 | yesterday | none | A | 0 | Claude Code |
| initialize-iosdefendend/Claude-ast-index-search | Command | 608 | 28d ago | MIT | A | 18 | Claude Code |
| kmp-update-design-systemronjunevaldoz/kmp-agent-skills | Command | 7 | 3d ago | none | A | 34 | Claude Code |
| mobile-performance-checktungnk123/mobile-best-practices | Command | 22 | 8mo ago | MIT | A | 14 | Claude Code |