Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/NVIDIA-NeMo/nemo-helixnpx agentmods add skills/nvidia-nemo/nemo-helix/plugin-authzWrote 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.
[](https://agentmods.dev/skills/nvidia-nemo/nemo-helix/plugin-authz)<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/plugin-authz"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/plugin-authz/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.
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/plugin-authz"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/plugin-authz.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00130 | $0.03073 |
| Opus 5.5 | $0.00052 | $0.01229 |
| Sonnet 5.5 | $0.00026 | $0.00615 |
| Haiku 4.5 | $0.00013 | $0.00307 |
Grade A, and why
plugin-authz 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.
How it starts
The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plugin HTTP Authorization (path_rule / AuthzScope)
Authz is derived entirely from the routes. Each handler carries two orthogonal decorators — a @path_rule (who may call + what they must hold) and an @AuthzScope.read/.write (the OAuth scope gate). The platform reads them off the mounted routes to build the permission catalog, the per-endpoint bindings, and the OPA bundle. There is no separate permission list to keep in sync.
THE RULE
Every plugin HTTP route MUST carry a @path_rule — directly, or via a route factory you passed authz= to. A route with no rule is a validation error: the offending routes are emitted as explicit deny markers (they override every allow, including the service * wildcard and the HelixAdmin bypass), and under the default on_invalid_plugin="hard_fail" the auth service refuses to build the OPA bundle — the platform 502s rather than silently fencing the route.
If you add a route, you add a rule. If the platform starts 502-ing after you touch a plugin, suspect an unruled route first.
Recipe — hand-written route
from nemo_helix_plugin.authz import AuthzScope, CallerKind, PermissionSet, path_rule, perm
scope = AuthzScope("myplugin") # owns scopes myplugin:read / myplugin:write
class ItemPerms(PermissionSet, namespace="myplugin.items"):
READ = perm("Read an item") # id -> "myplugin.items.read"
@router.get("/v2/workspaces/{workspace}/items/{name}")
@scope.read # OAuth scope gate
@path_rule(callers=[CallerKind.PRINCIPAL], permissions=[ItemPerms.READ])
async def get_item(workspace: str, name: str) -> Item: ...
Decorator order: @router.<method> is the OUTERMOST (top) decorator; @scope.read and @path_rule sit under it. Their order relative to each other does not matter — both only stamp attributes on the handler and return it unchanged (identity survives FastAPI's include_router(prefix=...) rebasing).
@path_rule — callers + permissions
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.
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.
- yesterday First seen · 184 lines · 130 tokens per session scan A aed5f6b5dc5e
plugin-authz is a skill published in the GitHub repository NVIDIA-NeMo/nemo-helix (160 stars, last pushed today), licensed Apache-2.0. It adds 130 tokens to every session and 3,073 once invoked, about $0.0005 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.
plugin-authz compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| plugin-authzNVIDIA-NeMo/nemo-helix | Skill | 160 | today | Apache-2.0 | A | 130 | Claude Code, Codex |
| trulens-blocking-guardrailstruera/trulens | Skill | 3.7k | yesterday | MIT | A | 19 | Claude Code, Codex |
| promptfoo-redteam-setuppromptfoo/promptfoo | Skill | 28k | today | MIT | A | 65 | Claude Code, Codex |
| promptfoo-provider-setuppromptfoo/promptfoo | Skill | 28k | today | MIT | A | 66 | Claude Code, Codex |
| discount-reviewpromptfoo/promptfoo | Skill | 28k | today | MIT | A | 18 | Claude Code, Codex |
| code-reviewpromptfoo/promptfoo | Skill | 28k | today | MIT | A | 11 | Claude Code |
| trulens-evaluation-setuptruera/trulens | Skill | 3.7k | yesterday | MIT | A | 17 | Claude Code, Codex |