← 返回 Skills 市场
happysurfingeveryday-art

Android Dev Agent

作者 happysurfingeveryday-art · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
94
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install android-dev-agent
功能描述
Assist with AOSP builds, HAL analysis, Framework edits, ROM customization, and SDK/NDK issues using isolated environments and detailed reports.
使用说明 (SKILL.md)

Android Dev Agent Skill

Agent角色: Android 开发工程师
用途: AOSP 编译、HAL 分析、Framework 修改、ROM 定制
默认模型: sonnet / opus(强代码能力)
工具集: Bash, Read, Edit, exec, Write
输出目录: memory/reports/android-dev-*.md
工作目录: memory/worktrees/android-{task-id}/


触发条件

当 Manager 收到以下类型任务时,spawn 此 Agent:

  • AOSP 源码编译问题排查
  • HAL 层代码分析
  • Android Framework 修改
  • ROM 定制 / 内核配置
  • SDK / NDK 相关问题

工作流程

  1. 确认任务目标,读取相关源码/文档
  2. 创建隔离工作目录 memory/worktrees/android-{task-id}/
  3. 执行编译/分析命令(Bash)
  4. 分析结果写入报告
  5. 如需修改源码,给出 patch 或完整文件内容

行为准则

  • 环境隔离:编译环境用独立目录,不污染主工作区
  • 记录命令:所有 m/mm/mmm/ breakfast 等编译命令记录日志
  • 版本敏感:注明 Android 版本(Android 13 / 14 / 15 等)
  • 备选方案:官方方案不可行时,提供 workround

输出命名

memory/reports/android-dev-{主题}-{日期}.md

示例任务

"分析 Android 14 的 HIDL 迁移到 AIDL 对 HAL 开发的影响"

输出内容:

  • 变更对比(HIDL vs AIDL)
  • 对现有 HAL 模块的影响评估
  • 迁移步骤建议
  • 兼容层处理方案

常用命令参考

# 源码同步
repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r1
repo sync -c -j8

# 编译
source build/envsetup.sh
lunch aosp_x86_64-eng
m -j$(nproc)

# HAL 查看
find hardware/interfaces/ -name "*.hal"
安全使用建议
This skill appears coherent with its Android development purpose. Before enabling it, be aware that it expects to clone AOSP trees and run heavy build/analysis commands (network, disk, CPU). Run it only in an isolated/sandboxed workspace or CI runner to avoid large downloads or accidental access to sensitive local files. If you require stricter controls, ask the publisher for explicit limits on network access, disk usage, and exact commands the agent will run.
功能分析
Type: OpenClaw Skill Name: android-dev-agent Version: 1.0.0 The skill bundle defines a standard Android development environment for AOSP compilation and HAL analysis. It utilizes common development tools (Bash, repo, build scripts) and references official Google source repositories (android.googlesource.com) without any indicators of malicious intent, data exfiltration, or unauthorized access.
能力评估
Purpose & Capability
Name/description (AOSP builds, HAL/Framework/ROM work) align with the instructions: creating isolated worktrees, running build/analysis commands, and producing reports. The skill does not request unrelated credentials or config paths.
Instruction Scope
SKILL.md explicitly instructs the agent to read source/docs, create work directories under memory/, run build/analysis commands (m, lunch, repo sync, find, etc.), and write reports and patches. This is expected for an Android dev agent, but it implies the agent will execute arbitrary shell build commands and fetch large upstream repositories — the user should ensure those actions occur in a sandboxed environment and that no sensitive local files are present in the agent's workspace.
Install Mechanism
Instruction-only skill with no install spec and no code files. No downloads or archive extraction are declared, so nothing is written to disk beyond the agent's normal working-memory artifacts.
Credentials
The skill does not request environment variables, credentials, or config paths. That is proportional to its stated goal; no unrelated secrets are requested.
Persistence & Privilege
always is false and model invocation is allowed (default). The skill does not request persistent/always-on presence or to modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install android-dev-agent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /android-dev-agent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the Android Dev Agent Skill. - Supports AOSP 编译、HAL 分析、Framework 修改、ROM 定制等任务 - 提供独立环境隔离、防污染主目录 - 日志记录所有编译/分析命令,输出标准报告 - 明确区分 Android 版本,遇阻时补充 workaround - 详细规范常用流程、任务触发条件和输出响应内容
元数据
Slug android-dev-agent
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Android Dev Agent 是什么?

Assist with AOSP builds, HAL analysis, Framework edits, ROM customization, and SDK/NDK issues using isolated environments and detailed reports. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。

如何安装 Android Dev Agent?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install android-dev-agent」即可一键安装,无需额外配置。

Android Dev Agent 是免费的吗?

是的,Android Dev Agent 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Android Dev Agent 支持哪些平台?

Android Dev Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Android Dev Agent?

由 happysurfingeveryday-art(@happysurfingeveryday-art)开发并维护,当前版本 v1.0.0。

💬 留言讨论