Agent skill

Build Deploy Troubleshoot

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

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

GPL-3.0Auto-check passedDevelopment

Install Build Deploy Troubleshoot

skills CLI
$ npx skills add Paresh-Maheshwari/morphe-ai --skill build-deploy-troubleshoot -a claude-code

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

GitHub CLI
$ gh skill install Paresh-Maheshwari/morphe-ai build-deploy-troubleshoot --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/build-deploy .claude/skills/build-deploy-troubleshoot && 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
build-deploy-troubleshoot
GitHub stars
178
Token cost
~1.1k tokens
SKILL.md length
303 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
GPL-3.0

At a glance

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

  • Building patches
  • SKILL.md covers Prerequisites, Build, CLI Usage and Git / Release Workflow, plus 2 more sections
  • Calls java, git and adb
  • Testing with CLI

What it does

Build Deploy Troubleshoot is an agent skill from Paresh-Maheshwari/morphe-ai. Build, test, deploy, and troubleshoot Morphe patches — gradle commands, CLI usage, git workflow, common errors and fixes. Use when building patches, testing with CLI, deploying releases, or debugging issues.

Its SKILL.md is about 1.1k 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 Development, covering Git workflow, Deployment and Debugging. It works with Gradle, Git and Java. 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

  • Building patches
  • Testing with CLI
  • Deploying releases
  • Debugging issues

Example prompts

  • “/build-deploy-troubleshoot”

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
    • git
    • adb
    • gh

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

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    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

Build Deploy Troubleshoot loads about 1.1k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 303 words of instructions outside code blocks.

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

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). 303 words, ~1,112 tokens.

Download SKILL.mdSave it as .claude/skills/build-deploy-troubleshoot/SKILL.md (or your agent's skills folder).
name
build-deploy-troubleshoot
description
Build, test, deploy, and troubleshoot Morphe patches — gradle commands, CLI usage, git workflow, common errors and fixes. Use when building patches, testing with CLI, deploying releases, or debugging issues.

When to use: User wants to build patches, deploy releases, or troubleshoot build/git issues. All development happens on dev branch — never commit to main directly. Always git pull after push.

Build, Deploy & Troubleshoot

Prerequisites

  • JDK 21 recommended for patch development because it matches template CI. The desktop source documents JDK 17 as its own build minimum; the installed CLI requires JRE 21+.
  • GitHub PAT with read:packages in ~/.gradle/gradle.properties.
  • Template versions: plugin app.morphe.patches 1.3.4, patcher 1.14.1, Gradle 9.7.1.

Build

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

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

CLI jar: morphe-cli.jar (symlink at project root, run ./setup-cli.sh to download). Default keystore: morphe-data/morphe.keystore (no flag needed). Pass --keystore <path> only for a custom key (BKS, PKCS12, or JKS; byte-sniffed, original unchanged).

CLI Usage

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

# Patch APK (output to builds/, default keystore)
java -jar morphe-cli.jar patch \
  -p "$MPP" \
  -o analysis/<app>/builds/<app>_patched.apk \
  -f analysis/<app>/apk/<app>_<version>.<ext>

# Device-changing commands below are explicit-only: show the target and wait for confirmation.
# Patch + install via ADB
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) — --mount is a boolean flag combined with -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>

# Install existing patched APK
java -jar morphe-cli.jar utility install -a analysis/<app>/builds/<app>_patched.apk

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

# Exclusive mode (only specific patches)
java -jar morphe-cli.jar patch \
  -p "$MPP" \
  --exclusive -e "Patch Name" \
  -o analysis/<app>/builds/<app>_patched.apk \
  -f analysis/<app>/apk/<app>_<version>.<ext>

The CLI accepts .apk, .apkm, .xapk, and .apks. For split apps, pass the complete container. A base APK extracted for analysis cannot provide omitted split resources or libraries.

Git / Release Workflow

BranchPurposeRelease Type
devDevelopment & testingPre-release (v1.x.0-dev.N)
mainStable (after verified)Stable (v1.x.0)
  • All development on dev — never commit directly to main
  • Releases driven by semantic-release (conventional commits only)
  • Conventional commits: feat: (minor), fix: (patch), docs:/chore: (no release)
  • ALWAYS git pull after push — GitHub Actions auto-commits CHANGELOG.md, gradle.properties, patches-bundle.json, patches-list.json, and README (provenance attestation included)

Troubleshooting

ErrorFix
Build auth failureSet gpr.user/gpr.key in ~/.gradle/gradle.properties
Wrong JDK / CLI failsCheck JAVA_HOME; CLI needs JRE 21+, build recommends JDK 21
Fingerprint match failureVerify smali, update filters for new app version
instructionMatches without filtersAdd filters to fingerprint or don't use instructionMatches
Patched app crashesCheck adb logcat, verify register numbers in smali
"Not compatible with device"Use XAPK/APKM with correct ApkFileType
Push rejectedgit pull first (CI auto-updated files)
Duplicate .mpp in releasegh release delete-asset v1.2.0 old.mpp
Google login failsExpected — signature mismatch after re-signing
Multiple .mpp files in buildUse version from gradle.properties, not glob

