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 agentmods add skills/clivejefferies/mobile-debug-tools/mcp-buildernpx skills add clivejefferies/mobile-debug-tools --skill mcp-buildergit clone --depth 1 https://github.com/clivejefferies/mobile-debug-toolsWhat 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 | $0.00000 | $0.00866 |
| Opus 5 | $0.00000 | $0.00433 |
| Sonnet 5 | $0.00000 | $0.00173 |
| Haiku 4.5 | $0.00000 | $0.00087 |
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 2d 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. How it starts
The opening of the file, as written. The whole thing — 69 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)
- Prefer project conventions and existing helpers in src/utils and src/manage.
- Use detect-toolchain to decide JAVA_HOME/JBR preference and whether adb/idb/xcrun are available.
- For Android builds, call prepareGradle() to prepare child PATH and env, then run ./gradlew (wrapper) if present.
- For installs, parse adb output defensively (ignore streamed-install noise) and on failure fall back to push+pm path.
- For iOS installs, prefer simctl for simulators; if simctl fails check idb and attempt idb install with diagnostics.
- 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 }
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.
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.
- 2d ago First seen · 69 lines · 0 tokens per session scan A 7e942f41ab62
mcp-builder is a skill published in the GitHub repository clivejefferies/mobile-debug-tools (7 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 866 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.
Other skills, from other repositories
byted-ai-mobileuse-agent
Skill "byted-ai-mobileuse-agent" from bytedance/agentkit-samples, covering mobile use agent (execution), python dependencies, input, output and local usage.
mobiai-mobile-executing-plans-with-subagents
ALWAYS invoke this when executing a mobile implementation plan in the current session with subagent support available. Drives fresh-subagent-per-task execution with mandatory two-stage review; do not hand-execute plan tasks in-session when this workflow applies.
mobiai-mobile-parallel-agents
ALWAYS invoke this before dispatching agents for two or more independent mobile problems (unrelated failures, separate subsystems, disjoint investigations). Do not spawn parallel agents ad hoc — this skill defines how to isolate their context and scope.
flutter-mcp-toolkit-custom-tools
Use this skill when the agent exposes app-specific surfaces by registering custom MCP tools and resources inside the Flutter app (mcptoolkit dynamic registry — AgentCallEntry, bootstrapFlutter additionalEntries / addEntries). Covers tool vs resource vs evaluate-expression, Map-based handlers, schema strictness…
maui-ai-tool-bindings
Use Microsoft.Maui.AI.Attributes to source-generate Microsoft.Extensions.AI tools for MAUI apps. USE FOR: ExportAIFunction, AIToolSource, AIToolContext, Default.Tools, DI-bound parameters, chat-session scopes, AOT-safe tools, and IChatClient.UseFunctionInvocation. DO NOT USE FOR: Essentials.AI chat or embeddings…
clawmobile-trace-induction
Record or summarize a ClawMobile demonstration and save a validated reusable skill candidate draft.