Multiplex: Skill for Claude Code

.agents/skills/build-and-verify/SKILL.md

build-and-verify is a skill for Claude Code, Codex from multiplex-term/Multiplex. It costs 176 tokens per session (2,112 once invoked), scanned A, original, Apache-2.0.

A build and testing workflow for Multiplex, a SwiftUI SSH terminal app that runs on visionOS and iPadOS. It provides standard commands for compiling, testing, regenerating the Xcode project, and checking the app end to end.

In plain words
What is it for?
It helps regenerate the Xcode project, build for Vision Pro or iPad simulators, run unit tests, perform end-to-end checks, and test mosh interoperability.
Why use it?
It gives developers one repeatable way to verify changes without rewriting platform-specific build commands.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

This is multiplex-term/Multiplex's own configuration. It tells Claude Code and Codex how to work on Multiplex 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 Multiplex configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./Tools/build.sh gen # regenerate the Xcode project (XcodeGen).

Reuse

Borrowing it

Nothing to install: this file belongs to multiplex-term/Multiplex. 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/multiplex-term/Multiplex/main/.agents/skills/build-and-verify/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/multiplex-term/Multiplex

Made for: Claude Code, Codex.

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-verify

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/multiplex-term/multiplex/build-and-verify"><img src="https://agentmods.dev/badge/skills/multiplex-term/multiplex/build-and-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,112 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.00176 $0.02112
Opus 5.5 $0.00070 $0.00845
Sonnet 5.5 $0.00035 $0.00422
Haiku 4.5 $0.00018 $0.00211

Measured 2mo ago against content hash 3104c4567a72, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

build-and-verify 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.

.agents/skills/build-and-verify/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build & Verify Multiplex

Multiplex is a SwiftUI SSH terminal for visionOS (primary) and iPadOS, built around remote tmux. Tools/build.sh is the single entry point for every build/ test/verify task — it encodes the destinations, the shared DerivedData path, and the headless verification recipe so callers don't reinvent (or subtly break) them. Prefer it over hand-writing xcodebuild lines.

Architecture and design context live in CLAUDE.md at the repo root — read that if the task touches app structure, not just the build.

The entry point

Run everything through Tools/build.sh from the repo root:

./Tools/build.sh gen                 # regenerate the Xcode project (XcodeGen)
./Tools/build.sh build [vos|ipad]    # build one platform (default: vos)
./Tools/build.sh test  [vos|ipad]    # run MultiplexTests unit tests
./Tools/build.sh verify [vos|ipad]   # build + install + drive end-to-end
./Tools/build.sh interop             # real mosh-server wire/session proof
./Tools/build.sh all                 # gen + build both platforms + test

vos = visionOS simulator (Apple Vision Pro), ipad = iPad Pro 13-inch (M5). visionOS is the primary target — default to it unless the task is iPad-specific.

When to regenerate the project first

The .xcodeproj is generated by XcodeGen and git-ignored — never edit it by hand. Run ./Tools/build.sh gen (or xcodegen generate) after any of:

  • editing project.yml
  • adding, removing, or renaming source files under Multiplex/ or MultiplexTests/
  • changing a vendored package's manifest under Vendor/

If a build fails with "file not found" for a source you know exists, or a new type is "unresolved", a stale project is the usual cause — regenerate and retry before debugging further.

Building

./Tools/build.sh build vos     # or: ipad

Two things that will bite you if you bypass the script:

  • Shared DerivedData. Both platforms build into ./DerivedData (matches .gitignore). The build database locks, so never run a visionOS and an iPad build concurrently against it — they collide with a "database is locked" error. Run them in sequence. The script does one platform per invocation for this reason.
  • First build resolves vendored packages. Vendor/swift-nio-ssh and Vendor/SwiftTerm are local same-identity overrides (see CLAUDE.md for why). After gen or a clean, the first build re-resolves the whole package graph and is slow; subsequent builds are incremental. Don't mistake the slow first build for a hang.

Read the full file on GitHub · 182 lines

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. 2mo ago First seen · 182 lines · 176 tokens per session scan A 3104c4567a72

Subscribe to this mod's changes

build-and-verify is a skill published in the GitHub repository multiplex-term/Multiplex (15 stars, last pushed today), licensed Apache-2.0. It adds 176 tokens to every session and 2,112 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

swift-testing

Write, review, or migrate Swift unit tests using Swift Testing, while preserving XCTest/XCUITest where their APIs are still required. Use for test design, async behavior, traits, parameterization, migration boundaries, and version-gated testing APIs.

thiennc-tesoglobal/ios-skills · 52 tokens

maui-unit-testing

Add MAUI app tests around ViewModels, services, platform abstractions, and unit/integration/device boundaries. USE FOR: xUnit, avoiding MauiProgram.CreateMauiApp in unit tests, fakes/mocks, injectable Essentials interfaces, PlatformNotSupportedException, navigation/data services, AppProjectReference, device-test…

dotnet/maui-labs · 84 tokens

ios-testing

Invoke any time a user is writing iOS/Swift tests or asking why tests behave a certain way — including XCTest versus Swift Testing (@Test/#expect) choices, async ViewModel tests with @Observable or @Published, snapshot testing across device sizes, mocking protocols for dependency injection, setUp/tearDown lifecycle…

rusel95/ios-agent-skills · 134 tokens

astrolabe

Use when inspecting a running mobile app UI or reviewing whether an implementation matches supplied design references.

regulusleow/astrolabe · 22 tokens

ios-testing

Testing patterns for Swift and SwiftUI apps.

TalissonVitorino/kmp-ios-skills · 69 tokens

xcforge

Complete reference for xcforge — 104 MCP tools (114 with the diagnose group) + 113 CLI commands for iOS development. Covers build, test, simulator, physical devices, SPM, UI automation, screenshots, logs, git, visual regression, accessibility, localization, session profiles, diagnosis workflows, plan execution, LLDB…

justinthevoid/xcforge · 140 tokens