An agent plugin for developing OMNeT++ simulation models and the INET Framework. It gives AI coding agents (Claude Code, Codex and others) OMNeT++ skills. It also connects the agents to the OMNeT++ command-line tools: a NED/MSG/INI linter that runs after every edit, a language server, and an MCP server that answers questions about the model.
The repository is one plugin marketplace, omnetpp, with one plugin, omnetpp:
| Skills | For | Contents |
|---|---|---|
omnetpp-model-*, omnetpp-tooling |
Everyone who writes OMNeT++ models | Model development, coding conventions, debugging, documentation generation (opp_docgen) and the NED/MSG/INI tools. |
omnetpp-model-*, dev-* |
Maintainers of a model library | Working rules, fingerprint testing, behavior-preserving refactoring, git workflow, branch cleanup and rebase, review briefs, and the generic dev-* procedures they build on. |
inet-*, generic-* |
INET contributors | INET build environment, test suites, protocol conformance test planning, fingerprint and statistical tests, module development, release notes, showcases. |
The plugin also brings the lint hook, the language server and the omnetpp MCP server.
claude plugin marketplace add omnetpp/agent-pluginsclaude plugin install omnetpp@omnetppcodex plugin marketplace add omnetpp/agent-pluginscodex plugin add omnetpp@omnetppCodex starts a plugin's MCP server in the plugin directory, not in your project, so the
omnetpp MCP server is registered separately. With the tools on PATH (see below):
codex mcp add omnetpp -- opp_ide_mcpWithout them, or if opp_ide_mcp on PATH is a stale shim of the VS Code extension, run it
through npx instead:
codex mcp add omnetpp -- npx --yes -p @omnetpp/opp-tools opp_ide_mcpCodex runs a plugin's hooks only after you trust them, and asks again after every update of the plugin, because the trust is tied to the hook's content. Until then, the lint feedback after edits is missing.
The plugin also has manifests for Copilot CLI, Cursor and Antigravity. These are untested. They carry the skills, plus the language server (Copilot CLI) and the MCP server (Cursor).
To work on the plugin, install it from a clone of this repository instead of from GitHub. Claude Code and Copilot CLI then read the plugin straight from the checkout, so an edit takes effect in the next agent session; Codex copies it on install.
git clone https://github.com/omnetpp/agent-plugins.git ~/agent-pluginsThe local marketplace has the same name, omnetpp, so first remove one that was added
from GitHub. This also uninstalls its plugin.
claude plugin marketplace remove omnetpp
codex plugin marketplace remove omnetpp
copilot plugin marketplace remove omnetpp --forceThen add the checkout as the marketplace and install the plugin:
claude plugin marketplace add ~/agent-plugins
claude plugin install omnetpp@omnetppcodex plugin marketplace add ~/agent-plugins
codex plugin add omnetpp@omnetppcopilot plugin marketplace add ~/agent-plugins
copilot plugin install omnetpp@omnetpp- Claude Code and Copilot CLI pick up every change in the next session, also new skills and another git branch checked out.
- Codex keeps a copy of the plugin. After a change, install it again
(
codex plugin add omnetpp@omnetpp). It then asks again to trust a changed hook. - After editing
plugins.json, regenerate the manifests withnode scripts/gen-manifests.mjs; CI fails on stale ones. node tests/agent-install-smoke.mjsinstalls the checkout into each agent CLI it finds, in a throwaway home, and checks what the agent reports. Your own setup is not touched.
To go back to the released plugin, remove the marketplace again and add
omnetpp/agent-plugins.
-
Node.js 18 or newer, for the command-line tools from the
@omnetpp/opp-toolsnpm package (opp_lint,opp_lsp,opp_ide_mcp,opp_docgen). The plugin uses them fromPATH. If they are not there, it fetches a pinned version withnpx. The first fetch is slow, so installing them once is better:npm install -g @omnetpp/opp-tools
The OMNeT++ VS Code extension can also put them on
PATH("OMNeT++: Install Command-Line Tools"). -
Library NED folders (e.g. INET, for a model built on it) come from
omnetpp.nedPathin the project's.vscode/settings.json, or from theOMNETPP_NED_PATHenvironment variable. -
opp_repl (
pip install opp_repl, github.com/omnetpp/opp_repl) for the opp_repl-driven skills: branch cleanup and rebase, and statistical-test maintenance. The plugin does not install it.
A project repository (INET, OMNeT++) can carry a short entry-point skill and agent
settings that point teammates' agents to the plugin. project-stubs/ holds the
master copies.
The plugin contents (skills, manifests, scripts) are under the MIT License.
The @omnetpp/opp-tools command-line tools are not part of this repository and have their own
license. They are free for noncommercial use (teaching, academic research, personal
non-profit use) on the same terms as the OMNeT++ Academic Public License; commercial use
requires an OMNEST license.
See AGENTS.md for the skill layout, naming and layering rules.
CI checks the manifests and the skills, runs the lint hook, the language server and the
MCP server through the launcher on Linux, macOS and Windows (tests/hook-smoke.mjs,
tests/tools-smoke.mjs), and installs the plugin from the checkout into the latest
Claude Code, Codex and Copilot CLI (tests/agent-install-smoke.mjs). It does not run an
agent session.