Debugging

bash
adb logcat | grep 'morphe\|AndroidRuntime'

© 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/build-deploy of Paresh-Maheshwari/morphe-ai.

Open the folder on GitHubat commit 2d7fde2

Compare with similar skills

Build Deploy Troubleshoot 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.

Build Deploy Troubleshoot compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Build Deploy Troubleshoot this skillParesh-Maheshwari/morphe-ai178—~1.1kAutomated safety check: PassGPL-3.0
Git History Bug Auditben-manes/caffeine18k—~3.3kAutomated safety check: PassApache-2.0
Git Init Remoteexception-coder/npe_get_jobs176—~662Automated safety check: PassCustom licence
Creating Description For Gh PRredis/jedis12k—~838Automated safety check: PassMIT
ClawRouter Release ChecklistBlockRunAI/ClawRouter6.6k—~1.4kAutomated safety check: PassMIT
Stax Devcesarferreira/stax130—~987Automated safety check: PassMIT

Similar skills

  • Git History Bug Audit

    ben-manes/caffeine

    Audits a module by walking its git history commit by commit, tracking unresolved issues forward, and reporting the ones that survive to HEAD as findings.

    18k GitHub stars~3.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Git Init Remote

    exception-coder/npe_get_jobs

    Initialize git in a local project without a repository, connect it to a remote, and generate a proper .gitignore.

    176 GitHub stars~662 tokensUpdated 18 days ago
    DevelopmentAuto-check passed
  • Official

    Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.

    12k GitHub stars~838 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • ClawRouter Release Checklist

    BlockRunAI/ClawRouter

    Walks the agent through every ClawRouter release step in order, from the version bump and changelog entry to build, tests, npm publish, git tag and GitHub release.

    6.6k GitHub stars~1.4k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Stax Dev

    cesarferreira/stax

    Development harness for the stax Rust CLI project. An agent skill from cesarferreira/stax.

    130 GitHub stars~987 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Release Lithoxyl

    mahmoud/lithoxyl

    Walks through releasing the lithoxyl Python package to PyPI: CalVer version bump, tagging, pushing and checking the published release.

    146 GitHub stars~1.3k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed

More from Paresh-Maheshwari/morphe-ai

All 13 skills in this repo
  • Dev Environment Setup

    Paresh-Maheshwari/morphe-ai

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

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

    Paresh-Maheshwari/morphe-ai

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

    178 GitHub stars~2.4k tokensUpdated 12 days ago
    Auto-check passed
  • Morphe CLI Reference

    Paresh-Maheshwari/morphe-ai

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

    178 GitHub stars~2.9k tokensUpdated 12 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.

    178 GitHub stars~573 tokensUpdated 12 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.

    178 GitHub stars~1.9k tokensUpdated 12 days ago
    Auto-check passed
  • Patch Anatomy

    Paresh-Maheshwari/morphe-ai

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

    178 GitHub stars~2.4k tokensUpdated 12 days ago
    Auto-check passed

Works with

Categories

Questions about Build Deploy Troubleshoot

What does Build Deploy Troubleshoot do?

Build, test, deploy, and troubleshoot Morphe patches — gradle commands, CLI usage, git workflow, common errors and fixes. Build Deploy Troubleshoot is an agent skill from Paresh-Maheshwari/morphe-ai. Build, test, deploy, and troubleshoot Morphe patches — gradle commands, CLI usage, git workflow, common errors and fixes.

When should I use Build Deploy Troubleshoot?

Build Deploy Troubleshoot fits situations like: building patches; testing with CLI; deploying releases; debugging issues.

How do I install Build Deploy Troubleshoot in Claude Code?

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

How do I install Build Deploy Troubleshoot in Codex?

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

Can I use Build Deploy Troubleshoot 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 build-deploy-troubleshoot -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/build-deploy-troubleshoot, .gemini/skills/build-deploy-troubleshoot, .github/skills/build-deploy-troubleshoot and .opencode/skills/build-deploy-troubleshoot in your project.

What does Build Deploy Troubleshoot need to run?

Going by SKILL.md and its folder, Build Deploy Troubleshoot needs the command-line tools its instructions call (java, git, adb and gh).

Does Build Deploy Troubleshoot access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Build Deploy Troubleshoot 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 Build Deploy Troubleshoot use?

Build Deploy Troubleshoot 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 Build Deploy Troubleshoot use?

About 1.1k tokens (SKILL.md is roughly 4.4k 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 Build Deploy Troubleshoot?

Skills that share tags, products or a category with Build Deploy Troubleshoot: Git History Bug Audit (ben-manes/caffeine, 18k stars), Git Init Remote (exception-coder/npe_get_jobs, 176 stars), Creating Description For Gh PR (redis/jedis, 12k stars) and ClawRouter Release Checklist (BlockRunAI/ClawRouter, 6.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Build Deploy Troubleshoot?

Paresh-Maheshwari (a GitHub user) maintains it in Paresh-Maheshwari/morphe-ai, which has 178 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.