plugin-controller

plugin-controller is a skill for Claude Code, Codex from NVIDIA-NeMo/nemo-helix. It costs 81 tokens per session (3,225 once invoked), scanned A, original, Apache-2.0.

A background controller pattern for NeMo plugins that repeatedly lists objects and reconciles them toward the desired state. Reconciliation means checking actual state and taking steps to make it match the intended state.

In plain words
What is it for?
Use it for deployment lifecycle work, state-machine processing, periodic resource updates, and background clients that manage platform entities.
Why use it?
It handles recurring background work and service startup and shutdown without requiring each plugin to implement its own loop. Health checks and service dependencies can be part of the controller lifecycle.

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 for deployment lifecycle work, state-machine processing, periodic resource updates, and background clients that manage platform entities.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nvidia-nemo/nemo-helix/plugin-controller
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 plugin-controller
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 plugin-controller

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/plugin-controller/github.svg)](https://agentmods.dev/skills/nvidia-nemo/nemo-helix/plugin-controller)
Your own site
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/plugin-controller"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/plugin-controller/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 plugin-controller

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/plugin-controller"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/plugin-controller.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,225 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.00081 $0.03225
Opus 5.5 $0.00032 $0.01290
Sonnet 5.5 $0.00016 $0.00645
Haiku 4.5 $0.00008 $0.00323

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

Security

Grade A, and why

plugin-controller 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/plugin-controller/SKILL.md · 355 lines

How it starts

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

Plugin Controllers (NemoController)

Class Signature

from typing import ClassVar
from nemo_helix_plugin.controller import NemoController

class MyController(NemoController):
    name: ClassVar[str] = "my-plugin"           # REQUIRED — matches entry-point key
    dependencies: ClassVar[list[str]] = ["entities"]  # Helix services to wait for

    # Must implement:
    async def list_objects(self) -> list: ...    # return objects to reconcile this cycle
    async def reconcile_one(self, obj: object) -> None: ...  # reconcile a single object

    # May override:
    async def reconcile(self) -> None: ...       # default calls list_objects + reconcile_one
    async def on_startup(self) -> None: ...      # called once before first cycle
    async def on_shutdown(self) -> None: ...     # called after last cycle

    @property
    def interval_seconds(self) -> float:         # NOT ClassVar — see below
        return 10.0

    @property
    def is_healthy(self) -> bool:                # override for custom health check
        return True

Lifecycle

  1. Platform creates NemoControllerAdapter wrapping the controller instance
  2. on_startup() called once — initialize entity client, config, backends
  3. Loop: reconcile() called every interval_seconds
    • Default reconcile() → list_objects() → reconcile_one(obj) per item with error isolation
  4. On SIGINT/SIGTERM: waits for current reconcile() to complete, then calls on_shutdown()

on_startup() Patterns

__init__() must contain only None sentinels — no platform calls. All initialization goes in on_startup():

class MyController(NemoController):
    name = "my-plugin"

    def __init__(self) -> None:
        self._entities: NemoEntitiesClient | None = None
        self._interval_seconds: float = 10.0

    @property
    def interval_seconds(self) -> float:
        return self._interval_seconds

    async def on_startup(self) -> None:
        from nemo_helix_plugin.client_provider import get_async_nemo_client
        from nemo_helix_plugin.entities.client import AsyncEntitiesClient
        from nemo_helix_plugin.entity_client import NemoEntitiesClient
        from .config import MyPluginConfig

        config = MyPluginConfig.get()
        self._interval_seconds = float(config.controller_interval)

        client = get_async_nemo_client(as_service="my-plugin", internal=True)
        self._entities = NemoEntitiesClient(AsyncEntitiesClient.from_client(client))

    @property
    def entities(self) -> NemoEntitiesClient:
        if self._entities is None:
            raise RuntimeError("Controller accessed before on_startup()")
        return self._entities

Read the full file on GitHub · 355 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 · 355 lines · 81 tokens per session scan A b2dc6f7a917a

Subscribe to this mod's changes

plugin-controller is a skill published in the GitHub repository NVIDIA-NeMo/nemo-helix (160 stars, last pushed today), licensed Apache-2.0. It adds 81 tokens to every session and 3,225 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

plugin-controller compared with skills from other repositories

plugin-controller next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plugin-controllerNVIDIA-NeMo/nemo-helixSkill160todayApache-2.0A81Claude 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