Build a MulmoTerminal plugin (a gui-chat-protocol tool with its own card) with the user, by asking one question at a time until the idea is concrete, then scaffolding it from the npm template, building it, installing it into this workspace and trying it in place — and again after every change. Use when the user wants to make, build or prototype a plugin, a new tool, or a custom card for MulmoTerminal or MulmoClaude, or presses "Make a plugin" in Settings → Installed plugins. Works in whatever...
284 stars
0 votes
0 copies
0 views
Added December 2, 2026
developmentgobashvuenodeawsgitapi
Works with
claude code
terminal
api
Security analysis
B88/100
criticalDownloads and executes remote scripts — classic supply chain attack
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Mulmoterminal Plugin Create?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/receptron-mulmoterminal-plugin-create)
---
name: mulmoterminal-plugin-create
description: Build a MulmoTerminal plugin (a gui-chat-protocol tool with its own card) with the user, by asking one question at a time until the idea is concrete, then scaffolding it from the npm template, building it, installing it into this workspace and trying it in place — and again after every change. Use when the user wants to make, build or prototype a plugin, a new tool, or a custom card for MulmoTerminal or MulmoClaude, or presses "Make a plugin" in Settings → Installed plugins. Works in whatever language the user writes in.
---
# Make a plugin with the user
A plugin is one tool an agent can call (`TOOL_DEFINITION` + a handler that runs in the MulmoTerminal
server) and, optionally, a card that draws the result (`View.vue`). The template
`create-mulmoclaude-plugin` is a working counter; you turn it into what the user wants.
The user may not be an engineer. Ask about what the tool is FOR, not about code, until step 2.
When the request says `reply in <language>`, use that language from your first message on.
## 1. Ask, one question at a time
Ask ONE question per message and wait for the answer. When an answer is vague, ask a follow-up
instead of guessing. Skip a question the user already answered. Cover:
1. **When should an agent call it?** One sentence. It becomes the tool's `description`.
2. **What does it need to be told?** Each input, its type, whether it is required. It becomes the
JSON Schema in `definition.ts`.
3. **What does it answer, and what should the card show?** The handler returns `{ message, data }`:
`message` is what the agent reads, `data` is what the card draws. No card is fine: then there is
no `data`.
4. **Does it keep anything?** Data that must survive goes in `files.data` (the template's counter
does). Should the card have buttons that act on it (`dispatch`)?
5. **Does it call an outside service?** Which one, and does that need a key? Plugins use the
runtime's `fetch`, never their own; a key must not be written into the code.
6. **Names.** The npm package name (e.g. `@<their-npm-user>/weather-card`, or unscoped) and the tool
name (camelCase, a verb: `fetchWeather`). The card's languages (en / ja).
Then check the tool name is free. A name already offered here is not offered again (only the server log says why):
```bash
curl --noproxy localhost -s "http://localhost:${MULMOTERMINAL_PORT:-34567}/api/tools" \
| node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>console.log(JSON.parse(s).tools.map(t=>t.toolName).join("\n")))'
```
If it is taken, say by what, and ask for another name.
Finally show the whole spec on one screen (purpose, inputs, answer, card, storage, outside services,
names, folder) and **wait for the user's approval** before writing anything.
## 2. Scaffold
In the cell's current directory, unless the user named another:
```bash
npx create-mulmoclaude-plugin@latest <npm name>
cd <the folder it created>
yarn install
```
The folder is named after the package (a scope is dropped). Read its `README.md`: it explains the
files and the runtime API. Then replace the counter:
- `src/definition.ts` — `name`, `description`, `parameters` from the spec.
- `src/index.ts` — the handler, exported under exactly the tool name. Parse its arguments with Zod.
Keep the template's answer shape `{ message, data }` (its `answer` helper): without `message` the
agent is told only "Done", and without `data` no card is drawn.
All I/O goes through the runtime (`files`, `fetch`, `pubsub`, `log`); the lint preset rejects
`node:fs`, `console` and a bare `fetch`.
- `src/View.vue` — draws `selectedResult.data`. Delete it (and the `viewComponent` in `src/vue.ts`)
only if the spec has no card.
- `src/lang/en.ts`, `src/lang/ja.ts` — the card's words.
- `README.md`, and `description` in `package.json`.
## 3. Check
```bash
yarn typecheck && yarn lint && yarn build
```
Fix every error before going on. Do not silence a rule.
## 4. Install into this workspace
Find the workspace this MulmoTerminal reads, then pack and install:
```bash
LEDGER=$(curl --noproxy localhost -s "http://localhost:${MULMOTERMINAL_PORT:-34567}/api/plugins/runtime/ledger" \
| node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>console.log(JSON.parse(s).ledgerPath))')
WORKSPACE=$(dirname "$(dirname "$LEDGER")")
npm pack
npx mulmoterminal@latest plugin add ./<the .tgz npm pack printed> --yes --cwd "$WORKSPACE"
```
Always pass `--cwd`: without it the command edits a ledger in the current folder, which nothing reads.
Installing the same version again with new bytes replaces it; there is no need to bump the version.
A moment later the running server picks it up. Check:
- the server's answer to the `/api/tools` command above now names the tool;
- if it does not, `curl … /api/plugins/runtime/ledger` shows the entry with no `toolName`, and the
server's log has a `[plugins/runtime]` line saying why. Ask the user for that line if you cannot read the log.
## 5. Try it
- **Claude Code** is told the tool list changed and sees the new tool in this session: call it
yourself with a realistic input, and look at the card in the Canvas. In a project cell, the tool
is in the `plugins` group: if that group is not switched on for this folder, it is not offered —
say so and ask the user to switch it on, or to open a workspace cell.
- **Any other agent** keeps the tool list it started with: ask the user to open a new cell and try
it there, and tell them what to ask for.
- An open MulmoTerminal page loads the new card by itself. Ask the user whether it looks right.
## 6. Change and repeat
For each change the user asks for: edit, then steps 3 and 4 again (build, pack, add), then try it
again. Keep going until the user is happy.
## 7. Publish (only if the user asks)
Two ways, in the template's `README.md` under "Publish":
- **npm** — the user runs `npm publish --access public` themselves (it asks for their login and a
one-time code, which you cannot answer). Give them the exact command and the folder.
- **GitHub release** — a tag matching `package.json`'s version; the template's release workflow
attaches the `.tgz`. Others then install with `mulmoterminal plugin add github:<owner>/<repo>#v<version>`.
Do not publish, push or create a repository without the user saying so.
## Where to read more
- MulmoTerminal's plugin guide for developers: https://www.mulmoterminal.com/guide/en/plugin-development.html
- Installing plugins: https://www.mulmoterminal.com/guide/en/installed-plugins.html