.agents/skills/wox-plugin-creator/references/plugin_overview.md
This document provides a high-level overview of the Wox plugin system for developers and AI agents.
A Wox plugin is an event-driven module that interacts with the main application via JSON-RPC.
npm) or a global query.Designed for complex, production-grade extensions. Wox manages the lifecycle of these plugins.
@wox-launcher/wox-plugin.wox-plugin.Benefits:
Designed for simple, one-off tasks or shell scripts.
assets/script_plugin_templates/.plugin.json to define metadata, trigger keywords, supported OS, features, i18n, and SettingDefinitions.init(): Initialize API clients and load settings.query(): Handle user input and return Result[].I18n field in plugin.json (recommended) or lang/ files. See plugin_i18n.references/plugin_json_schema.md before authoring SettingDefinitions.references/settings_patterns.md.Script plugins are the fastest way to get a working plugin with no build step.
assets/script_plugin_templates/..py or .js file and update the JSON metadata block in comments.query handler in the same file to return results.TriggerKeywords in Wox.get_plugin_json_schema: Schema specification for plugin.json.get_plugin_sdk_docs: Detailed API documentation for Node.js and Python.get_plugin_i18n: Guidelines for implementing multi-language support.