{
  "schemaVersion": "1.0",
  "item": {
    "slug": "apktool",
    "name": "Apktool",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/killgfat/apktool",
    "canonicalUrl": "https://clawhub.ai/killgfat/apktool",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/apktool",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=apktool",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/install.md",
      "references/troubleshooting.md",
      "references/usage.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/apktool"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/apktool",
    "agentPageUrl": "https://openagent3.xyz/skills/apktool/agent",
    "manifestUrl": "https://openagent3.xyz/skills/apktool/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/apktool/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Apktool 技能",
        "body": "🔧 反向工程 Android APK 文件的命令行工具"
      },
      {
        "title": "必需二进制文件",
        "body": "apktool - Android APK 反向工程工具\njava - Java 运行时（Apktool 基于 Java）"
      },
      {
        "title": "检查依赖",
        "body": "# 检查 apktool 是否已安装\nwhich apktool\napktool --version\n\n# 检查 Java 是否已安装\njava -version"
      },
      {
        "title": "安装指引",
        "body": "如未安装，请阅读 references/install.md 获取详细安装步骤。"
      },
      {
        "title": "🎯 核心功能",
        "body": "反编译（Disassemble） - 将 APK 解码为近乎原始形式（smali 代码、资源文件）\n编译（Assemble） - 将修改后的代码和资源重新打包为 APK\n分析（Analyze） - 快速检查资源清单和配置文件，无需重建"
      },
      {
        "title": "反编译 APK",
        "body": "# 基本反编译\napktool d app.apk\n\n# 指定输出目录\napktool d app.apk -o output_folder\n\n# 仅分析不生成文件（-m 模式）\napktool d app.apk -m"
      },
      {
        "title": "重新编译 APK",
        "body": "# 编译反编译后的文件夹\napktool b app_folder\n\n# 指定输出 APK 路径\napktool b app_folder -o modified_app.apk"
      },
      {
        "title": "典型工作流",
        "body": "# 1. 反编译\napktool d target.apk -o target_decompiled\n\n# 2. 修改资源或代码\n# 编辑 target_decompiled/ 中的文件\n\n# 3. 重新编译\napktool b target_decompiled -o target_modified.apk\n\n# 4. 签名 APK（需要额外工具）\n# apksigner 或 jarsigner"
      },
      {
        "title": "📚 详细文档",
        "body": "主题文档🔧 安装指南references/install.md📖 完整用法references/usage.md🛠️ 常见问题references/troubleshooting.md"
      },
      {
        "title": "🔐 安全提示",
        "body": "合法使用 - 仅对您拥有权限的 APK 进行反向工程\n学习研究 - 适用于安全研究、应用分析、本地化翻译等合法用途\n遵守法律 - 请勿用于侵犯版权或绕过软件保护"
      },
      {
        "title": "示例 1：查看 APK 结构",
        "body": "# 快速分析 APK 结构（不生成文件）\napktool d app.apk -m\n\n# 查看 AndroidManifest.xml\ncat apktool.yml"
      },
      {
        "title": "示例 2：修改应用资源",
        "body": "# 反编译\napktool d myapp.apk\n\n# 修改 res/values/strings.xml 进行本地化\n# 编辑文件...\n\n# 重新编译\napktool b myapp -o myapp_localized.apk"
      },
      {
        "title": "示例 3：分析权限配置",
        "body": "# 反编译并查看 AndroidManifest.xml\napktool d target.apk -m\ncat target/AndroidManifest.xml | grep permission"
      },
      {
        "title": "💡 提示",
        "body": "反编译后的代码为 smali 格式（Android 的汇编语言）\n如需 Java 源代码，可配合 jadx 工具使用\n修改后的 APK 需要重新签名才能安装到设备\n大型 APK 反编译可能需要数分钟\n\n版本: 0.0.2\n最后更新: 2026-02-28"
      }
    ],
    "body": "Apktool 技能\n\n🔧 反向工程 Android APK 文件的命令行工具\n\n📦 依赖声明\n必需二进制文件\napktool - Android APK 反向工程工具\njava - Java 运行时（Apktool 基于 Java）\n检查依赖\n# 检查 apktool 是否已安装\nwhich apktool\napktool --version\n\n# 检查 Java 是否已安装\njava -version\n\n安装指引\n\n如未安装，请阅读 references/install.md 获取详细安装步骤。\n\n🎯 核心功能\n反编译（Disassemble） - 将 APK 解码为近乎原始形式（smali 代码、资源文件）\n编译（Assemble） - 将修改后的代码和资源重新打包为 APK\n分析（Analyze） - 快速检查资源清单和配置文件，无需重建\n🚀 快速开始\n反编译 APK\n# 基本反编译\napktool d app.apk\n\n# 指定输出目录\napktool d app.apk -o output_folder\n\n# 仅分析不生成文件（-m 模式）\napktool d app.apk -m\n\n重新编译 APK\n# 编译反编译后的文件夹\napktool b app_folder\n\n# 指定输出 APK 路径\napktool b app_folder -o modified_app.apk\n\n典型工作流\n# 1. 反编译\napktool d target.apk -o target_decompiled\n\n# 2. 修改资源或代码\n# 编辑 target_decompiled/ 中的文件\n\n# 3. 重新编译\napktool b target_decompiled -o target_modified.apk\n\n# 4. 签名 APK（需要额外工具）\n# apksigner 或 jarsigner\n\n📚 详细文档\n主题\t文档\n🔧 安装指南\treferences/install.md\n📖 完整用法\treferences/usage.md\n🛠️ 常见问题\treferences/troubleshooting.md\n🔐 安全提示\n合法使用 - 仅对您拥有权限的 APK 进行反向工程\n学习研究 - 适用于安全研究、应用分析、本地化翻译等合法用途\n遵守法律 - 请勿用于侵犯版权或绕过软件保护\n🤝 使用示例\n示例 1：查看 APK 结构\n# 快速分析 APK 结构（不生成文件）\napktool d app.apk -m\n\n# 查看 AndroidManifest.xml\ncat apktool.yml\n\n示例 2：修改应用资源\n# 反编译\napktool d myapp.apk\n\n# 修改 res/values/strings.xml 进行本地化\n# 编辑文件...\n\n# 重新编译\napktool b myapp -o myapp_localized.apk\n\n示例 3：分析权限配置\n# 反编译并查看 AndroidManifest.xml\napktool d target.apk -m\ncat target/AndroidManifest.xml | grep permission\n\n💡 提示\n反编译后的代码为 smali 格式（Android 的汇编语言）\n如需 Java 源代码，可配合 jadx 工具使用\n修改后的 APK 需要重新签名才能安装到设备\n大型 APK 反编译可能需要数分钟\n\n版本: 0.0.2\n最后更新: 2026-02-28"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/killgfat/apktool",
    "publisherUrl": "https://clawhub.ai/killgfat/apktool",
    "owner": "killgfat",
    "version": "0.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/apktool",
    "downloadUrl": "https://openagent3.xyz/downloads/apktool",
    "agentUrl": "https://openagent3.xyz/skills/apktool/agent",
    "manifestUrl": "https://openagent3.xyz/skills/apktool/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/apktool/agent.md"
  }
}