wox-plugin-creator
यह क्या करती है
यह स्किल डेवलपर्स को Wox लॉन्चर के लिए प्लगइन बनाने में मदद करती है। Wox एक खोज और लॉन्च टूल है। यह उन लोगों के लिए है जो Wox में अपने कमांड या फ़ीचर जोड़ना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप Wox लॉन्चर के लिए नया प्लगइन बनाना चाहते हैं।
- ✓जब आपको प्लगइन की सेटिंग्स, hotkeys या खोज परिणामों में मदद चाहिए।
- ✓जब आप प्लगइन को पैक करना चाहते हैं ताकि उसे साझा या लोकली इंस्टॉल कर सकें।
Skill का लिंक
https://github.com/Wox-launcher/Wox/blob/master/.agents/skills/wox-plugin-creator/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे फ़ोल्डर के नोट्स खोजने वाला Wox प्लगइन बनाने में मेरी मदद कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आपका एजेंट आपकी चुनी भाषा में शुरुआती प्रोजेक्ट बनाता है, फिर प्लगइन का विवरण, सेटिंग्स और फ़ीचर लिखने में मदद करता है, और उसे पैक करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Wox Plugin Creator
Quick Start
- Scaffold a Node.js plugin (clones template repo):
python3 scripts/scaffold_wox_plugin.py --type nodejs --output-dir ./MyPlugin --name "My Plugin" --trigger-keywords my
- Scaffold a Python plugin (clones template repo):
python3 scripts/scaffold_wox_plugin.py --type python --output-dir ./MyPlugin --name "My Plugin" --trigger-keywords my
- Scaffold a single-file SDK plugin (uses local templates; plugin-id auto-generated; writes one file into the live user plugin directory so a running Wox instance can load it immediately). Omit
--output-dir; default is~/.wox/wox-user/plugins/single-file/(Windows:%USERPROFILE%\.wox\wox-user\plugins\single-file\):- Auto-detect this machine:
python3 scripts/scaffold_wox_plugin.py --type singlefile --name "Weather" --trigger-keywords weather - Explicit Node.js:
python3 scripts/scaffold_wox_plugin.py --type singlefile-nodejs --name "Weather" --trigger-keywords weather - Explicit Python:
python3 scripts/scaffold_wox_plugin.py --type singlefile-python --name "Weather" --trigger-keywords weather
- Auto-detect this machine:
Choose a plugin type
- Single-file SDK plugin: one
.pyor CommonJS.jsfile with full Public API, loaded into the existing Python/Node runtime host. No extra process per query. Create and edit only~/.wox/wox-user/plugins/single-file/Wox.Plugin.<Name>.js(or.py); Wox watches that directory and reloads on save. Requires Wox 2.4.2+; headerMinWoxVersionmust be"2.4.2". - SDK plugin (
.wox): multi-file package with dependencies, resources, TypeScript, andplugin.json.
Node.js first version must stay CommonJS (module.exports.plugin) and must not import @wox-launcher/wox-plugin.
Choose a runtime language
Honor an explicit Python or Node.js request from the user, including a .py or .js output filename.
When the user does not specify a language, detect this machine before scaffolding. Do not default to Python.
- Run
python3 scripts/detect_local_runtime.py(usepythonifpython3is missing). It printsnodejs,python, ornone. - If that script cannot run, check the floors yourself:
node --versionfor Node.js 20+, andpython3 --versionfor Python 3.10+. On Windows also trypy -3 --versionandpython --version. - Decision:
- Only one runtime meets the floor → use that runtime
- Both meet the floor → use Node.js
- Neither meets the floor → ask the user which language they want
- Map the choice to
--type:singlefile-nodejs/singlefile-python, ornodejs/python.--type singlefileapplies the same detection inside the scaffold.
Workflow
1) Scaffold plugin files
- Use
scripts/scaffold_wox_plugin.pyfornodejs,python,singlefile,singlefile-python, orsinglefile-nodejs. - Pass
--nameand--trigger-keywordsfor every runtime. The scaffold exits without them.--output-diris required for packaged SDK plugins; omit it for single-file SDK plugins so the file lands in~/.wox/wox-user/plugins/single-file/. - For Node.js and Python packages, the scaffold clones the official template repos and replaces placeholders like
{{.ID}},{{.Name}},{{.Description}},{{.TriggerKeywordsJSON}},{{.Author}}. - Before starting work in a new SDK plugin project, run
make initin the project root when the project has not been initialized yet. - Single-file SDK plugins are single-file host-loaded plugins. Prefer filenames like
Wox.Plugin.<Name>.jsorWox.Plugin.<Name>.py. - Single-file SDK destination: create and implement the plugin as one file in
~/.wox/wox-user/plugins/single-file/(Windows:%USERPROFILE%\.wox\wox-user\plugins\single-file\). That directory is what a running Wox instance loads; saving reloads after about 500ms, so the user can query the trigger keyword immediately. Omit--output-dirwhen using the scaffold, or write the file there directly fromassets/single_file_plugin_templates/. Do not also create a copy under the current repository (plugins/, workspace root, or a new folder). Pass--output-dironly when the user asks for a different path. - Do not put companion files (
*.test.js, README, extra modules) in the live directory. Wox loads every.jsand.pythere as a plugin. - Single-file SDK plugins must set header
MinWoxVersionto"2.4.2". The scaffold applies this default when--min-wox-versionis omitted. Do not lower it; Wox 2.4.2 is the first release that can load this plu
अक्सर पूछे जाने वाले सवाल
मैं कौन सी भाषाएँ इस्तेमाल कर सकता हूँ?
स्किल Node.js और Python को सपोर्ट करती है, और दोनों में एक-फ़ाइल प्लगइन भी।
एक-फ़ाइल प्लगइन क्या है?
यह एक स्क्रिप्ट फ़ाइल है जो मौजूदा Wox रनटाइम के अंदर चलती है, इसलिए हर खोज के लिए अलग प्रक्रिया शुरू नहीं होती।
क्या यह स्किल प्लगइन को स्टोर में जमा करती है?
नहीं। यह बिल्डिंग और पैकेजिंग पर केंद्रित है, और स्टोर में जमा करना एक अलग स्किल में आता है।
जानकारी
लेखक का मूल विवरण
Create, scaffold, implement, design logos for, and package Wox plugins (nodejs, python, singlefile-python, singlefile-nodejs). Use for plugin metadata, settings, i18n, APIs, refinements, hotkeys, structured queries, Plugin Tools, and local packaging. For official store submission or listing checks, prefer wox-plugin-submit2store.
repo: Wox-launcher/Wox
लोकप्रियता
- GitHub स्टार
- 28k
- रैंकिंग में स्थान
- #9942
- लाइसेंस
- GPL-3.0
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
wox-plugin-submit2store
28kयह आपके एजेंट को Wox प्लगइन को आधिकारिक स्टोर में जमा करने में मार्गदर्शन देती है, जिसमें fork, स्टोर प्रविष्टि और ज़रूरी स्क्रीनशॉट शामिल हैं।
wox-theme-creator
28kयह आपके एजेंट को Wox थीम फ़ाइल डिज़ाइन और परिष्कृत करने में मदद करती है, जिसमें संतुलित रंग पैलेट, पढ़ने योग्य अवस्थाएँ और वैकल्पिक पारदर्शिता शामिल हैं।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।