plugin-forge
English | 한국어 | 日本語 | 简体中文 | 繁體中文 | Español | Français | Deutsch | Português | Русский | Italiano

Multi-host plugin manager — Claude Code · Codex · agy · hermes · grok. Scaffold, doctor, install-validate, and publish plugins from one engine.
Born from the manifest juggling in toefl-prep and byoh: every plugin needs 5+ manifests (root plugin.json for agy, root plugin.yaml for hermes, .claude-plugin/{plugin,marketplace}.json for Claude, .codex-plugin/plugin.json for Codex, .grok-plugin/{plugin,marketplace}.json for grok, plus host-discovery SKILL copies). plugin-forge generates them, validates them, checks local installability, and ships to GitHub. An extra hub catalog is optional.
Commands
| Subcommand | What it does |
|---|
create <name> [--hosts ...] | Scaffold a new plugin with selected hosts' manifests + SKILL + discovery copies |
doctor [PATH] [--fix] | Validate manifests, sync host copies, structure check, install dry-run, remote sync |
install <PATH> [--host ...] | Validate local installability per host (staging + rollback) |
publish [PATH] [--marketplace] | git init + gh repo create + push + tag + marketplace registration |
Install
# Swap in your own GitHub user or org if you forked. From a local clone, pass "$(pwd)" instead.
# Claude Code
claude plugin marketplace add epicsagas/plugin-forge
claude plugin install plugin-forge@plugin-forge
# Codex
codex plugin marketplace add epicsagas/plugin-forge
codex plugin add plugin-forge@plugin-forge
# agy (repo URL, no .git)
agy plugin install https://github.com/epicsagas/plugin-forge
agy plugin enable plugin-forge
# hermes (repo URL)
hermes plugins install https://github.com/epicsagas/plugin-forge
hermes plugins enable plugin-forge
# Blocked by skills_guard (AGENTS.md mention → CRITICAL persistence)?
# Disable the install scan in hermes config: plugins.scan_on_install: false
# grok (Grok Build)
grok plugin marketplace add epicsagas/plugin-forge
grok plugin install plugin-forge@plugin-forge --trust
# or direct install without registering marketplace:
# grok plugin install epicsagas/plugin-forge --trust
Usage
Cross-platform: runs on Windows / Linux / macOS with any Python 3.8+. Standard library only (no pip installs).
# Scaffold a 5-host plugin
python3 scripts/forge.py create my-plugin --owner LOGIN --hosts claude,codex,agy,hermes,grok --desc "Does X"
# Check it (manifests, sync, install dry-run, remote)
python3 scripts/forge.py doctor my-plugin/
# Validate local installability
python3 scripts/forge.py install my-plugin/ --host all
# Publish the plugin repo (no hub)
python3 scripts/forge.py publish my-plugin/ --owner LOGIN
# Optional: also register in your own extra catalog
python3 scripts/forge.py publish my-plugin/ --owner LOGIN --marketplace epicsagas/REPO
On Windows use py or python instead of python3. No bash required.
Manifest pattern (toefl-prep / byoh)
| File | Host |
|---|
plugin.json (root) | agy |
plugin.yaml (root) + __init__.py | hermes |
.claude-plugin/plugin.json | Claude Code |
.claude-plugin/marketplace.json | Claude marketplace |
.codex-plugin/plugin.json | Codex plugin identity |
.agents/plugins/marketplace.json | Codex standalone catalog (local path "./") |
.grok-plugin/plugin.json | grok (Grok Build) — components are read natively from the plugin root |
.grok-plugin/marketplace.json | grok catalog (local source in this repo; sha-pinned remote in a hub) |
.mcp.json (root) | grok MCP config — file symlink to mcp_config.json |
.claude/skills/<n>/, .codex/skills/<n>/, .hermes/skills/<n>/ | discovery copies |