creating-a-plugin

creating-a-plugin is a skill for Claude Code, Codex from NVIDIA-NeMo/nemo-helix. It costs 69 tokens per session (2,945 once invoked), scanned A, original, Apache-2.0.

A starting structure for building a new NeMo plugin, including its package layout, dependency declaration, and platform entry-point registration. Entry points tell the platform which plugin components it can discover and load.

In plain words
What is it for?
Use it when creating a plugin from scratch, setting up its Python package, adding a service, or learning how the platform discovers plugin components.
Why use it?
It removes the uncertainty of setting up a plugin package and registering its services correctly. This gives new plugin work a defined starting shape.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when creating a plugin from scratch, setting up its Python package, adding a service, or learning how the platform discovers plugin components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nvidia-nemo/nemo-helix/creating-a-plugin
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NVIDIA-NeMo/nemo-helix --skill creating-a-plugin
Clone the repo
git clone --depth 1 https://github.com/NVIDIA-NeMo/nemo-helix

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for creating-a-plugin

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/creating-a-plugin/github.svg)](https://agentmods.dev/skills/nvidia-nemo/nemo-helix/creating-a-plugin)
Your own site
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/creating-a-plugin"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/creating-a-plugin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for creating-a-plugin

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/creating-a-plugin"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/creating-a-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,945 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.02945
Opus 5.5 $0.00028 $0.01178
Sonnet 5.5 $0.00014 $0.00589
Haiku 4.5 $0.00007 $0.00295

Measured yesterday against content hash 592508c00938, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

creating-a-plugin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/nemo_helix_plugin/src/nemo_helix_plugin/.agents/skills/creating-a-plugin/SKILL.md · 296 lines

How it starts

The opening of the file, as written. The whole thing — 296 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Creating a NeMo Plugin

Quick Start — Minimal Plugin in 5 Steps

Step 1: Directory tree (NO __init__.py anywhere)

my-plugin/
├── pyproject.toml
└── src/
    └── nemo_my_plugin/
        └── service.py

Step 2: Minimal pyproject.toml

[project]
name = "nemo-my-plugin"
version = "0.1.0"
dependencies = ["nemo-helix-plugin"]

[project.entry-points."nemo.services"]
my-plugin = "nemo_my_plugin.service:MyService"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["src/nemo_my_plugin"]

Step 3: Minimal NemoService implementation

# src/nemo_my_plugin/service.py
from typing import ClassVar
from fastapi import APIRouter
from nemo_helix_plugin.authz import AuthzScope, CallerKind, path_rule
from nemo_helix_plugin.service import NemoService, RouterSpec

scope = AuthzScope("my-plugin")

class MyService(NemoService):
    name: ClassVar[str] = "my-plugin"
    dependencies: ClassVar[list[str]] = []

    def get_routers(self) -> list[RouterSpec]:
        router = APIRouter()

        @router.get("/hello")
        @scope.read
        @path_rule(callers=[CallerKind.PRINCIPAL], permissions=[])
        async def hello() -> dict:
            return {"message": "Hello from my plugin!"}

        return [RouterSpec(router, tag="My Plugin")]

Every plugin route needs an authz rule — the @scope.read/.write scope gate plus a @path_rule (here authenticated but permissionless, permissions=[]); see the plugin-authz skill for permissions and caller-kinds.

Step 4: Install editable

Install the plugin, plus nemo-helix[all] for the nemo CLI and platform used in Step 5. Keep nemo-helix out of the plugin's runtime dependencies.

uv pip install -e . "nemo-helix[all]"

Step 5: Start and test

nemo services run
# Routes now at: http://localhost:8080/apis/my-plugin/hello

pyproject.toml — Complete Template

[project]
name = "nemo-my-plugin"
version = "0.1.0"
description = "My NeMo Helix plugin."
requires-python = ">=3.11"
dependencies = ["nemo-helix-plugin", "pydantic>=2.0.0"]

# Optional: install the `nemo` CLI and platform for local development.
# A plugin must not depend on `nemo-helix` at runtime.
[dependency-groups]
dev = ["nemo-helix[all]"]

[project.entry-points."nemo.services"]
my-plugin = "nemo_my_plugin.service:MyService"

# Uncomment surfaces as you add them:
# [project.entry-points."nemo.cli"]
# my-plugin = "nemo_my_plugin.cli:MyCLI"

# [project.entry-points."nemo.jobs"]
# "my-plugin.job-name" = "nemo_my_plugin.jobs.job_name:MyJob"

# [project.entry-points."nemo.functions"]
# "my-plugin.fn-name" = "nemo_my_plugin.functions.fn_name:MyFunction"

# [project.entry-points."nemo.controllers"]
# my-plugin = "nemo_my_plugin.controller:MyController"

# [project.entry-points."nemo.sdk"]
# my-plugin = "nemo_my_plugin.sdk:MySDKResource"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["src/nemo_my_plugin"]

[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
pythonpath = ["src"]

Read the full file on GitHub · 296 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 296 lines · 69 tokens per session scan A 592508c00938

Subscribe to this mod's changes

creating-a-plugin is a skill published in the GitHub repository NVIDIA-NeMo/nemo-helix (160 stars, last pushed today), licensed Apache-2.0. It adds 69 tokens to every session and 2,945 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

creating-a-plugin compared with skills from other repositories

creating-a-plugin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
creating-a-pluginNVIDIA-NeMo/nemo-helixSkill160todayApache-2.0A69Claude Code, Codex
trulens-blocking-guardrailstruera/trulensSkill3.7kyesterdayMITA19Claude Code, Codex
promptfoo-redteam-setuppromptfoo/promptfooSkill28ktodayMITA65Claude Code, Codex
promptfoo-provider-setuppromptfoo/promptfooSkill28ktodayMITA66Claude Code, Codex
discount-reviewpromptfoo/promptfooSkill28ktodayMITA18Claude Code, Codex
code-reviewpromptfoo/promptfooSkill28ktodayMITA11Claude Code
trulens-evaluation-setuptruera/trulensSkill3.7kyesterdayMITA17Claude Code, Codex