openusage: Skill for Claude Code

.agents/skills/build-and-run-macos-app/SKILL.md

build-and-run-macos-app is a skill for Claude Code from robinebers/openusage. It costs 54 tokens per session (464 once invoked), scanned A, original, MIT.

A project-local command for building and launching a macOS app from an Xcode project, workspace, or Swift package. It creates or updates a shell script used as the standard build-and-run entry point.

In plain words
What is it for?
Building, running, debugging, checking logs, collecting telemetry, and verifying macOS apps or command-line tools from a repository.
Why use it?
It keeps build and launch steps consistent and avoids repeatedly choosing the right Xcode or SwiftPM commands. It can also stop the old app before starting a newly built one.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is robinebers/openusage's own configuration. It tells Claude Code how to work on openusage itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openusage configures →

About the project

robinebers/openusage is a native macOS menu-bar application that tracks usage of AI coding subscriptions, including limits, credits, and spending. Developers use it to monitor plans from services such as Claude, Codex, Cursor, and Copilot, while the catalogue entries support related workflows.

robinebers/openusage · 4,079 stars · on GitHub · openusage.ai

Reuse

Borrowing it

Nothing to install: this file belongs to robinebers/openusage. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/robinebers/openusage/main/.agents/skills/build-and-run-macos-app/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/robinebers/openusage

Made for: Claude Code.

Wrote 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.

agentmods badge for build-and-run-macos-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/robinebers/openusage/build-and-run-macos-app/github.svg)](https://agentmods.dev/skills/robinebers/openusage/build-and-run-macos-app)
Your own site
<a href="https://agentmods.dev/skills/robinebers/openusage/build-and-run-macos-app"><img src="https://agentmods.dev/badge/skills/robinebers/openusage/build-and-run-macos-app/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.

agentmods 80×15 button for build-and-run-macos-app

Your own site · 80×15
<a href="https://agentmods.dev/skills/robinebers/openusage/build-and-run-macos-app"><img src="https://agentmods.dev/badge/skills/robinebers/openusage/build-and-run-macos-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 464 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00464
Opus 5 $0.00027 $0.00232
Sonnet 5 $0.00011 $0.00093
Haiku 4.5 $0.00005 $0.00046

Measured 10d ago against content hash d8b9dc9cdd13, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

build-and-run-macos-app scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/build-and-run-macos-app/SKILL.md · 36 lines

What it actually says

Build And Run macOS App

Create or update the project-local macOS build_and_run.sh script, then use that script as the default build/run entrypoint.

Arguments

  • scheme: Xcode scheme name (optional)
  • workspace: path to .xcworkspace (optional)
  • project: path to .xcodeproj (optional)
  • product: SwiftPM executable product name (optional)
  • mode: run, debug, logs, telemetry, or verify (optional, default: run)
  • app_name: process/app name to stop before relaunching (optional)

Workflow

  1. Detect whether the repo uses an Xcode workspace, Xcode project, or SwiftPM package.
  2. If the workspace is not inside git yet, run git init at the project root so git-backed editor features unlock.
  3. Create or update script/build_and_run.sh so it always stops the current app, builds the macOS target, and launches the fresh result.
  4. For SwiftPM, keep raw executable launch only for true CLI tools; for AppKit/SwiftUI GUI apps, create a project-local .app bundle and launch it with /usr/bin/open -n.
  5. Support optional script flags for --debug, --logs, --telemetry, and --verify.
  6. Follow the canonical bootstrap contract in ../build-run-debug/references/build-script.md for the exact script shape.
  7. Run the script in the requested mode and summarize any build, script, or launch failure.

Guardrails

  • Do not initialize a nested git repo inside an existing parent checkout.
  • Keep the no-flag script path simple: kill, build, run.
  • Use --debug, --logs, --telemetry, or --verify only when the user asks for those modes.
Changes

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.

  1. 10d ago First seen · 36 lines · 54 tokens per session scan A d8b9dc9cdd13

Subscribe to this mod's changes

build-and-run-macos-app is a skill published in the GitHub repository robinebers/openusage (4,079 stars, last pushed 3d ago), licensed MIT. It adds 54 tokens to every session and 464 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

godot-adapt-desktop-to-mobile

Expert patterns for porting desktop games to mobile including touch control schemes (virtual joystick, gesture detection), UI scaling for small screens, performance optimization for mobile GPUs, battery life management, and platform-specific features. Use when creating mobile ports or cross-platform mobile builds.…

bgrenat/godot-game-dev-studio · 101 tokens

godot-prompter-mobile-development

Imported GodotPrompter guidance for mobile-development workflows in game development projects.

bgrenat/godot-game-dev-studio · 24 tokens

godot-platform-mobile

Expert blueprint for mobile platforms (Android/iOS) covering touch controls, virtual joysticks, responsive UI, safe areas (notches), battery optimization, and app store guidelines. Use when targeting mobile releases or implementing touch input. Keywords mobile, Android, iOS, touch, InputEventScreenTouch, virtual…

bgrenat/godot-game-dev-studio · 79 tokens

hig-technologies

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

aboalrejal-ai/skills · 30 tokens

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens

threejs-geometry

Three.js geometry creation - built-in shapes, BufferGeometry, custom geometry, instancing. Use when creating 3D shapes, working with vertices, building custom meshes, or optimizing with instanced rendering.

calesthio/OpenMontage · 46 tokens