Borrowing it
Nothing to install: this file belongs to oozoofrog/mcp-baepsae. 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/oozoofrog/mcp-baepsae/main/CLAUDE.mdgit clone --depth 1 https://github.com/oozoofrog/mcp-baepsaeWrote 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/instructions/oozoofrog/mcp-baepsae/claude-md)<a href="https://agentmods.dev/instructions/oozoofrog/mcp-baepsae/claude-md"><img src="https://agentmods.dev/badge/instructions/oozoofrog/mcp-baepsae/claude-md.svg" alt="Measured on agentmods" 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.01477 | $0.01477 |
| Opus 5 | $0.00739 | $0.00739 |
| Sonnet 5 | $0.00295 | $0.00295 |
| Haiku 4.5 | $0.00148 | $0.00148 |
Grade A, and why
mcp-baepsae CLAUDE.md 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What This Is
mcp-baepsae is a local MCP (Model Context Protocol) server for iOS Simulator and macOS app automation. It has two layers:
- TypeScript MCP layer (
src/) — exposes 32 MCP tools, validates inputs via Zod, spawns child processes. Entry point issrc/index.ts; tools are registered insrc/tools/*.tsmodules. - Swift native bridge (
native/) — a CLI binary (baepsae-native) that uses AppKit/CoreGraphics/Accessibility APIs for UI automation. Entry point isnative/Sources/main.swift; command handlers are innative/Sources/Commands/*.swift.
The TS layer is the MCP surface; it delegates to either the native binary or xcrun simctl depending on the command.
Build & Test Commands
npm run build # TypeScript (tsc) + Swift (release) build
npm run build:ts # TypeScript only
npm run build:native # Swift only: swift build --package-path native -c release
npm test # Build + contract tests (no simulator needed)
npm run test:real # Build + real simulator smoke tests (requires booted simulator)
npm run test:e2e # Build sample app + real tests
npm run verify # test + test:real
Single test file: node --test tests/mcp.contract.test.mjs
Architecture
TypeScript MCP layer (src/)
src/index.ts— Entry point:--versionflag, MCP server setup, imports and callsregisterXxxTools()from each tool modulesrc/types.ts— Shared TypeScript interfaces (ToolTextResult,CommandExecutionOptions, etc.)src/utils.ts— Shared utilities and constants:resolveNativeBinary()— finds the native binary (env overrideBAEPSAE_NATIVE_PATH→ bundled → release → debug fallback)executeCommand()— process spawn with timeout, SIGINT→SIGTERM escalation, stdout/stderr capturerunNative()/runSimctl()— bridge MCP tools to native CLI orxcrun simctltoToolResult()— normalizes output into{ content: text[], isError: boolean }shape
src/tools/— Tool registration modules, each exports aregisterXxxTools(server)function:info.ts— baepsae_help, baepsae_version, list_apps, get_focused_appsimulator.ts— list_simulators, open_url, install_app, launch_app, terminate_app, uninstall_appui.ts— analyze_ui, query_ui, tap, type_text, swipe, scroll, drag_dropinput.ts— key, key_sequence, key_combo, button, touch, gesturemedia.ts— stream_video, record_video, screenshotsystem.ts— list_windows, activate_app, screenshot_app, right_click, menu_action, clipboard
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.
- 7d ago First seen · 112 lines · 1,477 tokens per session scan A ec076d48d24b
mcp-baepsae CLAUDE.md is an instructions file published in the GitHub repository oozoofrog/mcp-baepsae (26 stars, last pushed 5mo ago), licensed MIT. It adds 1,477 tokens to every session, about $0.0074 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.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.