appfunctions

Analyze Android codebases and generate Kotlin AppFunctions for AI agent discovery.

Updated Jul 6, 2026
One-click install
npx skills add https://github.com/shirulot/codex-skill --skill appfunctions-shirulot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appfunctions
Source: https://github.com/shirulot/codex-skill/tree/main/appfunctions
Command: npx skills add https://github.com/shirulot/codex-skill --skill appfunctions-shirulot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the complexity of exposing Android app features to AI agents, ensuring that user workflows like media control or messaging are discoverable, correctly implemented, and safely executable without manual UI navigation.

Core Features & Use Cases

  • Feature Discovery: Analyzes existing codebases to identify high-value user journeys suitable for agentic automation.
  • Implementation & KDoc Refinement: Generates robust Kotlin code and optimizes documentation to ensure AI agents understand and execute functions accurately.
  • ADB Testing: Provides a suite of commands to verify function registration, execution, and state management directly on a device or emulator.

Quick Start

Use the appfunctions skill to analyze my current project and generate the necessary Kotlin implementations for my core user workflows.

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 features to AI agents for automated execution?

To expose Android app features to AI agents, you implement AppFunctions using Kotlin and the Jetpack AppFunctions library. This allows AI agents to discover and safely execute user workflows like media control without manual UI navigation.

How do I test AppFunctions locally on an Android emulator?

You test AppFunctions locally by running ADB shell commands provided by the skill. These commands verify function registration, execution, and state management directly on your connected device or emulator.

What Android API level is required for Jetpack AppFunctions integration?

Jetpack AppFunctions integration requires Android platform API level 36 or higher. You must target this API level in your Android project to ensure proper discovery and execution by AI agents.

How do I optimize KDoc for Model Context Protocol in Android Kotlin code?

You optimize KDoc for Model Context Protocol by refining Kotlin code documentation to ensure AI agents accurately understand and execute functions. The skill analyzes codebases and generates optimized documentation for agentic automation.

How do I identify high-value user workflows for AI agent automation in my codebase?

You identify high-value user workflows by analyzing your existing Android codebase with the skill. It detects suitable user journeys like messaging or media control and generates the necessary Kotlin implementations for AI agent discovery.

Does the appfunctions skill require KSP for Kotlin code generation?

The appfunctions skill leverages KSP for generating robust Kotlin code and optimizing AppFunction implementations. This ensures the generated code is correctly structured for AI agent discovery and safe execution.