← Back to Skills Marketplace
happysurfingeveryday-art

Android Dev Agent

by happysurfingeveryday-art · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
94
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install android-dev-agent
Description
Assist with AOSP builds, HAL analysis, Framework edits, ROM customization, and SDK/NDK issues using isolated environments and detailed reports.
README (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"
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install android-dev-agent
  3. After installation, invoke the skill by name or use /android-dev-agent
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of the Android Dev Agent Skill. - Supports AOSP 编译、HAL 分析、Framework 修改、ROM 定制等任务 - 提供独立环境隔离、防污染主目录 - 日志记录所有编译/分析命令,输出标准报告 - 明确区分 Android 版本,遇阻时补充 workaround - 详细规范常用流程、任务触发条件和输出响应内容
Metadata
Slug android-dev-agent
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Android Dev Agent?

Assist with AOSP builds, HAL analysis, Framework edits, ROM customization, and SDK/NDK issues using isolated environments and detailed reports. It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.

How do I install Android Dev Agent?

Run "/install android-dev-agent" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Android Dev Agent free?

Yes, Android Dev Agent is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Android Dev Agent support?

Android Dev Agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Android Dev Agent?

It is built and maintained by happysurfingeveryday-art (@happysurfingeveryday-art); the current version is v1.0.0.

💬 Comments