wox-plugin-creator
하는 일
이 스킬은 검색과 실행을 위한 도구인 Wox 런처의 플러그인 제작을 돕습니다. Wox에 자신만의 명령이나 기능을 추가하려는 개발자를 위한 것입니다.
사용하는 경우
- ✓Wox 런처용 새 플러그인을 만들고 싶을 때.
- ✓플러그인의 설정, 단축키, 검색 결과를 만드는 데 도움이 필요할 때.
- ✓플러그인을 공유하거나 로컬에 설치할 수 있도록 패키징하고 싶을 때.
스킬 링크
https://github.com/Wox-launcher/Wox/blob/master/.agents/skills/wox-plugin-creator/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 폴더의 메모를 검색하는 Wox 플러그인을 만들도록 도와주세요.”
매주 새 스킬 5개. 읽는 데 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
- 업데이트
- 2026. 11. 1.
댓글
- …