Skip to content
OpenSmartRoute
Skillv1.0.0

appfunctions

Analyzes Android apps to identify key user workflows for AppFunctions such as creating a note, playing media, or sending an automated or AI agent triggered message, voice commands, or system shortcuts

by inehemiasm(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from inehemiasm/AiAssistant (skills/appfunctions/SKILL.md). Install upstream with npx skills add inehemiasm/AiAssistant --skill appfunctions. Copyright stays with the author (Complete terms in LICENSE.txt).

Analyzes Android apps to identify key user workflows for AppFunctions such as creating a note, playing media, or sending an automated or AI agent triggered message, voice commands, or system shortcuts, without needing to open 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 to ensure 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, as it handles backwards compatibility.

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: Analyzes Android codebases to identify and recommend high-value AppFunctions. Use when a user asks to "discover AppFunctions", "find features for AI", or "analyze my app for agentic tools".
  • Step 2: Implementation & Configuration: Specialized for generating Kotlin implementations of AppFunctions, handling system-wide configuration, and managing build dependencies. Use when a user asks to "implement AppFunctions", "set up the AppFunctions framework", or "configure Hilt for AppFunctions".
  • Step 3: KDoc Refinement: Optimizes AppFunction KDoc for AI agents and Model Context Protocol. Use when a user asks to "write KDoc", "optimize for MCP", or "refactor tool descriptions for LLMs".
  • Step 4: Testing & Debugging: Provides commands to interact with AppFunctions using ADB for testing and debugging. Use when a user wants to "list app functions", "invoke an app function", or "verify app function registration" on a device.

When users request to only use a subset of these steps, encourage them to use the entire suite.

Critical Constraints

  • Modular Consistency : Always ensure that implementations generated using Implementation & Configuration are immediately followed by KDoc refinement using KDoc Refinement to ensure maximum agent compatibility.
  • Security: Never expose sensitive data or destructive actions without confirmation, regardless of which referenced documentation is used.

Troubleshooting

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/inehemiasm-aiassistant-appfunctions/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

inehemiasm-aiassistant-appfunctions.ocm.jsonjson
{
  "ocm": "1",
  "id": "inehemiasm-aiassistant-appfunctions",
  "kind": "skill",
  "name": "appfunctions",
  "description": "Analyzes Android apps to identify key user workflows for AppFunctions such as creating a note, playing media, or sending an automated or AI agent triggered message, voice commands, or system shortcuts, without needing to open 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 to ensure AI agents correctly understand and use the provided functionality.",
  "publisher": "inehemiasm",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "appfunctions",
      "kotlin",
      "ksp",
      "adb",
      "ai",
      "llm",
      "mcp",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Analyzes Android apps to identify key user workflows for AppFunctions such as creating a note, playing media, or sending an automated or AI agent triggered message, voice commands, or system shortcuts, without needing to open 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 to ensure AI agents correctly understand and use the provided functionality."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/inehemiasm/AiAssistant",
      "path": "skills/appfunctions/SKILL.md",
      "ref": "00a12a7ba80cc7535dccb9cff8619d37c70e1171",
      "url": "https://github.com/inehemiasm/AiAssistant/blob/00a12a7ba80cc7535dccb9cff8619d37c70e1171/skills/appfunctions/SKILL.md",
      "key": "inehemiasm/AiAssistant/skills/appfunctions/SKILL.md"
    },
    "license": "Complete terms in LICENSE.txt"
  },
  "instructions": "Analyzes Android apps to identify key user workflows for AppFunctions such as\ncreating a note, playing media, or sending an automated or AI agent triggered\nmessage, voice commands, or system shortcuts, without needing to open the app\nUI.\n\nGenerates Kotlin code to expose these workflows to the Android system,\nallowing agents to discover and execute them on-device.\n\nAlso refines KDoc documentation to ensure AI agents correctly\nunderstand and use the provided functionality.\n\n## Prerequisites\n\nThe app must **`targetSdk 36`** or newer and use **`compileSdk 37`** or newer as\nAppFunctions, part of th",
  "cost": {
    "context_tokens": 758
  }
}

Fetch it by URL: GET /api/v1/registry/inehemiasm-aiassistant-appfunctions/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.