plugin-service

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

A guide to building HTTP services for NeMo Helix plugins using FastAPI, a Python framework for web APIs. It covers REST routes, CRUD operations for creating, reading, updating, and deleting data, pagination, filtering, authorization, and route tests.

In plain words
What is it for?
Use it when adding API routes, defining a plugin service, implementing CRUD endpoints, handling paged or filtered results, or testing FastAPI routes.
Why use it?
It provides the structure needed to expose plugin data and operations as consistent, protected web endpoints. It also avoids repeating setup for common list and CRUD behavior.

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 adding API routes, defining a plugin service, implementing CRUD endpoints, handling paged or filtered results, or testing FastAPI routes.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/plugin-service"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/plugin-service.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,638 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.00089 $0.02638
Opus 5.5 $0.00036 $0.01055
Sonnet 5.5 $0.00018 $0.00528
Haiku 4.5 $0.00009 $0.00264

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

Security

Grade A, and why

plugin-service 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-service/SKILL.md · 225 lines

How it starts

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

Plugin HTTP Service (NemoService)

Class Signature

from typing import ClassVar
from nemo_helix_plugin.service import NemoService, RouterSpec

class MyService(NemoService):
    name: ClassVar[str] = "my-plugin"          # REQUIRED — entry-point key, URL prefix
    dependencies: ClassVar[list[str]] = ["entities"]  # Helix services to wait for

    def get_routers(self) -> list[RouterSpec]:  # REQUIRED
        return [RouterSpec(_build_router(), tag="My Plugin", prefix="/v2/workspaces/{workspace}")]

    async def on_startup(self) -> None: ...     # optional — async init
    async def on_shutdown(self) -> None: ...    # optional — cleanup

Valid dependencies values: "entities", "auth", "jobs", "files", "secrets", "models", "inference-gateway". These services must be healthy before on_startup() is called.

URL Pattern

/apis/<name>/<spec.prefix>/<route-path>

Example: name="my-plugin", prefix="/v2/workspaces/{workspace}", route /widgets → /apis/my-plugin/v2/workspaces/{workspace}/widgets

Convention: always use prefix="/v2/workspaces/{workspace}" for resource endpoints.

Authorization

Every plugin HTTP route MUST carry a @path_rule — a route with no rule is a validation error, and under the default on_invalid_plugin=hard_fail the auth service refuses to build the OPA bundle rather than silently fence the route, so the platform 502s. Each route also declares exactly one OAuth scope with @AuthzScope.read / .write — a separate, orthogonal decorator. @router.<method> is the outermost decorator; @scope and @path_rule sit beneath it (their relative order is irrelevant):

from nemo_helix_plugin.authz import AuthzScope, CallerKind, PermissionSet, path_rule, perm

scope = AuthzScope("my-plugin")                    # owns my-plugin:read / my-plugin:write

class WidgetPerms(PermissionSet, namespace="my-plugin.widgets"):
    READ = perm("Read a widget")                   # -> "my-plugin.widgets.read"

@router.get("/widgets/{name}", response_model=Widget)
@scope.read                                        # OAuth scope gate
@path_rule(callers=[CallerKind.PRINCIPAL], permissions=[WidgetPerms.READ])
async def get_widget(...) -> Widget: ...

Read the full file on GitHub · 225 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 225 lines · 89 tokens per session scan A 44b59db167a6

Subscribe to this mod's changes

plugin-service is a skill published in the GitHub repository NVIDIA-NeMo/nemo-helix (160 stars, last pushed today), licensed Apache-2.0. It adds 89 tokens to every session and 2,638 once invoked, about $0.0004 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-service compared with skills from other repositories

plugin-service next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plugin-serviceNVIDIA-NeMo/nemo-helixSkill160todayApache-2.0A89Claude Code, Codex
trulens-blocking-guardrailstruera/trulensSkill3.7kyesterdayMITA19Claude Code, Codex
rust-gatewayBerriAI/litellmSkill65ktodaynoneA70Claude Code, Codex
vercel-composition-patternslangfuse/langfuseSkill38ktodaynoneA58Claude Code, Codex
open-sourcebrowser-use/browser-useSkill123ktodayMITA101Claude Code
stripe-projectsNousResearch/hermes-agentSkill269ktodayMITA15Claude Code, Codex
fastapi-patternsaffaan-m/ECCSkill317k4d agoMITA35Claude Code, Kiro