AI Agent Handbook · Copy & Go
Let Your AI Agent
Build Plugins Locally
This isn’t a manual form — it’s a clean spec sheet designed for AI Agents. Copy the prompt below into Cursor, Claude Code, Codex, or any AI assistant so it writes the plugin straight into your local v2d plugins folder or opens a marketplace PR.
Create a v2d (声控台) plugin for "<App Name>" and install it directly on my computer.
1. Read the official plugin specification at:
https://v2d.illli.cc/plugin-spec.md
(Overview: https://v2d.illli.cc/llms.txt)
2. Design a clean schemaVersion: 2 plugin JSON with:
- An appropriate Emoji icon (e.g. "📝", "🎬", "🎵") and soft iconBg
- Accurate detect.windowPatterns & exePaths for "<App Name>"
- 4 to 6 genuinely useful mobile remote buttons (focus, hotkey, send_text, or ui: "compose")
3. Save the file directly into my local v2d plugins directory:
- Windows: %APPDATA%\dev.v2d.desktop\plugins\<id>\plugin.json
- macOS: ~/Library/Application Support/dev.v2d.desktop/plugins/<id>/plugin.json
4. Tell me once saved so I can click "Scan" in v2d Desktop to activate it immediately.
Machine-Readable Endpoints for AI Agents:
Local Plugin Directory (AI Can Write Here Directly)
Once your AI saves plugin.json into the folder below, click Plugins → Scan in v2d Desktop to load and sync it immediately:
| OS | Plugin Path |
|---|---|
| Windows | %APPDATA%\dev.v2d.desktop\plugins\<id>\plugin.json |
| macOS | ~/Library/Application Support/dev.v2d.desktop/plugins/<id>/plugin.json |
How to Contribute to the Official Marketplace
- Let Your Coding Agent Open a PR (Recommended): Switch to Option 2 above and paste the prompt into Cursor / Claude Code / Codex. It creates
plugins/<id>/plugin.jsoninillli-studio/v2d, runsnpm run build, and opens a PR. - Submit via GitHub Issue Form: Prefer not to use Git? Open the Plugin Submission Form ↗ and paste the JSON generated by your AI.
schemaVersion: 2 Quick Reference
Full machine-readable specification: plugin-spec.md ↗.
| Field | Values |
|---|---|
icon | Emoji ("🎬", "📝", "🎵") · icon.svg · data:image/... |
exec.type | focus · hotkey (chord) · send_text (text) · uia (target) · reset |
when | always · stopped · running · waiting_approval · running_or_wait |
ui | "compose" (opens mobile keyboard input sheet on tap) |