Build your first custom Stream Dock plugin with Stream Dock Plugin Builder, an AI agent skill that starts from a working plugin template. This tutorial uses a Coin Flip action to walk through setup, key settings, device testing, animation, and packaging.
You describe the behavior, let the agent implement it, and test the result on your device before requesting a release build. The skill is a development tool for your agent, not an action you drag directly onto a key.
Before You Begin
- Have the Stream Dock app and a connected device ready for testing.
- Use an agent that can install skills and run local development commands.
- Ask the agent to check that Node.js and npm are available.
- Work in a dedicated project folder and review requested installations or command permissions.
The example uses one programmable key. Explore the MiraBox Stream Dock range for device options; controls and layouts depend on your model.
1. Install the Stream Dock Plugin Builder Skill
Open the official Stream Dock Plugin Builder repository and send its link to your agent with a short request:
Please install the Stream Dock Plugin Builder skill from https://github.com/MiraboxSpace/StreamDock-Plugin-Builder.
Installation depends on your agent. Follow its prompts, then start a new session or restart the app if needed for the skill to become available. Ask the agent to use streamdock-plugin-builder.

Example conversation from the source tutorial, translated into English. Your agent's response may differ.
2. Describe the Plugin's Behavior and Settings
A useful request explains three things: what triggers the action, what the user can configure, and what appears on the key. For this example, send:
Use streamdock-plugin-builder to create a Coin Flip plugin for Stream Dock. Each key press should flip between one and five coins. Add a Coins per press setting in the Property Inspector, with one coin selected by default. Show heads as a gold H and tails as a silver T on the key.
The agent creates the plugin manifest, key behavior, and Property Inspector, the settings panel for the selected action. In this workflow, npm run dev installs the development version into the Stream Dock plugins folder so you can test it.
Keep the first version small. Check the count setting and results before adding animation or extra options.
3. Bind the Action to a Key and Test It
- Restart Stream Dock after the first development installation so it discovers the new action.
- Expand Coin Flip in the action list on the right.
- Drag Flip Coins onto an available key in the device layout.
- Select that key and set Coins per press to 2.
- Press the matching key on your device and check that two results appear.
- Change the count to 5, press again, and check for five results.

Source tutorial screenshot: the selected key has the Coin Flip action, and the settings panel shows the default count of 1.
The new count applies to the next toss. An old result remaining visible immediately after a settings change is not, by itself, a failure.
4. Add Animation Through Test Feedback
Once the count setting works on your device, ask for one specific improvement:
The count setting works. Add a toss animation when I press the key: the coins should rise, turn, and land. Keep the final heads or tails results visible until the next press.
The agent updates the code and runs npm run dev again. Behavior changes in this development workflow normally reload automatically. Test the key again and check that the animation starts on press, finishes, and leaves the configured number of results visible.

Translated source conversation. Timing and verification statements shown here belong to the recorded example, not a guarantee for every generated plugin.

Source screenshot: three configured coins produce three displayed results.
Report what you observed rather than simply saying it does not work. Include the selected count, what happened after pressing the key, and what you expected. Repeat the edit-and-test cycle until the behavior is reliable.
5. Request a Release Build After Testing
When you are satisfied with the result on the device, tell the agent:
I have tested the plugin on my device. Please build the release version and prepare its installer.
The release step uses npm run build to bundle the runtime dependencies. Keep development testing and release packaging separate: a successful code-generation response is not a substitute for checking the actual key and settings.
6. Package and Install the .sdPlugin File
For the example plugin, ZIP the entire built com.local.streamdock.coinflip.sdPlugin folder. The archive must contain one top-level plugin folder, with manifest.json and the remaining plugin files inside it:
com.local.streamdock.coinflip.sdPlugin.zip
com.local.streamdock.coinflip.sdPlugin/
manifest.json
plugin/
propertyInspector/
...Show file extensions, then remove only the final .zip from the archive's name. The resulting installer file and its enclosed folder should have the same name, including .sdPlugin.
On a computer with Stream Dock installed, double-click the installer and follow the prompts. Look for Coin Flip in the action list afterward, bind it to a key, and repeat a quick test. Substitute your own plugin identifier when packaging a different project.
Troubleshooting
The Agent Cannot Find the Skill
Confirm that installation completed, then start a fresh session or restart the agent app as its instructions require. Use the exact skill name streamdock-plugin-builder. Check the repository's installation section for your client rather than assuming every agent uses the same setup.
Coin Flip Is Missing from Stream Dock
Quit and reopen Stream Dock after the first development installation. If the action is still missing, ask the agent to check the development command output and the destination plugins folder.
Changing the Count Does Not Change the Display
Check that the Property Inspector belongs to the same key you are pressing. Press the key again: the count controls the next toss, while the previous result can stay visible until then.
The Installer Opens as a ZIP
Show file extensions and check that the file no longer ends in .zip. Also confirm that Stream Dock is installed and that the archive contains the single correctly named plugin folder, not loose files or an extra wrapper folder.
The Generated Plugin Behaves Incorrectly
Keep it in development mode, give the agent the observed behavior and any error output, and test the revised version. Do not package it for others until the settings and key behavior work as expected.
Keep Building Your Stream Dock Workflow
The same development process can support other custom actions: define a small task, expose useful settings, test on the device, and package only after review. For ready-made plugins and community resources, visit MiraBox Space.