appfunctions

Analyze Android apps to expose user workflows as AI-accessible AppFunctions.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/yash-garg/pi-config --skill appfunctions-yash-garg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appfunctions
Source: https://github.com/yash-garg/pi-config/tree/main/skills/appfunctions
Command: npx skills add https://github.com/yash-garg/pi-config --skill appfunctions-yash-garg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps Android developers make app capabilities discoverable and executable by AI agents, reducing the need for users to navigate complex app interfaces manually.

Core Features & Use Cases

  • Workflow Discovery: Analyze Android apps to identify valuable user actions that can become AppFunctions, such as creating notes, playing media, or sending messages.
  • Kotlin Implementation Guidance: Generate AppFunctions-compatible Kotlin code, metadata configuration, dependency setup, and agent-friendly KDoc documentation.
  • Testing and Debugging: Use ADB workflows to inspect, invoke, enable, and troubleshoot registered AppFunctions on Android devices.
  • Use Case: A developer can analyze a note-taking app, expose create and edit note workflows to Android system agents, and optimize descriptions so AI assistants correctly invoke those functions.

Quick Start

Ask the appfunctions skill to analyze an Android app and recommend AppFunctions that can be exposed to AI agents.

Frequently Asked Questions about appfunctions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I expose Android app workflows to AI agents?

To expose Android app workflows to AI agents, you analyze your application to identify user actions and implement them as Kotlin AppFunctions with agent-friendly KDoc metadata. This enables AI assistants to discover and execute capabilities like creating notes or playing media without manual UI navigation.

What are AppFunctions in Android development?

AppFunctions in Android development are user workflows exposed as AI-accessible functions, allowing agents to discover and execute app capabilities directly. They require Android AppFunctions APIs, Jetpack libraries, and KSP configuration to register secure metadata that AI assistants can invoke.

How do I test AppFunctions using ADB on Android devices?

You test AppFunctions using ADB by running workflows to inspect, invoke, enable, and troubleshoot registered functions on Android devices. This verifies that AI agents can correctly trigger exposed Kotlin workflows and helps debug metadata configuration issues.

Do I need KSP configuration to implement AppFunctions in Kotlin?

Yes, you need KSP configuration to implement AppFunctions in Kotlin, along with Android AppFunctions APIs and Jetpack libraries. KSP processes the secure agent-oriented function metadata required for AI assistants to correctly discover and invoke your app's workflows.

How do I optimize KDoc documentation for AI agents in Android apps?

You optimize KDoc for AI agents by generating agent-friendly descriptions that help AI assistants correctly understand and invoke registered AppFunctions. This involves analyzing your Android app's workflows and tailoring the Kotlin KDoc metadata so agents can accurately interpret function purposes.