Skip to content

About

A git repo template for using a single repo to support the same plugin for multiple coding harnesses.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

harness-plugin-template

version skills check tests license

A template for one coding-agent plugin that installs, from the same repository, into Claude Code, OpenAI Codex, GitHub Copilot CLI, VS Code, Cursor, Google Antigravity, Gemini CLI, Qwen Code, Kiro, Factory Droid, Augment Auggie, JetBrains Junie, Devin, Hermes, Kimi Code, opencode and Pi, and through npx skills.

You write skills (and optionally agents, hooks, MCP servers and code) once. A small generator writes every harness's manifest from one file, plugin.config.json, so the name, version and description are kept in one place. CI fails if a generated file is out of date. CI is three small workflows that call the shared ones in rjstone/plugin-ci, so a fix there reaches every plugin.

Using the template

  1. Create a repository from this template and name it <name>-plugin (lowercase, hyphens).
  2. Edit plugin.config.json: name (<name>), description, author, URLs, and which harnesses to ship to.
  3. Replace skills/example/ with your skills and assets/icon.png with your icon.
  4. Run node scripts/build.ts (Node 22.18 or later) and commit what it writes.

AGENTS.md documents the full layout, every metadata file, the conflicts between harnesses and how this layout resolves them.

Installing a plugin made from it

Replace <owner>/<repo> and <name> with the plugin's own.

Harness Command
Claude Code /plugin marketplace add <owner>/<repo>, then /plugin install <name>@<name>
OpenAI Codex codex plugin marketplace add <owner>/<repo>
GitHub Copilot CLI copilot plugin install <owner>/<repo>
VS Code add "<owner>/<repo>" to the chat.plugins.marketplaces setting
Cursor install from the Cursor marketplace once published
Google Antigravity agy plugin install https://github.com/<owner>/<repo>
Gemini CLI gemini extensions install https://github.com/<owner>/<repo>
Qwen Code qwen extensions install <owner>/<repo>
Kiro Powers panel, Add Custom Power, then the repository URL
Factory Droid droid plugin marketplace add <owner>/<repo>, then droid plugin install <name>@<name>
Augment Auggie auggie plugin marketplace add <owner>/<repo>
JetBrains Junie CLI /extensions marketplace add <owner>/<repo>, then /extensions install <name>
Devin devin plugins install <owner>/<repo>
Hermes hermes plugins install <owner>/<repo>
opencode add https://raw.githubusercontent.com/<owner>/<repo>/main/skills/ to skills in opencode.json
Pi pi install git:github.com/<owner>/<repo>
Any agent, skills only npx skills add <owner>/<repo>

Some of these are still being tested; see TODO.md.

Licence

MIT. See LICENSE.

About

A git repo template for using a single repo to support the same plugin for multiple coding harnesses.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages