Agent skill

Assistant Add Support

by niki914 in niki914/zafiro

为语音助手宿主(如小布助手 Breeno 等)适配新版本 Xposed 接管支持。当用户要求支持新版本助手、适配助手应用更新、分析新版本 hook 点或解决宿主升级导致的接管失效时使用。

MITAuto-check passedMobile

Install Assistant Add Support

skills CLI
$ npx skills add niki914/zafiro --skill assistant-add-support -a claude-code

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

GitHub CLI
$ gh skill install niki914/zafiro assistant-add-support --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/niki914/zafiro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/assistant-add-support .claude/skills/assistant-add-support && 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
assistant-add-support
GitHub stars
241
Token cost
~543 tokens
SKILL.md length
164 words
Files
3
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

为语音助手宿主(如小布助手 Breeno 等)适配新版本 Xposed 接管支持。当用户要求支持新版本助手、适配助手应用更新、分析新版本 hook 点或解决宿主升级导致的接管失效时使用。

  • Works in 7 steps: REA (Reverse Engineer Anything) 门禁 → 提取与反编译工具 → 确认目标版本 → …
  • Mobile work in your project
  • SKILL.md covers 宿主分支, 前置环境与依赖门禁 and 适配流程
  • Calls adb; reaches github.com

What it does

Assistant Add Support is an agent skill from niki914/zafiro. 为语音助手宿主(如小布助手 Breeno 等)适配新版本 Xposed 接管支持。当用户要求支持新版本助手、适配助手应用更新、分析新版本 hook 点或解决宿主升级导致的接管失效时使用。

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `docs/BREENO.md` and `docs/XIAOAI.md`).

