en un clic
add-discord
Add Discord bot channel integration via Chat SDK.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Add Discord bot channel integration via Chat SDK.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Add persistent graph-based memory via mnemon. Agents recall past context before responding and remember insights after each turn.
Use OpenCode as an agent provider. OpenRouter, OpenAI, Google, DeepSeek, etc. via OpenCode config — not the Anthropic Agent SDK. Per group via `ncl groups config update --provider opencode`; host passes OPENCODE_* and XDG mount when spawning containers.
Configure which host directories agent containers can access. View, add, or remove mount allowlist entries. Triggers on "mounts", "mount allowlist", "agent access to directories", "container mounts".
Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that lists resources as JSON. Ships pre-wired for NanoClaw's ncl CLI (agent groups, sessions, channels, users, roles), plus message-activity charts, a log tail, and a read-only file viewer for group skills/CLAUDE.md/profiles.
Distill a reusable skill from anything — a directory, a URL, pasted notes, or what you just did together — or refine an existing skill with new learnings. Use when the user says '/learn', 'learn this', 'turn this into a skill', 'capture this workflow', 'make a skill from <source>', or 'improve/update the <name> skill'. Produces or updates a .claude/skills/<name>/SKILL.md authored to NanoClaw's skill guidelines. (This CREATES or REFINES a skill from a source; it does not install existing skills from a registry.)
Add Google Chat channel integration via Chat SDK.
| name | add-discord |
| description | Add Discord bot channel integration via Chat SDK. |
Adds Discord bot support via the Chat SDK bridge.
NanoClaw doesn't ship channels in trunk. This skill copies the Discord adapter in from the channels branch.
Skip to Credentials if all of these are already in place:
src/channels/discord.ts existssrc/channels/discord-registration.test.ts existssrc/channels/index.ts contains import './discord.js';@chat-adapter/discord is listed in package.json dependenciesOtherwise continue. Every step below is safe to re-run.
git fetch origin channels
git show origin/channels:src/channels/discord.ts > src/channels/discord.ts
git show origin/channels:src/channels/discord-registration.test.ts > src/channels/discord-registration.test.ts
Append to src/channels/index.ts (skip if the line is already present):
import './discord.js';
pnpm install @chat-adapter/discord@4.29.0
pnpm run build
pnpm exec vitest run src/channels/discord-registration.test.ts
Both must be clean before proceeding. discord-registration.test.ts is the one integration test: it imports the real channel barrel and asserts the registry contains discord. It goes red if the import './discord.js'; line is deleted or drifts, if the barrel fails to evaluate, or if @chat-adapter/discord isn't installed (the import throws) — so it also implicitly verifies the dependency from step 4. The adapter also calls core's createChatSdkBridge(...); that typed core-API consumption is guarded by pnpm run build.
botSend Messages, Read Message History, Add Reactions, Attach Files, Use Slash CommandsAll three values are required — the adapter will fail to start without DISCORD_PUBLIC_KEY and DISCORD_APPLICATION_ID.
Add to .env:
DISCORD_BOT_TOKEN=your-bot-token
DISCORD_APPLICATION_ID=your-application-id
DISCORD_PUBLIC_KEY=your-public-key
Sync to container: mkdir -p data/env && cp .env data/env/env
If you're in the middle of /setup, return to the setup flow now.
Otherwise, run /manage-channels to wire this channel to an agent group.
discorddiscord:{guildId}:{channelId} — both IDs are required.