jailbreak-construction

Construct and validate MobileGym jailbreak tasks from JSON definitions.

2|Updated Jul 7, 2026
One-click install
npx skills add https://github.com/DeepSota/MobileJail --skill jailbreak-construction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jailbreak-construction
Source: https://github.com/DeepSota/MobileJail/tree/main/Z-Jailbreak_Construction_SKILL
Command: npx skills add https://github.com/DeepSota/MobileJail --skill jailbreak-construction

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, runtime, bench_env, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the construction and validation of MobileGym jailbreak tasks, streamlining the creation of adversarial benchmarks for mobile agents.

Core Features & Use Cases

  • Task Construction: Build runnable MobileGym jailbreak tasks from task definitions in task.json.
  • Offline Testing: Generate and execute offline judge tests for task validation.
  • Validation: Ensure tasks adhere to specifications and generate accurate results.

Quick Start

Run the jailbreak-construction skill to construct tasks from the 'Z-越狱构建/task.json' file.

Frequently Asked Questions about jailbreak-construction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I construct MobileGym jailbreak tasks from JSON definitions?

Yes, you can validate MobileGym jailbreak tasks by generating and executing offline judge tests. This ensures constructed tasks strictly adhere to JSON specifications and produce accurate execution results for adversarial benchmarking.

What Python environment is required for MobileGym jailbreak task construction?

MobileGym jailbreak task construction requires Python version 3.11 or higher. You must also install specific libraries and dependencies like pytest, runtime, and bench_env to properly execute task validation and offline testing.

How does offline testing work for MobileGym adversarial benchmarks?

Offline testing for MobileGym adversarial benchmarks works by generating judge tests that execute locally to validate task definitions. This mechanism verifies that constructed jailbreak tasks run correctly and meet expected specifications before deployment.

Can I use pytest to validate MobileGym jailbreak task definitions?

Yes, you can use pytest to validate MobileGym jailbreak task definitions. The skill leverages pytest along with the runtime and bench_env dependencies to execute offline judge tests and ensure accurate task validation results.

What are the limitations of automating jailbreak task construction for mobile agents?

Automating jailbreak task construction is limited to processing valid JSON definitions and requires a strict Python 3.11 environment with pytest, runtime, and bench_env dependencies. It cannot construct tasks from malformed definitions or unsupported formats.