mcp-builder

mcp-builder is a skill for Claude Code, Codex from clivejefferies/mobile-debug-tools. It costs 0 tokens per session (870 once invoked), scanned A, original, Apache-2.0.

A set of procedures for building, installing, testing, and diagnosing Android and iOS apps in a specific repository. It includes steps for detecting the available development tools and collecting diagnostics.

In plain words
What is it for?
Use it to detect the toolchain, build or install Android and iOS apps, run lint checks and tests, and gather reproducible failure details.
Why use it?
It gives coding agents a consistent way to handle mobile builds and installations, including common toolchain and device problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to detect the toolchain, build or install Android and iOS apps, run lint checks and tests, and gather reproducible failure details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clivejefferies/mobile-debug-tools/mcp-builder
Install

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.

Any agent
npx skills add clivejefferies/mobile-debug-tools --skill mcp-builder
Clone the repo
git clone --depth 1 https://github.com/clivejefferies/mobile-debug-tools

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 mcp-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/clivejefferies/mobile-debug-tools/mcp-builder/github.svg)](https://agentmods.dev/skills/clivejefferies/mobile-debug-tools/mcp-builder)
Your own site
<a href="https://agentmods.dev/skills/clivejefferies/mobile-debug-tools/mcp-builder"><img src="https://agentmods.dev/badge/skills/clivejefferies/mobile-debug-tools/mcp-builder/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 mcp-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/clivejefferies/mobile-debug-tools/mcp-builder"><img src="https://agentmods.dev/badge/skills/clivejefferies/mobile-debug-tools/mcp-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 870 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.00870
Opus 5.5 $0.00000 $0.00348
Sonnet 5.5 $0.00000 $0.00174
Haiku 4.5 $0.00000 $0.00087

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

Security

Grade A, and why

mcp-builder scanned grade A with 1 finding 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 20d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Provide unit tests under test/skills/mcp-builder that mock child_process to validate happy/failure paths.
skills/mcp-builder/SKILL.md · 68 lines

How it starts

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

MCP Builder skill

name: mcp-builder version: 0.1.0 summary: Reusable procedures for building, validating and installing Android/iOS apps in this repo. Designed for agents to act autonomously with project-specific guidance.

Purpose

Provide concise, actionable procedures and schemas that encode the successful sequences used in mobile-debug-mcp: toolchain detection, build orchestration, install fallbacks, diagnostics collection, and verification (lint/tests). Keep core guidance short; link to references for details.

Activation conditions

Activate when an agent needs to:

  • build or install an app from this repository
  • diagnose failing CI/dev machine builds
  • run lint/tests and collect reproducible diagnostics

Surface area (actions)

  • detect-toolchain
  • build-android
  • install-android
  • build-ios
  • install-ios
  • run-lint
  • run-tests
  • collect-diagnostics

Core guidance (what agent must do)

  1. Prefer project conventions and existing helpers in src/utils and src/manage.
  2. Use detect-toolchain to decide JAVA_HOME/JBR preference and whether adb/idb/xcrun are available.
  3. For Android builds, call prepareGradle() to prepare child PATH and env, then run ./gradlew (wrapper) if present.
  4. For installs, parse adb output defensively (ignore streamed-install noise) and on failure fall back to push+pm path.
  5. For iOS installs, prefer simctl for simulators; if simctl fails check idb and attempt idb install with diagnostics.
  6. On any error, call collect-diagnostics and attach env snapshot, invoked commands, stdout/stderr, and suggested fixes.

Inputs & outputs (short schemas)

  • detect-toolchain(input: { platform: 'android'|'ios'|'both', preferJBR?: boolean }) -> { tools: [{name, cmd, ok, version, suggestion}] }
  • build-android(input: { projectPath, variant?, clean?, envOverrides? }) -> { success, artifactPath?, logs?, diagnostics? }
  • install-android(input: { appPath, projectPath?, deviceId?, allowBuild? }) -> { installed:boolean, device, output?, diagnostics? }
  • build-ios/install-ios: mirror Android schema but use scheme/workspace/project and resultBundlePath
  • run-lint/run-tests -> { exitCode, stdout, stderr, artifacts[] }
  • collect-diagnostics(input: { reason, platform? }) -> { artifacts: [{ name, contentBase64?, path? }], envSnapshot }

Read the full file on GitHub · 68 lines

Files

What ships with it

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

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. 20d ago Changed · -1 lines ddfd68cd2595
  2. 1mo ago First seen · 69 lines · 0 tokens per session scan A 7e942f41ab62

Subscribe to this mod's changes

mcp-builder is a skill published in the GitHub repository clivejefferies/mobile-debug-tools (14 stars, last pushed 13d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 870 tokens. A static security scan graded it A with 1 finding (runs shell commands). 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

ipaship-audit

Use when auditing iOS/Android app submissions for compliance with Apple App Store Review Guidelines or Google Play Developer Policies. Scan .ipa, .apk, or .zip files against official store policies, generate structured compliance reports, and identify violations with remediation steps.

atharvnaik1/ipaship-audit · 57 tokens

argent-device-interact

Interact with an iOS simulator, Android emulator, or Chromium (CDP) app using argent MCP tools. Use when tapping UI elements, performing gestures, scrolling/swiping, typing text, pressing hardware buttons, launching apps, opening URLs, taking screenshots, waiting for an element to appear or disappear, or checking…

software-mansion/argent · 78 tokens

argent-settings-permissions

Grant, deny, or reset an app's runtime permissions (camera, microphone, photos, contacts, notifications, calendar, location, location-always, media-library, motion, reminders) on an iOS simulator or Android device using the argent settings-permissions tool - without navigating the system Settings UI. Use when the…

software-mansion/argent · 140 tokens

argent-metro-debugger

Debug a JS runtime via CDP using argent debugger tools. Primary path is React Native via Metro (iOS / Android / Vega); a subset of the tools (debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry) also drive a Chromium (CDP) app's renderer (an Electron app, or any Chromium browser exposing CDP)…

software-mansion/argent · 104 tokens

argent-react-native-optimization

Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to argent-react-native-profiler for measurement.

software-mansion/argent · 71 tokens

mobile-automation

Control Android and iOS devices, emulators and simulators — launch apps, tap, swipe, type, take screenshots, read the accessibility tree. Use when a task involves a mobile device or app, mobile UI testing, or reproducing a bug on a phone.

mobile-next/mobile-mcp · 58 tokens