It sits in Mobile. It works with Model Context Protocol. The repository describes itself as: Open-source BYOK AI agent for Android. Full phone control, native Shell & Python 3, with Skills and MCP support. Built with Material 3 Expressive. Works via Shizuku (root… The licence is MIT.

When your agent uses it

  • Mobile work in your project

Example prompts

  • “/assistant-add-support”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. REA (Reverse Engineer Anything) 门禁
  2. 提取与反编译工具
  3. 确认目标版本
  4. 提取 APK
  5. 调研现有 Hook 机理与签名比对
  6. 实现新版本配置与编译验证
  7. 交付与安装门禁(严格被动)

What it can do on your machine

Read from SKILL.md and the folder at commit abb8d42. 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:

    • adb

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    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

Assistant Add Support loads about 543 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 164 words of instructions outside code blocks.

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

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 niki914/zafiro at commit abb8d42, republished under its MIT licence (© niki914). 164 words, ~543 tokens.

Download SKILL.mdSave it as .claude/skills/assistant-add-support/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
assistant-add-support
description
为语音助手宿主(如小布助手 Breeno 等)适配新版本 Xposed 接管支持。当用户要求支持新版本助手、适配助手应用更新、分析新版本 hook 点或解决宿主升级导致的接管失效时使用。

assistant-add-support

为语音助手宿主适配新版本 Xposed 接管支持:提取/分析 APK、比对 Hook 点变化、生成新版本配置并完成编译验证。

宿主分支

根据目标宿主查阅对应的核心类清单与指引:

  • Breeno(小布助手,com.heytap.speechassist):阅读 docs/BREENO.md
  • XiaoAi(小爱同学,com.miui.voiceassist):阅读 docs/XIAOAI.md(当前留空不支持)

前置环境与依赖门禁

1. REA (Reverse Engineer Anything) 门禁

优先使用 REA 分析引擎(MCP / CLI)审查 APK 内部类与方法签名。

  • 上游仓库:https://github.com/morluto/rea
  • 严格授权门禁:当且仅当 REA 不可用时,提示用户需先部署 REA,严禁私自自动安装或配置,由用户自主决定。
2. 提取与反编译工具
  • 使用项目内的 extract-apk 技能(.agents/skills/extract-apk/scripts/)定位并导出目标 APK。
  • 反编译按需进行:若需全局搜索则调用 decompile_apk.py,若只需针对性核对类结构可直接用 REA MCP 直连 APK。

适配流程

Phase 1: 确认目标版本
  1. 通过 adb -s <serial> shell dumpsys package <package_name> | grep -E "versionCode|versionName" 获取设备上的版本信息;
  2. 与用户确认目标版本号与 versionCode。
Phase 2: 提取 APK

运行 extract_apk.py 拉取当前版本 APK。根据分析需要决定是否执行全量反编译。

Phase 3: 调研现有 Hook 机理与签名比对
  1. 查阅宿主分支指引(如 docs/BREENO.md),了解宿主核心类角色;
  2. 以最近一个已支持版本的 app/src/main/res/raw/<package_name>_<prevVersion>_config.json 作为基准模板(配置结构即 Single Source of Truth);
  3. 在新版本中核对配置中涉及的每个类名、方法名与签名;
  4. 列出变动清单(未变 / 变动的具体点位)。
Phase 4: 实现新版本配置与编译验证
  1. 在 app/src/main/res/raw/ 新建 <package_name>_<versionCode>_config.json,填入新签名的配置;
  2. 在 app/src/main/res/raw/<package_name>_versions.json 追加新 <versionCode>;
  3. 在 app/src/main/java/a0/a0/a0/a0/a0/a0/Entrance.kt 的 configRawIdFor 中注册对应 raw 资源映射;
  4. 同步运行 ./gradlew :app:compileDebugKotlin 验证编译。
Phase 5: 交付与安装门禁(严格被动)
  • 严格被动原则:严禁主动向设备执行安装、推送或任何写操作!默认仅完成代码修改与编译验证,向用户汇报改动并等待代码审查(CR)。
  • 仅当用户明确要求安装时:
    1. 执行打包:./gradlew :app:assembleDebug
    2. 推送并使用 pm 安装:
      bash
      adb -s <serial> push app/build/outputs/apk/debug/app-debug.apk /data/local/tmp/app-debug.apk
      adb -s <serial> shell pm install -r -d -g /data/local/tmp/app-debug.apk
      adb -s <serial> shell rm -f /data/local/tmp/app-debug.apk
    3. 重启宿主使 Xposed 模块生效:adb -s <serial> shell am force-stop <package_name>

© niki914, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in .agents/skills/assistant-add-support of niki914/zafiro.

  • SKILL.md
  • docs/BREENO.md
  • docs/XIAOAI.md

Open the folder on GitHubat commit abb8d42

Compare with similar skills

Assistant Add Support 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.

Assistant Add Support compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Assistant Add Support this skillniki914/zafiro241—~543Automated safety check: PassMIT
Marionette Flutter Drive Appleancodepl/marionette_mcp482—~11kAutomated safety check: PassApache-2.0
Deep Linksstacklok/toolhive-studio171—~1.6kAutomated safety check: NotesApache-2.0
Asc Aso AuditCamilleScholtz/swmpc2395 repos~2.6kAutomated safety check: PassEUPL-1.2
Use Appclaw Agent CLIappclawhq/AppClaw117—~775Automated safety check: PassApache-2.0
Maui Devflow Uitestsnalu-development/nalu245—~2.3kAutomated safety check: PassCustom licence

Similar skills

  • Marionette Flutter Drive App

    leancodepl/marionette_mcp

    Set up and drive a running Flutter app (debug or profile) with Marionette — an AI agent's hands and eyes for the app.

    482 GitHub stars~11k tokensUpdated 5 days ago
    MobileAuto-check passed
  • Deep Links

    stacklok/toolhive-studio

    Deep links in ToolHive Studio. An agent skill from stacklok/toolhive-studio.

    171 GitHub stars~1.6k tokensUpdated yesterday
    MobileAuto-check: notes
  • Asc Aso Audit

    CamilleScholtz/swmpc

    Run an offline ASO audit on canonical App Store metadata under ./Store and surface keyword gaps using Astro MCP.

    239 GitHub starsUsed in 5 repos~2.6k tokens
    MobileAuto-check passed
  • Use Appclaw Agent CLI

    appclawhq/AppClaw

    Use the appclaw-agent CLI to directly open, inspect, and interact with a mobile app via terminal commands — without writing a YAML flow.

    117 GitHub stars~775 tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Maui Devflow Uitests

    nalu-development/nalu

    How to write, run and debug automated UI tests for the Nalu.Maui component libraries using .NET MAUI DevFlow (in-app agent + Driver + CLI + MCP).

    245 GitHub stars~2.3k tokensUpdated 2 days ago
    MobileAuto-check passed
  • Convex Insights

    openclaw/clawhub

    Query a running Convex app's logs + health in natural language (official MCP): failures, slow/expensive functions, deploy causality — scoped, evidence-backed, with a dashboard deep link.

    9.5k GitHub starsUsed in 1 repo~1.1k tokens
    MobileAuto-check passed

More from niki914/zafiro

All 9 skills in this repo
  • Jugg Android Dev Loop

    niki914/zafiro

    A skill your agent uses when editing source files (Java/Kotlin/XML/layout/AndroidManifest/Gradle) in a Android project, or when user asks to build/deploy/verify an Android app.

    241 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Release New Version

    niki914/zafiro

    A skill your agent uses when the user wants to release a new Zafiro version — drafting bilingual release notes, deciding the next version number, bumping app/build.gradle.kts, tagging, and…

    241 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Add Worktree

    niki914/zafiro

    A skill your agent uses when the user wants to start work in a new git worktree — "new worktree", "spin up a worktree/branch for this", "work on X in another worktree", "branch this off".

    241 GitHub stars~669 tokensUpdated today
    Auto-check passed
  • Install a skill from a public GitHub repository onto this device.

    241 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Skill Creator

    niki914/zafiro

    Create new skills, modify and improve existing skills, and measure skill performance.

    241 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Termux

    niki914/zafiro

    Load this skill for anything involving Termux (com.termux) — first-time SSH setup, connecting to Termux, or a Termux connection that stopped working.

    241 GitHub stars~688 tokensUpdated today
    Auto-check passed

Categories

Questions about Assistant Add Support

What does Assistant Add Support do?

为语音助手宿主(如小布助手 Breeno 等)适配新版本 Xposed 接管支持。当用户要求支持新版本助手、适配助手应用更新、分析新版本 hook 点或解决宿主升级导致的接管失效时使用。. Assistant Add Support is an agent skill from niki914/zafiro.

When should I use Assistant Add Support?

Assistant Add Support fits situations like: mobile work in your project.

How do I install Assistant Add Support in Claude Code?

Run `npx skills add niki914/zafiro --skill assistant-add-support -a claude-code`. Or copy the skill folder (.agents/skills/assistant-add-support in niki914/zafiro) into .claude/skills/assistant-add-support in your project. Claude Code loads it when a task matches its description.

How do I install Assistant Add Support in Codex?

Run `npx skills add niki914/zafiro --skill assistant-add-support -a codex`. Or copy the skill folder (.agents/skills/assistant-add-support in niki914/zafiro) into .agents/skills/assistant-add-support in your project. Codex loads it when a task matches its description.

Can I use Assistant Add Support 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 niki914/zafiro --skill assistant-add-support -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/assistant-add-support, .gemini/skills/assistant-add-support, .github/skills/assistant-add-support and .opencode/skills/assistant-add-support in your project.

What does Assistant Add Support need to run?

Going by SKILL.md and its folder, Assistant Add Support needs the command-line tools its instructions call (adb).

Does Assistant Add Support access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Assistant Add Support 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 Assistant Add Support use?

Assistant Add Support is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Assistant Add Support use?

About 543 tokens (SKILL.md is roughly 2.2k 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 Assistant Add Support?

Skills that share tags, products or a category with Assistant Add Support: Marionette Flutter Drive App (leancodepl/marionette_mcp, 482 stars), Deep Links (stacklok/toolhive-studio, 171 stars), Asc Aso Audit (CamilleScholtz/swmpc, 239 stars) and Use Appclaw Agent CLI (appclawhq/AppClaw, 117 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Assistant Add Support?

niki914 (a GitHub user) maintains it in niki914/zafiro, which has 241 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 10, 2026.

Source: niki914/zafiro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.