Skip to content

Your first plugin in 10 minutes ​

The easier way: Dissent Maker

On the Dissent desktop app, open Server settings → Plugins → Make your own. Dissent Maker makes the folder for you, shows the plugin live while your AI (Claude Code) works on it, lets you try it in a server, and publishes it as one file signed with your key when you press Publish. No kit token, no commands. A folder made with the kit below is brought in there (Bring one in → From a folder) to try and publish — the kit itself checks and previews offline; it no longer talks to your node.

You will make a plugin by telling an AI what you want — Claude Code (or the Code tab in the Claude desktop app), Cursor, or any AI tool that works on a folder. Dissent gives you a project folder that carries everything the AI needs: a short AGENTS.md/CLAUDE.md, the SDK reference written for an AI, small working recipes, and commands that check and preview the plugin the way your node will run it. No AI key is needed from Dissent; you use the AI you already have.

You need Node.js 20 or newer (on nodejs.org, the LTS button). On Windows, run the commands below in Command Prompt (Start → type cmd).

1. Make the folder (1 minute) ​

bash
npx --yes --package https://YOUR-NODE/sdk/plugin-kit.tgz dissent-plugin create my-plugin --node YOUR-NODE
cd my-plugin
npm install

Use the address of the Dissent site your plugin is for (for example happyhour.chat). Every node serves the kit that matches its own version of Dissent, and the folder is pinned to it.

my-plugin/
  AGENTS.md, CLAUDE.md   what a plugin is, the rules, the loop — short, it points to files
  sdk/                   the reference: every capability and its permission, manifest, server SDK, events, limits
  recipes/               small working plugins (poll, leaderboard, welcome, role picker, …) + INDEX.md
  plugin/                YOUR plugin: manifest.json, plugin.js (the page), server.js (optional, runs on the node)

2. Tell the AI what you want (5 minutes) ​

Open the folder in your AI tool and say what your community needs:

"Make a poll for our raid nights: /raid asks who is in, members click Tank, Healer or DPS, and a side panel shows the line-up."

The AI reads AGENTS.md, opens the recipe it needs, writes plugin/, and runs the loop below by itself. It never sees your messages, your members or your node's secrets — the preview uses fake members and fake data.

3. The loop: check and preview ​

bash
npm run check     # the node's own rules: exit 0 = your node will accept it
npm run dev       # preview at http://127.0.0.1:5178/ — every place the plugin shows, at once
  • npm run check — the manifest against the node's schema and rules, asking for exactly the permissions the code uses, sizes, the code agreeing with the manifest, and a run in every place.
  • npm run dev — opens the plugin in the channel, side panel, phone, profile, overlay… on a pretend Dissent, with a command box. It reloads on every save and writes what happened to .dissent/preview.log (errors, refused calls, what each command answered), so the AI reads its own mistakes without you copying them.

4. Try it and publish — in Dissent Maker ​

When it works in the preview, open Dissent Maker in the Dissent desktop app (Server settings → Plugins → Make your own) and bring the folder in (Bring one in → From a folder). There you try it in a server you manage with a live log, see what members will be asked for, and press Publish: one file, signed with your account key — never by the kit or the AI. (The kit's link and send and its kit tokens were removed in November 2026; the web app does not make plugins.)

By hand, without an AI ​

Everything above works without an AI: edit plugin/ yourself and run the same two commands. The mock host is also a library for your own tests — createMockHost({ manifest, place, server }) from @dissent/plugin-kit drives commands, clicks, events and webhooks, with the node's real server SDK on a pretend node. Every call the SDKs have, and the permission each one needs:Every SDK call.