Dev & Engineering appfunctionsandroidkotlinkspmcpkdocadb

AppFunctions Skill

Turn Android app workflows into on-device functions that AI agents can discover and invoke without opening the UI.

FollowSkills review · FSRS-2.0
Use with care
61/ 100 5-point scale 3.1 / 5
1 2 3 4 5 6
1Trust18 / 25 · 3.6/5

The skill explicitly states security constraints to avoid exposing sensitive data and to require user confirmation for destructive actions, and follows least privilege principles; no malicious or covert behavior detected, red lines not triggered. Deductions for incomplete permission management and confirmation process details.

2Reliability8 / 20 · 2.0/5

Instructions and reference docs are internally consistent and provide detailed steps and examples, but no test suites or reproducible execution evidence; error handling is limited to a few troubleshooting tips and does not cover all edge cases. Deductions for lack of tests and comprehensive error handling.

3Adaptability12 / 15 · 4.0/5

The skill has clear usage scenarios and trigger conditions, and a defined target audience, but capability boundaries and non-fit scenarios are not explicit, and no adaptation for mainland China network environments; may rely on overseas services. Deductions for unclear boundaries and environment fit.

4Convention12 / 15 · 4.0/5

Documentation is well-layered, includes prerequisites, steps, examples, and troubleshooting, and provides LICENSE and author info, but lacks explicit version history, changelog, and maintenance responsibility statements. Deductions for incomplete version governance.

5Effectiveness7 / 15 · 2.3/5

The skill clearly describes the core task and expected outputs, but direct usability of outputs is unverified, and comparative benefit over alternatives is unclear. Deductions for lack of actual validation.

6Verifiability4 / 10 · 2.0/5

Key claims are supported by documentation, but only a single official source; no third-party corroboration or executable tests/CI evidence. Deductions for limited evidence types.

Evidence confidence:Low Reviewed Aug 07, 2026 Reviewed revision 28822b2306f3
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • The skill may depend on overseas services (e.g., Google Maven, Androidx) that may be unreachable in mainland China networks; environment fit should be carefully evaluated.
  • No version history or changelog provided, and maintenance responsibility is unclear, posing long-term update risks.
  • Static review cannot verify actual execution; reliability and effectiveness scores are inferred from documentation, so testing is needed before practical use.
See the full review method →

What does this skill do, and when should you use it?

This skill helps developers analyze Android apps to identify key user workflows that can be exposed as AppFunctions, and generates the corresponding Kotlin code. AppFunctions are part of the Android platform API (available from Android 16) that allow system agents to invoke app features directly without opening the UI. The skill covers the full flow from discovery, implementation, KDoc refinement, to ADB-based testing. It requires apps to target SDK 36+ and compile with SDK 37+, and recommends using the Jetpack library for backward compatibility.

Analyzes Android codebases to identify and recommend candidate AppFunctions (e.g., creating notes, playing media, sending messages). Generates Kotlin implementations for AppFunctions and configures system-wide and build dependencies. Refines KDoc documentation to ensure AI agents and MCP can correctly understand and use the functions. Provides ADB commands to list, invoke, and verify registered app functions.

  1. A developer wants to let an AI assistant trigger app actions like creating a note or playing media without opening the app.
  2. An Android app needs to expose its features as AppFunctions for system agents to discover and execute on-device.
  3. A team wants to improve the KDoc of their function APIs so that LLMs and MCP clients can use them accurately.
  4. A developer needs to debug or verify that their AppFunctions are properly registered using ADB commands.
  5. A developer migrating from an older AppFunctions version (≤ alpha09) to the new service entry point architecture.

What are this skill's strengths and limitations?

Pros
  • Follows official Android platform standards and Google best practices
  • Covers the complete development flow from discovery to testing with clear steps
  • KDoc refinement improves AI and MCP understanding
  • Provides ADB commands for local verification
Limitations
  • Requires high SDK levels (targetSdk 36+) which may be costly for legacy apps
  • Only works on Android 16+; the Jetpack library is required for backward compatibility
  • No bundled test cases or example code; verification is left to the user
  • May not cover all app types or complex scenarios

How do you install this skill?

Use Android CLI to install this skill into the current directory: android skills add --skill=appfunctions --project=.. To install all skills, run android skills add --all. If no agent directories are specified, skills are installed to ~/.gemini/antigravity/skills.

How do you use this skill?

After installation, ask your AI assistant to perform tasks like 'discover AppFunctions in my app' or 'implement AppFunctions and configure Hilt'. The skill will guide you through the steps. Ensure your app meets prerequisites: targetSdk 36+, compileSdk 37+ and uses the Jetpack library for AppFunctions.

FAQ

Is this skill free and what license is it under?
Yes, it is open-sourced under the Apache License 2.0, so it is free to use.
What development environment is needed?
You need the Android SDK (latest) and build tools, plus Kotlin, KSP, and ADB.
How do I adapt an existing app?
You must raise targetSdk to 36+ and compileSdk to 37+, and use the Jetpack AppFunctions library. For legacy versions, follow the migration guide to adopt the service entry point architecture.

More skills from this repository

All from android/skills

Related skills