init

A setup command for Nordrelay that creates local configuration and the first administrator account. It can also configure communication connectors such as Telegram, Discord, Slack, and Matrix during setup.

In plain words
What is it for?
Use it to choose a custom configuration location, set connector credentials from files, disable web or automatic startup, and create the first admin user.
Why use it?
It provides the initial configuration needed to start using Nordrelay and lets you enable or disable optional services at that point.

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/init
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 781 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.00781
Opus 5 $0.00000 $0.00391
Sonnet 5 $0.00000 $0.00156
Haiku 4.5 $0.00000 $0.00078

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

Security

Grade A, and why

init 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/init.md · 76 lines

How it starts

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

nordrelay init

Create local runtime config and the first admin user.

Usage

nordrelay init [options]

Important options

Option Description
--home <path> Write config and user state under a custom home directory
--disable-webui Initialize with NORDRELAY_WEBUI_ENABLED=false
--disable-autostart Disable connector autostart
--disable-webui-autostart Disable WebUI autostart
--token-file <path> Read Telegram bot token from a file
--disable-telegram Disable Telegram during initialization
--enable-discord Enable Discord during initialization
--discord-token-file <path> Read Discord bot token from a file
--discord-client-id <id> Set Discord application/client ID
--enable-slack Enable Slack during initialization
--slack-bot-token-file <path> Read Slack bot token from a file
--slack-app-token-file <path> Read Slack Socket Mode app token from a file
--slack-signing-secret-file <path> Read Slack signing secret from a file
--enable-matrix Enable Matrix during initialization
--matrix-homeserver-url <url> Set Matrix homeserver URL
--matrix-access-token-file <path> Read Matrix access token from a file
--matrix-user-id <id> Set Matrix bot user ID
--matrix-device-id <id> Set optional Matrix device ID
--admin-email <email> Create the first admin with this email
--admin-name <name> Set admin display name
--admin-password-file <path> Read admin password from a file
--telegram-user-id <id> Link the first admin to a Telegram user ID
--discord-user-id <id> Link the first admin to a Discord user ID
--slack-user-id <id> Link the first admin to a Slack user ID
--slack-team-id <id> Link the first admin to a Slack team/workspace
--matrix-user-id-link <id> Link the first admin to a Matrix user ID
--matrix-homeserver <url> Store the linked Matrix homeserver
`--state-backend json sqlite`
--enable-pi Enable Pi
--enable-hermes Enable Hermes
--enable-openclaw Enable OpenClaw
--enable-claude-code Enable Claude Code
--disable-codex Disable Codex

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

Subscribe to this mod's changes

init 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 781 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.