# create-plugin

create-plugin scaffolds TypeScript plugins for iPolloWork and OpenCode. Sets up tool definitions, runtime hooks, and registers the file in your project configuration.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 7523 repo stars
- Author: Devin-AXIS
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Devin-AXIS/iPolloWork/tree/HEAD/.opencode/skills/create-plugin/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/devin-axis-create-plugin

## What it does

This skill automates the creation of custom OpenCode extensions for iPolloWork. Once you specify what the tool should accomplish, the assistant builds an asynchronous factory function inside `.opencode/plugins/` and registers the script path within `opencode.json`. You only need to restart the session to activate the newly generated code.

The generated modules rely on Zod for parameter typing. Tool arguments strictly require the raw `shape` property rather than a full schema instance, which prevents validation errors during calls. Because the script executes in-process on Bun or Node, handlers can freely reach `fetch()`, native file system calls, and `process.env` credentials.

This setup diverges from Anthropic manifest plugins. It replaces static JSON files and remote sandboxes with locally executed TypeScript hooks and programmatic system prompt modifications.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill create-plugin -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/create-plugin/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/create-plugin/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill create-plugin -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/create-plugin/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill create-plugin -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/create-plugin/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Devin-AXIS/iPolloWork .opencode/skills/create-plugin
```

2. **Manually: put the files in place**
- File: `.github/skills/create-plugin/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill create-plugin -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Devin-AXIS/iPolloWork --path .opencode/skills/create-plugin
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/create-plugin/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Devin-AXIS/iPolloWork/tree/HEAD/.opencode/skills/create-plugin/SKILL.md

## When to use it
- scaffold OpenCode TypeScript plugins from a plain description
- define agent tools with Zod shape argument validation
- register local or published npm plugins into `opencode.json`
- attach lifecycle hooks to transform prompts or monitor execution

## Example prompts
- Make an iPolloWork plugin that saves notes into markdown files
- Scaffold an OpenCode plugin with a tool that fetches remote API data
- Create a plugin using tool.execute.before to log parameter calls

## Similar
- [react](https://affpapa.org/en/nevibecode/skills/react.md) — skill · 19100 installs
- [building-with-medusa](https://affpapa.org/en/nevibecode/skills/building-with-medusa.md) — skill · 5000 installs
- [mcp-developer](https://affpapa.org/en/nevibecode/skills/mcp-developer.md) — skill · 4600 installs
- [nestjs-drizzle-crud-generator](https://affpapa.org/en/nevibecode/skills/nestjs-drizzle-crud-generator.md) — skill · 3800 installs
- [svelte](https://affpapa.org/en/nevibecode/skills/svelte.md) — skill · 1300 installs
- [safe-action-middleware](https://affpapa.org/en/nevibecode/skills/safe-action-middleware.md) — skill · 1200 installs

## Other versions with the same name
- [create-plugin · ruvnet](https://affpapa.org/en/nevibecode/skills/create-plugin.md) — 743 installs

From the same set: [devin-axis/ipollowork](https://affpapa.org/en/nevibecode/by/devin-axis/ipollowork.md) — 42 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
