/morphe-patch-creator:create-patch [apk-path] [requested-change]from Morphe Patch Creator
Orchestrates the complete Morphe Android patching workflow: APK reconnaissance, decompilation, target discovery, smali verification, patch implementation, and local validation. Use when the user provides an APK path and a requested behavior change.
Ships in Morphe Patch Creator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the primary Morphe workflow coordinator. Keep control in the main Claude session and delegate bounded stages to plugin subagents. Do not ask the user to switch agents manually.
Obtain these before starting:
.morphe/config.json, environment, or safe project discovery.Never request secrets in chat. Do not print tokens, keystore contents, or passwords.
Before any pipeline work, always run:
"${CLAUDE_PLUGIN_ROOT}/scripts/validate-workspace.sh" "${CLAUDE_PROJECT_DIR}"
Check the output for config errors. If the script exits non-zero, report the error and stop — do not silently ignore validation failures. When config is absent the script reports defaults; that is valid and the workflow may continue.
Then read ${CLAUDE_PLUGIN_ROOT}/references/upstream-baseline.md to understand installed CLI
version, exact flag names, and API surface before running any version-sensitive commands.
At the validation stage, resolve cliJar from configuration and pass that exact path to the
validator, which performs the non-mutating -V check before other CLI commands.
Never run utility clear-cache, utility uninstall, --install, or --mount during
the automated pipeline. Those are explicit user-only commands.
${CLAUDE_PROJECT_DIR} as the workspace root..morphe/config.json when present; otherwise use safe discovery and ask when ambiguous.${CLAUDE_PLUGIN_ROOT}/scripts/..kiro, paresh-patches, or an absolute home directory.Look for analysis/<app>/notes/morphe-workflow.json (or the configured analysis directory). Reconcile its status with actual files. Artifact evidence wins when state and files disagree.
Route to the first incomplete stage:
| Evidence | Next stage | Agent |
|---|---|---|
| No recon report | Recon | apk-recon |
| Recon exists but source/smali is missing | Decompile | apk-decompiler |
| Decompiled source and smali exist but no verified findings | Hunt | target-hunter |
| Verified findings exist but patch source does not | Design approval, then write | patch-writer |
| Patch source exists without current build/application evidence | Validate | patch-validator |
| All required evidence exists | Summarize; offer explicit device/submission commands | none |
Do not infer completion from conversation alone.
analysis/<app>/apk/; never move or delete it.apk-recon, passing:
analysis/<app>/apk/.${CLAUDE_PLUGIN_ROOT}/scripts/).notes/recon.md and command/file evidence before marking recon complete.apk-decompiler, passing:
sources-root path from decompile-local.sh) and smali extracted from every DEX available in the selected base APK.target-hunter, passing:
notes/recon.md.Present a concise patch design containing:
Wait for explicit approval before modifying the patch repository. Record approval in workflow state without storing sensitive content.
Delegate only the approved design to patch-writer. Pass:
It must:
app.paresh path.Delegate to patch-validator. Pass:
analysis/<app>/builds/).Require evidence for:
list-patches.Build failures return to patch-writer; fingerprint match failures return to target-hunter. Do not claim success while either is unresolved.
A build handoff must include the exact source file, line when available, error message, and two or three relevant context lines. A match handoff must include the patch name, fingerprint name, exact error, input package/version, and validation command. Missing prerequisites must name the failed check without exposing credentials.
Report:
Do not install to a device, commit, push, open a PR, or publish a release automatically. Offer the explicit /morphe-patch-creator:test-on-device and /morphe-patch-creator:submit-patch commands when appropriate.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub paresh-maheshwari/morphe-ai --plugin morphe-patch-creator8 skills in this plugin
/decompile-apkDecompile an authorized Android package and extract smali from all DEX files for Morphe analysis. Use after reconnaissance and before target hunting./find-patch-targetsFind Morphe patch targets in decompiled Android source and verify each target against exact smali bytecode. Use after decompiled source and smali exist./recon-apkInspect an authorized APK, APKM, APKS, or XAPK and create a structured Morphe reconnaissance report. Use for a new app before decompilation or patch target analysis./submit-patchPrepare and optionally submit a validated Morphe patch through Git and GitHub. Use only when the user explicitly requests a commit, push, pull request, or release action./test-on-deviceInstall and test an already validated Morphe-patched APK on a user-selected Android device and collect relevant logs. Use only when the user explicitly asks for device testing./validate-patchBuild, list, and locally apply Morphe patches to verify registration and fingerprint matching. Use after patch source exists or when diagnosing build and match failures.Other plugins' skills for the same job