Agent skill

Morphe CLI Reference

by Paresh-Maheshwari in Paresh-Maheshwari/morphe-ai

Morphe CLI v1.17.0 (morphe-desktop) complete command reference — patch, list-patches, list-versions, options-create, utility install/uninstall.

GPL-3.0Auto-check passedMobile

Install Morphe CLI Reference

skills CLI
$ npx skills add Paresh-Maheshwari/morphe-ai --skill morphe-cli-reference -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Paresh-Maheshwari/morphe-ai morphe-cli-reference --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Paresh-Maheshwari/morphe-ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.kiro/skills/cli-reference .claude/skills/morphe-cli-reference && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
morphe-cli-reference
GitHub stars
175
Token cost
~2.9k tokens
SKILL.md length
820 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
GPL-3.0

At a glance

Morphe CLI v1.17.0 (morphe-desktop) complete command reference — patch, list-patches, list-versions, options-create, utility install/uninstall.

  • Running CLI commands
  • SKILL.md covers Signing Key, Split APK Support, Getting the MPP path and patch — Patch an APK, plus 7 more sections
  • Calls java; reaches github.com and gitlab.com
  • Testing patches

What it does

Morphe CLI Reference is an agent skill from Paresh-Maheshwari/morphe-ai. Morphe CLI v1.17.0 (morphe-desktop) complete command reference — patch, list-patches, list-versions, options-create, utility install/uninstall. Use when running CLI commands, testing patches, or troubleshooting CLI usage.

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile. The repository describes itself as: Morphe's AI-powered Android APK patching workspace — multi-agent pipeline for APK analysis, target hunting, patch writing & deployment. The licence is GPL-3.0.

When your agent uses it

  • Running CLI commands
  • Testing patches
  • Troubleshooting CLI usage

Example prompts

  • “/morphe-cli-reference”

What it can do on your machine

Read from SKILL.md and the folder at commit 2d7fde2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • java

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com
    • gitlab.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Morphe CLI Reference loads about 2.9k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 820 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Paresh-Maheshwari/morphe-ai at commit 2d7fde2, republished under its GPL-3.0 licence (© Paresh-Maheshwari). 820 words, ~2,900 tokens.

