Borrowing it
Nothing to install: this file belongs to DebugSwift/XcodeBazelMCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/DebugSwift/XcodeBazelMCP/main/.agents/skills/cli-development/SKILL.mdgit clone --depth 1 https://github.com/DebugSwift/XcodeBazelMCPWrote 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/skills/debugswift/xcodebazelmcp/cli-development)<a href="https://agentmods.dev/skills/debugswift/xcodebazelmcp/cli-development"><img src="https://agentmods.dev/badge/skills/debugswift/xcodebazelmcp/cli-development/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/skills/debugswift/xcodebazelmcp/cli-development"><img src="https://agentmods.dev/badge/skills/debugswift/xcodebazelmcp/cli-development.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.00034 | $0.00556 |
| Opus 5.5 | $0.00014 | $0.00222 |
| Sonnet 5.5 | $0.00007 | $0.00111 |
| Haiku 4.5 | $0.00003 | $0.00056 |
Grade A, and why
cli-development 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 2mo 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.
What it actually says
CLI Development
Conventions
- Positional arg is the target/path/bundleId. Flags use
--kebab-case. - Repeatable flags (
--arg,--config,--launch-arg,--startup-arg) accumulate into arrays viaappend()helper. printToolis the universal CLI→MCP bridge: callscallBazelTool, prints text content, setsprocess.exitCodeon error.ToolContentis a union type ({ type: 'text'; text } | { type: 'resource'; ... }). UseextractText()helper to safely map to.text.
File Layout
| File | Responsibility |
|---|---|
src/cli.ts |
Thin dispatcher (~400 lines) |
src/cli/parsers.ts |
48 parse functions (~730 lines) |
src/cli/commands.ts |
runUpgrade, runDaemon, etc. (~240 lines) |
src/cli/help.ts |
printHelp (~160 lines) |
Streaming
--streamflag on build/test/clean/query usescallBazelToolStreamingwhich pipes chunks directly toprocess.stdout.write.- MCP streaming uses
notifications/progresswithprogressTokenfrom the client's_meta. - Structured output:
toolResult()returns bothcontent(human-readable) andstructuredContent(machine-parseable JSON withexitCode,command,output,target).
Log Streaming
log-startin CLI mode streams directly to stdout viaspawn('xcrun', [...], { stdio: ['ignore', 'inherit', 'inherit'] })— stops on Ctrl+C.- The MCP
log_capture_start/log_capture_stoppair uses in-memory capture (server stays alive between calls). sim-appearanceaccepts both--appearance darkflag anddarkas a positional arg.
Session Defaults
- Session defaults are in-memory per process — don't persist across CLI invocations (each
node dist/cli.jsis a new process). - In MCP server mode, they persist for the session.
- Profiles loaded from
config.yamlunderprofiles:key.activateProfilemerges profile defaults into session defaults. loadConfigFile()is lazy — called only once via aconfigLoadedguard.
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.
- 2mo ago First seen · 45 lines · 34 tokens per session scan A 921b89e50888
cli-development is a skill published in the GitHub repository DebugSwift/XcodeBazelMCP (8 stars, last pushed 3mo ago), licensed MIT. It adds 34 tokens to every session and 556 once invoked, about $0.0001 per session on Opus 5.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-31.
Other skills, from other repositories
cli-anything-nslogger
CLI harness for NSLogger — parse, filter, export, and monitor NSLogger log files (.rawnsloggerdata / .nsloggerdata).
benchmark
Run performance + quality benchmarks. ASR reports WER, RTF, process memory, and throughput across engines/variants. Arguments include asr, tts, vad, diarize, asr-quick.
review-pr
Review a pull request for conceptual fit, architecture impact, adversarial failure modes, security risk, docs impact, regression risk, test coverage, and merge readiness. Use when asked to review a PR, check whether a PR is safe to merge, decide if more tests are needed, perform adversarial or security review, or…
swift-expert
Expert-level Swift development for iOS, macOS with SwiftUI, Combine, and modern Swift 5.9+. Use when the user mentions iOS, macOS, SwiftUI, Combine, async await, or Apple platforms, or when the task involves Modern Swift Features, Basics and Optionals, Functions and Closures, or Structs and Classes.
boutique-best-practices
Best practices for using Boutique with Swift 6 concurrency, @Observable, @ObservationIgnored, Sendable conformance, testing with preview stores, and dependency injection. Use when troubleshooting Boutique issues, migrating to Swift 6, or setting up tests.
boutique-swiftui
Integrate Boutique with SwiftUI views using onChange, onStoreDidLoad, bindings, and preview stores. Use when building SwiftUI views that display or react to Boutique-persisted data.