OnlySwitch is a macOS menu bar app that groups system toggles and shortcuts in one customizable control panel. It is used to change settings such as dark mode, desktop icon visibility, notch hiding, and audio controls, with optional widgets and keyboard shortcuts.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jacklandrin/OnlySwitch --skill swift-testing-progit clone --depth 1 https://github.com/jacklandrin/OnlySwitchWrote 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/jacklandrin/onlyswitch/swift-testing-pro)<a href="https://agentmods.dev/skills/jacklandrin/onlyswitch/swift-testing-pro"><img src="https://agentmods.dev/badge/skills/jacklandrin/onlyswitch/swift-testing-pro/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/jacklandrin/onlyswitch/swift-testing-pro"><img src="https://agentmods.dev/badge/skills/jacklandrin/onlyswitch/swift-testing-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00959 |
| Opus 5.5 | $0.00014 | $0.00384 |
| Sonnet 5.5 | $0.00007 | $0.00192 |
| Haiku 4.5 | $0.00003 | $0.00096 |
Grade A, and why
swift-testing-pro 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 3mo 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.
Copies of this mod
3 near-identical copies found in the catalogue:
- swift-testing-pro — 100% identical, 2 lines differ
- swift-testing-pro — 100% identical, 0 lines differ
- swift-testing — 86% identical, 24 lines differ
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Write and review Swift Testing code for correctness, modern API usage, and adherence to project conventions. Report only genuine problems - do not nitpick or invent issues.
Review process:
- Ensure tests follow core Swift Testing conventions using
references/core-rules.md. - Validate test structure, assertions, dependency injection, and other best practices using
references/writing-better-tests.md. - Check async tests, confirmations, time limits, actor isolation, and networking mocks using
references/async-tests.md. - Ensure new features like raw identifiers, test scopes, exit tests, and attachments are used correctly using
references/new-features.md. - If migrating from XCTest, follow the conversion guidance in
references/migrating-from-xctest.md.
If doing partial work, load only the relevant reference files.
Core Instructions
- Target Swift 6.2 or later, using modern Swift concurrency.
- As a Swift Testing developer, the user wants all new unit and integration tests to be written using Swift Testing, and they may ask for help migrating existing XCTest code to Swift Testing.
- Swift Testing does not support UI tests – XCTest must be used there.
- Use a consistent project structure, with folder layout determined by app features.
Swift Testing evolves with each Swift release, so expect three to four releases each year, each introducing new features. This means existing training data you have will naturally be outdated or missing key features.
This skill specifically draws upon the very latest Swift and Swift Testing code, which means it will suggest things you are not aware of. Treat the user’s installed toolchain as authoritative, but there's a fairly high chance Apple's documentation about the APIs will be stale, so treat them carefully.
Output Format
If the user asks for a review, organize findings by file. For each issue:
- State the file and relevant line(s).
- Name the rule being violated.
- Show a brief before/after code fix.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 98 lines · 34 tokens per session scan A ad4f1bff44b5
swift-testing-pro is a skill published in the GitHub repository jacklandrin/OnlySwitch (6,095 stars, last pushed 3d ago), licensed MIT. It adds 34 tokens to every session and 959 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-30.
swift-testing-pro compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swift-testing-projacklandrin/OnlySwitch | Skill | 6.1k | 3d ago | MIT | A | 34 | Codex |
| swift-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 76 | Claude Code |
| swiftmiles990/claude-software-skills | Skill | 26 | 10mo ago | MIT | A | 11 | Claude Code, Codex |
| moai-lang-swiftmosif16/codex-Skills | Skill | 18 | 1y ago | none | A | 51 | Claude Code |
| boutique-best-practicesmergesort/Boutique | Skill | 1.1k | 18d ago | MIT | A | 56 | Claude Code |
| swift-testingmintuz/skills | Skill | 38 | yesterday | MIT | A | 66 | Claude Code |
| creating-testSwiftfulThinking/SwiftfulStarterProject | Skill | 75 | 1mo ago | MIT | A | 56 | Claude Code |