plugin

A command-line tool for managing NordRelay plugins from local folders, GitHub, or npm. It can inspect, install, enable, disable, update, remove, and run plugin commands.

In plain words
What is it for?
Use it to create or validate plugins, review their manifests and permissions before installation, manage installed plugins, check for updates, and run plugin commands as tracked background jobs.
Why use it?
It keeps plugin installation and permissions visible and manageable instead of requiring manual file handling. It also lets you check changes and return to an earlier plugin version.

Command

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.

agentmods
npx agentmods add commands/nordbyte/nordrelay/plugin
Clone the repo
git clone --depth 1 https://github.com/nordbyte/nordrelay
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,199 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.01199
Opus 5 $0.00000 $0.00600
Sonnet 5 $0.00000 $0.00240
Haiku 4.5 $0.00000 $0.00120

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

Security

Grade A, and why

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.

docs/commands/plugin.md · 98 lines

How it starts

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

nordrelay plugin

Manage local, GitHub, and npm plugins for NordRelay.

Usage

nordrelay plugin <command> [options]

Commands

Command Description
list Show installed plugins
install <source> Install from a local path, github:owner/repo, a GitHub URL, or npm:package
analyze <source> Inspect manifest, source hashes, signature status, and permission diff before installing
create <dir> --id <id> Scaffold a plugin directory
validate <path> Validate a local plugin manifest
enable <id> Enable a plugin and approve its declared permissions
disable <id> Disable a plugin
remove <id> Remove an installed plugin
reload <id> Reload manifest metadata from the installed plugin
check-update <id> Check whether the original plugin source/ref changed
update <id> Reinstall the plugin from its original source/ref
jobs <id> List tracked plugin jobs
start-job <id> <command> Run a plugin command as a tracked background job
rollback <id> Switch back to a previously installed version
settings <id> [--set K=V] Show or update plugin settings
catalog Print enabled extension points as JSON
invoke <id> <type> <capability> Invoke an executable capability
log <id> Show the plugin log

Install options

Option Description
--ref <ref> Git branch, tag, or commit for GitHub installs
--enable Enable after install
--approve Approve declared permissions after install
--approve-diff Approve permission or capability changes during update
--trust <level> Set the trust level: official, verified, community, local, or untrusted
--expected-manifest-hash <hash> Require a specific manifest SHA-256 hash
--expected-package-hash <hash> Require a specific package/source SHA-256 hash
--signature-public-key <pem> Trusted Ed25519 public key PEM for manifest signature verification
--signature-public-key-file <path> Read the trusted Ed25519 public key PEM from a file
--require-signature Require the plugin manifest signature to verify before install or update
--force Reinstall the same version
--input-json <json> JSON object passed to plugin invoke
--version <version> Explicit version for plugin rollback

Read the full file on GitHub · 98 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 · 98 lines · 0 tokens per session scan A c78b09ec9381

Subscribe to this mod's changes

plugin is a command published in the GitHub repository nordbyte/nordrelay (10 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,199 tokens. 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-08-31.