macOS Spm App Packaging
Dimillian/Skills
Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project.
Build, run, and debug local macOS apps and desktop executables using shell-first Xcode and Swift workflows.
$ npx skills add robinebers/openusage --skill build-run-debug -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install robinebers/openusage build-run-debug --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/robinebers/openusage.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/build-run-debug .claude/skills/build-run-debug && 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 "build-run-debug" agent skill from https://github.com/robinebers/openusage/tree/main/.agents/skills/build-run-debug into .claude/skills/build-run-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-run-debug", 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/robinebers/openusage/tree/main/.agents/skills/build-run-debugType 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 robinebers/openusage --skill build-run-debug -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install robinebers/openusage build-run-debug --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/robinebers/openusage.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/build-run-debug .agents/skills/build-run-debug && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "build-run-debug" agent skill from https://github.com/robinebers/openusage/tree/main/.agents/skills/build-run-debug into .agents/skills/build-run-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-run-debug", 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 robinebers/openusage --skill build-run-debug -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install robinebers/openusage build-run-debug --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/robinebers/openusage.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/build-run-debug .cursor/skills/build-run-debug && 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 "build-run-debug" agent skill from https://github.com/robinebers/openusage/tree/main/.agents/skills/build-run-debug into .cursor/skills/build-run-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-run-debug", 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/robinebers/openusage.git --path .agents/skills/build-run-debug--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 robinebers/openusage --skill build-run-debug -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install robinebers/openusage build-run-debug --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/robinebers/openusage.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/build-run-debug .gemini/skills/build-run-debug && 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 "build-run-debug" agent skill from https://github.com/robinebers/openusage/tree/main/.agents/skills/build-run-debug into .gemini/skills/build-run-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-run-debug", 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 robinebers/openusage build-run-debugInstalls 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 robinebers/openusage --skill build-run-debug -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/robinebers/openusage.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/build-run-debug .github/skills/build-run-debug && 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 "build-run-debug" agent skill from https://github.com/robinebers/openusage/tree/main/.agents/skills/build-run-debug into .github/skills/build-run-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-run-debug", 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 robinebers/openusage --skill build-run-debug -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install robinebers/openusage build-run-debug --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/robinebers/openusage.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/build-run-debug .opencode/skills/build-run-debug && 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 "build-run-debug" agent skill from https://github.com/robinebers/openusage/tree/main/.agents/skills/build-run-debug into .opencode/skills/build-run-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-run-debug", 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.
build-run-debugBuild, run, and debug local macOS apps and desktop executables using shell-first Xcode and Swift workflows.
Build Run Debug is an agent skill from robinebers/openusage. Build, run, and debug local macOS apps and desktop executables using shell-first Xcode and Swift workflows. Use when asked to build a Mac app, launch it, diagnose compiler or linker failures, inspect startup problems, or debug desktop-only runtime issues.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/build-script.md`).
It sits in Mobile, covering iOS development. It works with macOS, Xcode, Git and Swift. The repository describes itself as: Burning through your subscriptions too fast? Paying for stuff you never use? Stop guessing. OpenUsage is free and open source. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit cb21465. 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:
swiftgitxcodebuildFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, 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.
Build Run Debug loads about 1.8k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 905 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 robinebers/openusage at commit cb21465, republished under its MIT licence (© robinebers). 905 words, ~1,797 tokens.
.claude/skills/build-run-debug/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this skill to set up one project-local script/build_and_run.sh entrypoint,
then use that script as the default build/run path.
Prefer shell-first workflows:
./script/build_and_run.sh as the single kill + build + run entrypoint once it existsxcodebuild for Xcode workspaces or projectsswift build plus raw executable launch inside that script for true SwiftPM command-line toolsswift build plus project-local .app bundle staging and /usr/bin/open -n launch for SwiftPM AppKit/SwiftUI GUI appslldb, log stream, telemetry verification, or post-launch process checksDo not assume simulators, touch interaction, or mobile-specific tooling.
If an Xcode-aware MCP surface is already available and the user explicitly wants it, use it only where it fits. Keep that usage narrow and honest: prefer it for Xcode-oriented discovery, logging, or debugging support, and do not force simulator-specific workflows onto pure macOS tasks.
Discover the project shape.
git rev-parse --is-inside-work-tree.git init at the project/workspace root before building so git-backed editor features unlock. Never run git init inside a nested subdirectory when the current workspace already belongs to a parent repo..xcworkspace, .xcodeproj, and Package.swift.Resolve the runnable target and process name.
.app bundle for AppKit/SwiftUI GUI apps.Create or update script/build_and_run.sh.
--debug to launch under lldb or attach the debugger--logs to stream process logs after launch--telemetry to stream unified logs filtered to the app subsystem/category--verify to launch the app and confirm the process exists with pgrep -x <AppName>swift build, locate the artifact, then invoke an ad hoc run command.dist/<AppName>.app, copy the binary to Contents/MacOS/<AppName>, generate a minimal Contents/Info.plist with CFBundlePackageType=APPL, CFBundleExecutable, CFBundleIdentifier, CFBundleName, LSMinimumSystemVersion, and NSPrincipalClass=NSApplication, then launch with /usr/bin/open -n <bundle>.--logs and --telemetry, launch the bundle with /usr/bin/open -n first, then stream unified logs with /usr/bin/log stream --info ....references/build-script.md as the canonical source for the script shape. Do not fork a second authoritative snippet in another skill or command.script/build_and_run.sh, not in App/, Views/, Models/, Stores/, Services/, or Support/.Build and run through the script.
./script/build_and_run.sh../script/build_and_run.sh --debug, --logs, --telemetry, or --verify when the user asks for debugger/log/telemetry/process verification support.Summarize failures correctly.
Debug the right way.
--logs or --telemetry mode for config, entitlement, sandbox, and action-event verification.NSApp.setActivationPolicy(.regular) and NSApp.activate(ignoringOtherApps: true).--debug mode or direct lldb if symbolized crash debugging is needed.telemetry.Use Xcode-aware MCP tooling only when it helps.
find . -name '*.xcworkspace' -o -name '*.xcodeproj' -o -name 'Package.swift'xcodebuild -list -workspace <workspace>xcodebuild -list -project <project>./script/build_and_run.sh./script/build_and_run.sh --debug./script/build_and_run.sh --logs./script/build_and_run.sh --telemetry./script/build_and_run.sh --verifyreferences/build-script.md: canonical script/build_and_run.sh shapes for SwiftPM CLI tools and SwiftPM AppKit/SwiftUI GUI apps.build_and_run.sh script can own the workflow.Provide:
© robinebers, 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 (references) in .agents/skills/build-run-debug of robinebers/openusage.
Open the folder on GitHubat commit cb21465
Build Run Debug 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 |
|---|---|---|---|---|---|---|
| Build Run Debug this skillrobinebers/openusage | 4.3k | — | ~1.8k | Automated safety check: Pass | MIT | |
| macOS Spm App PackagingDimillian/Skills | 4k | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Build Afmscouzi1966/maclocal-api | 345 | — | ~1.8k | Automated safety check: Notes | MIT | |
| Bootstrap iOSRayFernando1337/rayfernando-skills | 130 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Swift Developmentaiskillstore/marketplace | 430 | — | ~1.8k | Automated safety check: Pass | None | |
| Orca iOS Simulator Controlstablyai/orca | 87k | 1 repos | ~584 | Automated safety check: Pass | Apache-2.0 |
Dimillian/Skills
Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project.
scouzi1966/maclocal-api
Build AFM from scratch — submodules, patches, webui, and Swift build.
RayFernando1337/rayfernando-skills
Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData/Core Data, Swift Testing, Xcode build/test/debug, Simulator, App Intents, or XcodeBuildMCP work.
aiskillstore/marketplace
Comprehensive Swift development for building, testing, and deploying iOS/macOS applications.
stablyai/orca
iOS Simulator control from inside Orca, with the live device view in Orca's emulator pane. Use when driving a booted Apple Simulator on macOS: taps, gestures…
dotnet/skills
Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server.
robinebers/openusage
Best practices and example-driven guidance for building native macOS SwiftUI scenes and components, including windows, commands, toolbars, settings, split views, inspectors, menu bar extras, and…
robinebers/openusage
Add and verify lightweight macOS runtime telemetry. An agent skill from robinebers/openusage.
robinebers/openusage
Cut a release of OpenUsage (Swift menu-bar app): pick a version, generate a categorized changelog, tag from main, and publish the GitHub Release with notes.
robinebers/openusage
Add lightweight runtime telemetry and debug instrumentation to macOS apps, then verify those events after building and running.
robinebers/openusage
Customize macOS 15+ SwiftUI windows and scene behavior using Window, WindowGroup, and macOS window modifiers.
robinebers/openusage
Decide when and how to bridge a macOS app from SwiftUI into AppKit.
Categories
Build, run, and debug local macOS apps and desktop executables using shell-first Xcode and Swift workflows. Build Run Debug is an agent skill from robinebers/openusage. Build, run, and debug local macOS apps and desktop executables using shell-first Xcode and Swift workflows.
Build Run Debug fits situations like: asked to build a Mac app; diagnose compiler; linker failures; inspect startup problems.
Run `npx skills add robinebers/openusage --skill build-run-debug -a claude-code`. Or copy the skill folder (.agents/skills/build-run-debug in robinebers/openusage) into .claude/skills/build-run-debug in your project. Claude Code loads it when a task matches its description.
Run `npx skills add robinebers/openusage --skill build-run-debug -a codex`. Or copy the skill folder (.agents/skills/build-run-debug in robinebers/openusage) into .agents/skills/build-run-debug 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 robinebers/openusage --skill build-run-debug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/build-run-debug, .gemini/skills/build-run-debug, .github/skills/build-run-debug and .opencode/skills/build-run-debug in your project.
Going by SKILL.md and its folder, Build Run Debug needs the command-line tools its instructions call (swift, git and xcodebuild).
SKILL.md contains no URLs. Its commands use git, 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.
Build Run Debug 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.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Build Run Debug: macOS Spm App Packaging (Dimillian/Skills, 4k stars), Build Afm (scouzi1966/maclocal-api, 345 stars), Bootstrap iOS (RayFernando1337/rayfernando-skills, 130 stars) and Swift Development (aiskillstore/marketplace, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
robinebers (a GitHub user) maintains it in robinebers/openusage, which has 4,333 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 6, 2026.
Source: robinebers/openusage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.