Download SKILL.mdSave it as .claude/skills/morphe-cli-reference/SKILL.md (or your agent's skills folder).
name
morphe-cli-reference
description
Morphe CLI v1.17.0 (morphe-desktop) complete command reference — patch, list-patches, list-versions, options-create, utility install/uninstall. Use when running CLI commands, testing patches, or troubleshooting CLI usage.

When to use: User wants to run CLI commands — patching, listing, installing, testing. Always resolve MPP path from gradle.properties version first. Output patched APKs to analysis/<app>/builds/. Use -f for split APK base.apk or bundle files.

Morphe CLI v1.17.0 Reference

  • CLI jar: morphe-cli.jar (symlink at project root, run ./setup-cli.sh to download)
  • Upstream repo: MorpheApp/morphe-desktop
  • Runtime requirement: JRE 21+
  • Data root: normally morphe-data/ beside the real jar; writable MORPHE_DATA_DIR wins, with the documented home/XDG fallback when jar-adjacent storage is unavailable. Downloaded bundles are under patches/; logs, scratch files, and default morphe.keystore live in the same root.
  • MPP path: always resolve from gradle.properties version (see below)

Signing Key

The CLI signs by default with the resolved data-root morphe.keystore; no extra flag is needed. That key is stable for desktop runs but is not automatically the same key stored on a phone. Export/import the key or use the same custom --keystore when Desktop and Manager must share a signing identity.

Custom BKS, PKCS12, and JKS inputs are byte-sniffed. PKCS12/JKS are converted to a separate BKS working copy; the source is never modified.

bash
# Stable desktop default key
java -jar morphe-cli.jar patch -p patches.mpp -o out.apk input.apk

# Explicit shared/custom key
java -jar morphe-cli.jar patch -p patches.mpp \
  --keystore my.keystore --keystore-password secret \
  -o out.apk input.apk

Split APK Support

The CLI auto-detects and merges complete split containers:

FormatExtension
Standard complete APK.apk
XAPK container.xapk
APKM container.apkm
APKS container.apks

Pass the complete container when one exists. An extracted base APK is useful for analysis but cannot supply omitted split resources, code, or native libraries.

Getting the MPP path

Always use this pattern to get the exact MPP file:

bash
PATCHES_DIR="${MORPHE_PATCHES_DIR:-morphe-patches}"
VER=$(grep "^version" "${PATCHES_DIR}/gradle.properties" | cut -d= -f2 | tr -d ' ')
MPP="${PATCHES_DIR}/patches/build/libs/patches-${VER}.mpp"

patch — Patch an APK

bash
java -jar morphe-cli.jar patch -p "$MPP" [options] <apk>
FlagShortDescriptionDefault
--patches-pPath to MPP file OR GitHub/GitLab/release URL (required, repeatable)
--out-oOutput APK path. If omitted, saved next to input in app-named subfolder
--install-iInstall via ADB after patching (optional device serial follows)
--enable-eEnable patch by name (scoped to the preceding --patches)
--disable-dDisable patch by name
--eiEnable patch by index (combined list across all bundles)
--diDisable patch by index
--exclusiveDisable all except enabled patchesfalse
--options-OSet patch option: -Okey=value
--options-filePath to options JSON file (auto-generated from MPP if missing)
--options-updateAuto-update options JSON after patchingfalse
--force-fSkip version compatibility checkfalse
--mountBoolean flag — when combined with -i, install by mounting (root required)false
--unsignedDon't sign the output APKfalse
--keystoreCustom keystore file path (BKS, PKCS12, or JKS; byte-sniffed, original unchanged)
--keystore-passwordKeystore password(empty)
--keystore-entry-aliasKey aliasMorphe
--keystore-entry-passwordKey entry password
--signerSigner nameMorphe
--striplibsKeep only specified architectures (comma-separated, e.g. arm64-v8a,x86)
--temporary-files-path-tCustom temp directory
--result-file-rSave JSON patching report to file
--disable-purgeKeep scratch files after patchingfalse
--continue-on-errorDon't stop on first patch failurefalse
--bytecode-modeDEX processing: FULL, STRIP_SAFE, or STRIP_FASTSTRIP_FAST
--prereleaseFetch dev pre-release from repo URLfalse
--verify-with-sdkVerify patched DEX/APK with Android SDK tools
Standard patch (default keystore)

-f is --force (skip the version-compatibility check); the APK is the positional last argument.

bash
java -jar morphe-cli.jar patch \
  -p "$MPP" \
  -o analysis/<app>/builds/<app>_patched.apk \
  -f analysis/<app>/apk/<app>_<version>.<ext>
Patch + install via ADB
bash
java -jar morphe-cli.jar patch \
  -p "$MPP" \
  -o analysis/<app>/builds/<app>_patched.apk \
  -f -i analysis/<app>/apk/<app>_<version>.<ext>
Patch + mount-install (root)
bash
# --mount is a boolean flag used alongside -i
java -jar morphe-cli.jar patch \
  -p "$MPP" \
  -o analysis/<app>/builds/<app>_patched.apk \
  -f -i --mount analysis/<app>/apk/<app>_<version>.<ext>
Show full SKILL.md (330 more words)Show less
Exclusive mode (only specific patches)
bash
java -jar morphe-cli.jar patch \
  -p "$MPP" \
  --exclusive -e "Premium Unlock" -e "Remove Ads" \
  -o analysis/<app>/builds/<app>_patched.apk \
  -f analysis/<app>/apk/<app>_<version>.<ext>
With patch options
bash
java -jar morphe-cli.jar patch \
  -p "$MPP" \
  -e "Patch Name" -Okey=value \
  -f analysis/<app>/apk/<app>_<version>.<ext>
Use GitHub/GitLab repo URL directly
bash
# Stable release (latest)
java -jar morphe-cli.jar patch -p https://github.com/user/patches input.apk

# Pre-release (dev branch)
java -jar morphe-cli.jar patch -p https://github.com/user/patches --prerelease input.apk

# GitLab repo
java -jar morphe-cli.jar patch -p https://gitlab.com/user/patches input.apk
Multiple bundles

Name flags are scoped to the bundle that immediately preceded them:

bash
java -jar morphe-cli.jar patch \
  -p https://github.com/user/bundle-a -e "Patch A" \
  -p local-bundle.mpp -e "Patch B" \
  input.apk
Keep temp files for debugging
bash
java -jar morphe-cli.jar patch -p "$MPP" --disable-purge -f input.apk
Save patching result report
bash
java -jar morphe-cli.jar patch -p "$MPP" -r result.json input.apk

list-patches — List available patches

bash
java -jar morphe-cli.jar list-patches --patches "$MPP" [options]
FlagShortDescriptionDefault
--patchesPath to MPP file (required, repeatable)
--with-packages-pShow compatible packagesfalse
--with-versions-vShow compatible versionsfalse
--with-options-oShow patch optionsfalse
--with-descriptions-dShow descriptionstrue
--with-universal-patches-uShow universal patchestrue
--index-iShow patch index (position in combined list)true
--include-experimental-xInclude experimental app versionsfalse
--filter-package-name-fFilter by package name
--prereleaseFetch dev pre-release from repo URLfalse
--outWrite to file instead of stdout
Examples
bash
# Full listing
java -jar morphe-cli.jar list-patches --patches "$MPP" -pvo

# Filter by app
java -jar morphe-cli.jar list-patches --patches "$MPP" -f com.truecaller -pvo

# Include experimental versions
java -jar morphe-cli.jar list-patches --patches "$MPP" -pvox

# Save to file
java -jar morphe-cli.jar list-patches --patches "$MPP" -pvo --out patches.txt
bash
java -jar morphe-cli.jar list-versions --patches "$MPP" [options]
FlagShortDescriptionDefault
--patchesPath to MPP file (required, repeatable)
--filter-package-names-fFilter by package name (repeatable)
--count-unused-patches-uInclude non-default patches in countfalse
--include-experimental-xInclude experimental versionsfalse
--prereleaseFetch dev pre-release from repo URLfalse
Examples
bash
java -jar morphe-cli.jar list-versions --patches "$MPP"
java -jar morphe-cli.jar list-versions --patches "$MPP" -f com.truecaller
java -jar morphe-cli.jar list-versions --patches "$MPP" -ux

options-create — Generate options JSON

--out is required. If --options-file is passed to patch and the file doesn't exist, it is auto-generated from the MPP before patching begins.

bash
java -jar morphe-cli.jar options-create -p "$MPP" -o options.json [options]
FlagShortDescription
--patches-pPath to MPP file (required)
--out-oOutput JSON file path (required)
--filter-package-name-fFilter by package name
--prereleaseFetch dev pre-release from repo URL

utility install — Install APK via ADB

bash
java -jar morphe-cli.jar utility install -a <apk> [options] [deviceSerials...]
FlagShortDescription
--apk-aAPK file to install (required)
--mount-mMount over existing app; takes the package name as argument
--route-linksRoute app's supported web links to it ("open with")
--disable-stockWith --route-links: takes stock package name; stops it from handling those links
Examples
bash
# Standard install
java -jar morphe-cli.jar utility install -a analysis/<app>/builds/<app>_patched.apk

# Install on specific device
java -jar morphe-cli.jar utility install -a app_patched.apk ABC123DEF

# Mount install (root) — -m takes the package name
java -jar morphe-cli.jar utility install -a app_patched.apk -m com.example.app

# Install + route links (--disable-stock takes the stock package name)
java -jar morphe-cli.jar utility install -a app_patched.apk \
  --route-links --disable-stock com.example.app

utility uninstall — Uninstall app

bash
java -jar morphe-cli.jar utility uninstall -p <packageName> [options] [deviceSerials...]
FlagShortDescription
--package-name-pPackage name (required)
--unmount-uUnmount instead of uninstall

utility clear-cache

⚠ Mutating command — explicit-only. Deletes cached files immediately with no prompt. Inspect flags safely with --help:

bash
java -jar morphe-cli.jar utility clear-cache --help
FlagDescription
--infoShow per-category breakdown of what was cleared and space freed

Do not include clear-cache in routine build/deploy workflows.

Full Workflow

bash
# 1. Build patches
PATCHES_DIR="${MORPHE_PATCHES_DIR:-morphe-patches}"
cd "${PATCHES_DIR}" && ./gradlew buildAndroid && cd ..

# 2. Get MPP path
VER=$(grep "^version" "${PATCHES_DIR}/gradle.properties" | cut -d= -f2 | tr -d ' ')
MPP="${PATCHES_DIR}/patches/build/libs/patches-${VER}.mpp"

# 3. List patches
java -jar morphe-cli.jar list-patches --patches "$MPP" -pvo

# 4. Patch + install
java -jar morphe-cli.jar patch \
  -p "$MPP" \
  -o analysis/<app>/builds/<app>_patched.apk \
  -f -i analysis/<app>/apk/<app>_<version>.<ext>

© Paresh-Maheshwari, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .kiro/skills/cli-reference of Paresh-Maheshwari/morphe-ai.

Open the folder on GitHubat commit 2d7fde2

Compare with similar skills

Morphe CLI Reference next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Morphe CLI Reference compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Morphe CLI Reference this skillParesh-Maheshwari/morphe-ai175—~2.9kAutomated safety check: PassGPL-3.0
React Native Best Practicesvercel-labs/openreview1.7k17 repos~1.1kAutomated safety check: PassMIT
Swiftui Protwostraws/SwiftUI-Agent-Skill5.1k2 repos~1.5kAutomated safety check: PassMIT
Kortix Brandkortix-ai/suna20k—~4kAutomated safety check: PassCustom licence
Ip As LogoKartikLabhshetwar/better-shot2.4k1 repos~4.3kAutomated safety check: PassMIT
Compose Multiplatform Patternsmonta-app/ocpp-emulator1805 repos~2kAutomated safety check: PassApache-2.0

Similar skills

  • React Native Best Practices

    vercel-labs/openreview

    Official

    A prioritized rule set for React Native and Expo apps covering list performance, animation, navigation, UI patterns, state, rendering, monorepos and configuration.

    1.7k GitHub starsUsed in 17 repos~1.1k tokens
    MobileAuto-check passed
  • Swiftui Pro

    twostraws/SwiftUI-Agent-Skill

    Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.

    5.1k GitHub starsUsed in 2 repos~1.5k tokens
    MobileAuto-check passed
  • Kortix Brand

    kortix-ai/suna

    Load FIRST for anything that carries the Kortix look or voice: product or mobile UI, copy of any kind, decks, social, images, email, CLI output, anything with the logo, and reviews of these.

    20k GitHub stars~4k tokensUpdated today
    MobileAuto-check passed
  • Ip As Logo

    KartikLabhshetwar/better-shot

    Generate extremely simple, cute, personified square character images with rounded heavy forms, two purposeful character colors, one solid background color, and a dominant lower-corner composition.

    2.4k GitHub starsUsed in 1 repo~4.3k tokens
    MobileAuto-check passed
  • Compose Multiplatform Patterns

    monta-app/ocpp-emulator

    Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.

    180 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Aso Appstore Screenshots

    adamlyttleapps/claude-skill-aso-appstore-screenshots

    Generate high-converting App Store screenshots by analyzing your app's codebase, discovering core benefits, and creating ASO-optimized screenshot images using Nano Banana Pro.

    1.8k GitHub starsUsed in 1 repo~9.6k tokens
    MobileAuto-check passed

More from Paresh-Maheshwari/morphe-ai

All 13 skills in this repo
  • Build Deploy Troubleshoot

    Paresh-Maheshwari/morphe-ai

    Build, test, deploy, and troubleshoot Morphe patches — gradle commands, CLI usage, git workflow, common errors and fixes.

    175 GitHub stars~1.1k tokensUpdated 9 days ago
    Auto-check passed
  • Dev Environment Setup

    Paresh-Maheshwari/morphe-ai

    Complete Morphe development environment setup — prerequisites, cloning repos, gradle auth, IDE config, build commands.

    175 GitHub stars~1k tokensUpdated 9 days ago
    Auto-check: notes
  • Fingerprinting Guide

    Paresh-Maheshwari/morphe-ai

    Complete guide to Morphe fingerprinting — how to identify obfuscated methods using stable characteristics.

    175 GitHub stars~2.4k tokensUpdated 9 days ago
    Auto-check passed
  • Morphe Faq And App Notes

    Paresh-Maheshwari/morphe-ai

    Morphe FAQ, current pinned official app targets, and app-specific notes.

    175 GitHub stars~573 tokensUpdated 9 days ago
    Auto-check passed
  • Morphe Library Reference

    Paresh-Maheshwari/morphe-ai

    Complete reference for all Morphe utility libraries — BytecodeUtils, ResourceUtils, FreeRegisterProvider, Settings, UI, Extensions.

    175 GitHub stars~1.9k tokensUpdated 9 days ago
    Auto-check passed
  • Patch Anatomy

    Paresh-Maheshwari/morphe-ai

    How to write Morphe patches — bytecodePatch DSL, compatibility, extensions, options, finalization.

    175 GitHub stars~2.4k tokensUpdated 9 days ago
    Auto-check passed

Categories

Questions about Morphe CLI Reference

What does Morphe CLI Reference do?

Morphe CLI v1.17.0 (morphe-desktop) complete command reference — patch, list-patches, list-versions, options-create, utility install/uninstall. Morphe CLI Reference is an agent skill from Paresh-Maheshwari/morphe-ai.0 (morphe-desktop) complete command reference — patch, list-patches, list-versions, options-create, utility install/uninstall.

When should I use Morphe CLI Reference?

Morphe CLI Reference fits situations like: running CLI commands; testing patches; troubleshooting CLI usage.

How do I install Morphe CLI Reference in Claude Code?

Run `npx skills add Paresh-Maheshwari/morphe-ai --skill morphe-cli-reference -a claude-code`. Or copy the skill folder (.kiro/skills/cli-reference in Paresh-Maheshwari/morphe-ai) into .claude/skills/morphe-cli-reference in your project. Claude Code loads it when a task matches its description.

How do I install Morphe CLI Reference in Codex?

Run `npx skills add Paresh-Maheshwari/morphe-ai --skill morphe-cli-reference -a codex`. Or copy the skill folder (.kiro/skills/cli-reference in Paresh-Maheshwari/morphe-ai) into .agents/skills/morphe-cli-reference in your project. Codex loads it when a task matches its description.

Can I use Morphe CLI Reference in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Paresh-Maheshwari/morphe-ai --skill morphe-cli-reference -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/morphe-cli-reference, .gemini/skills/morphe-cli-reference, .github/skills/morphe-cli-reference and .opencode/skills/morphe-cli-reference in your project.

What does Morphe CLI Reference need to run?

Going by SKILL.md and its folder, Morphe CLI Reference needs the command-line tools its instructions call (java).

Does Morphe CLI Reference access the network?

SKILL.md names 2 domains. In commands or code: github.com and gitlab.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Morphe CLI Reference safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Morphe CLI Reference use?

Morphe CLI Reference is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Morphe CLI Reference use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Morphe CLI Reference?

Skills that share tags, products or a category with Morphe CLI Reference: React Native Best Practices (vercel-labs/openreview, 1.7k stars), Swiftui Pro (twostraws/SwiftUI-Agent-Skill, 5.1k stars), Kortix Brand (kortix-ai/suna, 20k stars) and Ip As Logo (KartikLabhshetwar/better-shot, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Morphe CLI Reference?

Paresh-Maheshwari (a GitHub user) maintains it in Paresh-Maheshwari/morphe-ai, which has 175 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 29, 2026.

Source: Paresh-Maheshwari/morphe-ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.