본문으로 건너뛰기
Skillpedia
에이전트10k · #11910

appfunctions

하는 일

이 스킬은 Android 앱을 검토해 메모 만들기나 미디어 재생 같은 일반적인 사용자 작업을 찾고, 이를 AppFunctions로 바꿉니다. 노출되면 AI 에이전트와 음성 명령이 앱을 열지 않고도 이를 실행할 수 있습니다. 시스템 에이전트와 함께 작동하기를 원하는 Android 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓AI 에이전트나 음성 명령으로 Android 앱에서 메모를 만들거나 미디어를 재생하고 싶을 때.
  • ✓앱의 어떤 동작을 시스템 에이전트에 노출할 가치가 있는지 찾고 싶을 때.
  • ✓에이전트가 함수를 올바르게 고르고 호출하도록 Kotlin 코드와 명확한 설명이 필요할 때.

스킬 링크

https://github.com/android/skills/blob/main/device-ai/appfunctions/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/android/skills/blob/main/device-ai/appfunctions/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“AI 에이전트에 노출해야 할 내 Android 앱의 주요 작업을 찾아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 앱을 분석해 사용자 작업 흐름을 찾은 뒤, androidx.appfunctions 라이브러리로 Kotlin 코드를 작성합니다. 또한 에이전트가 각 함수를 언제 쓸지 이해하도록 설명을 다듬습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Analyzes Android apps to identify key user workflows to expose as AppFunctions, such as creating a note, playing media, or sending a message, for AI agents, voice commands, and system shortcuts to run without opening the app UI.

Generates Kotlin code to expose these workflows to the Android system, allowing agents to discover and execute them on-device.

Also refines KDoc documentation and the app description so AI agents correctly understand and use the provided functionality.

Prerequisites

The app must targetSdk 36 or newer and use compileSdk 37 or newer as AppFunctions, part of the Android platform API, are available from Android 16 onwards. Always use the Jetpack library because it handles backward compatibility. Use androidx.appfunctions:appfunctions and the KSP compiler androidx.appfunctions:appfunctions-compiler, version 1.0.0-beta01 or later.

Workflows

This skill enables the caller to discover features that will be provided to system agents, implement these with AppFunctions, improve function description for agents, and use ADB commands for local evaluation and testing.

The full AppFunction development flow consists of these four steps:

  • Step 1: Discovery: Analyze Android codebases to identify and recommend potential AppFunctions. Use this step when a user asks to "discover AppFunctions," "find features for AI," or "analyze my app for agentic tools."
  • Step 2: Implementation and configuration: Generate Kotlin implementations of AppFunctions, manage system-wide configuration, and configure build dependencies. Use this step when a user asks to "implement AppFunctions," "set up the AppFunctions framework," or "configure Hilt for AppFunctions."
  • Step 3: KDoc refinement: Optimize AppFunction KDoc and the app description for AI agents and Model Context Protocol. If a user asks to "write KDoc", "optimize for MCP", or "refactor tool descriptions for LLMs", use this step.
  • Step 4: Testing and debugging: Provide commands to interact with AppFunctions using ADB for testing and debugging. If a user wants to "list app functions", "invoke an app function", or "verify app function registration" on a device, use this step.

When the user asks for a subset of the steps, run those steps and any step that the critical constraints require. Then list the skipped steps and ask whether to run them.

If they apply, you must load the following references:

  • Context and terminology: Defines the ubiquitous language, architecture definitions, and design patterns across the AppFunctions skill suite. Load when you need to understand core architecture terminology or check the distinctions between modern and legacy AppFunctions APIs.
  • Migration to service entry point : Migrates apps on AppFunctions 1.0.0-alpha09 or lower to the AppFunctionServiceEntryPoint architecture from 1.0.0-alpha10, and upgrades apps to 1.0.0-beta01. Load it when a user asks to migrate or upgrade existing AppFunctions code. When you find legacy AppFunctionConfiguration.Provider implementations, @AppFunction annotations, or appfn:description attributes, load it and ask the user before you migrate.

Critical constraints

  • Modular consistency: You must refine KDocs immediately after you generate AppFunction implementations.
  • Security: Expose only safe, non-destructive tasks that the app's UI already offers on that form factor. Never give agents wide-ranging access to user data or system resources. Never require or return passwords, financial details, private keys, or other highly sensitive personal information.
  • Descriptions: Describe what each function does, never how an agent must behave. Put call order across functions in the app description, not in function KDoc.

Troubleshooting

자주 묻는 질문

제 앱에는 어떤 Android 버전이 필요한가요?

AppFunctions는 Android 16 이상의 일부이므로, 앱은 SDK 36 이상을 대상으로 하고 SDK 37 이상으로 컴파일해야 합니다.

앱 화면 없이 함수를 테스트할 수 있나요?

네. 이 스킬에는 로컬 테스트와 평가를 위한 ADB 명령이 포함되어 있습니다.

앱 화면의 모양도 바뀌나요?

아니요. 목표는 에이전트가 앱 화면을 열지 않고도 작업을 실행할 수 있도록 작업 흐름을 노출하는 것입니다.

상세 정보

작성자의 원본 설명

Analyzes Android apps to find user workflows to expose as AppFunctions, such as creating a note, playing media, or sending a message. AI agents, voice commands, and system shortcuts then run them without opening the app UI. Generates Kotlin code with the androidx.appfunctions library, and refines KDoc and the app description so that agents choose and call functions correctly. Use this skill when discovering, implementing, documenting, testing, or upgrading AppFunctions in an Android app, including @AppFunctionDeclaration, @AppFunctionSerializable, @AppFunctionServiceEntryPoint, AppFunctionServ

repo: android/skills

인기도

GitHub 스타
10k
순위
#11910
라이선스
Apache-2.0
업데이트
2026. 10. 29.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