nexu is an open-source desktop client that connects an OpenClaw AI agent to messaging services such as WeChat, Feishu, Slack, and Discord. It is for people who want to chat with their agent from those channels using their own model credentials while keeping data on their computer, and the catalogue entries support its agent workflows.
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.
npx agentmods add instructions/nexu-io/nexu/agents-mdgit clone --depth 1 https://github.com/nexu-io/nexuWrote 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/instructions/nexu-io/nexu/agents-md)<a href="https://agentmods.dev/instructions/nexu-io/nexu/agents-md"><img src="https://agentmods.dev/badge/instructions/nexu-io/nexu/agents-md.svg" alt="Measured on agentmods" 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 | $0.07138 | $0.07138 |
| Opus 5 | $0.03569 | $0.03569 |
| Sonnet 5 | $0.01428 | $0.01428 |
| Haiku 4.5 | $0.00714 | $0.00714 |
Grade A, and why
nexu AGENTS.md 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 5d ago.
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 — 359 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file is for agentic coding tools. It's a map — read linked docs for depth.
Repo overview
Nexu is a desktop-first OpenClaw platform. Users create AI bots, connect them to Slack, and the local controller generates OpenClaw config for the embedded runtime.
- Monorepo: pnpm workspaces
apps/controller— Single-user local control plane for Nexu config, OpenClaw sync, and runtime orchestrationapps/desktop— Electron desktop runtime shell and sidecar orchestratorapps/web— React + Ant Design + Vitepackages/slimclaw— Repo-local Nexu-owned OpenClaw runtime contract, prepared runtime root, and staging/patch ownership for local dev and desktop packagingpackages/shared— Shared Zod schemaspackages/dev-utils— TS-first reusable utilities for local script tooling
Project overview
Nexu is a desktop-first OpenClaw product. Users create AI bots via a dashboard and connect them to Slack. The system dynamically generates OpenClaw configuration and hot-loads it into the local runtime managed by the controller.
Commands
All commands use pnpm. Target a single app with pnpm --filter <package>.
pnpm install # Install
pnpm --filter @nexu/shared build # Build shared dist required by cold-start dev flows
pnpm dev start # Start the lightweight local stack: openclaw -> controller -> web -> desktop
pnpm dev start <service> # Start one local-dev service: desktop|openclaw|controller|web
pnpm dev restart # Restart the lightweight local stack
pnpm dev stop # Stop the lightweight local stack in reverse order
pnpm dev stop <service> # Stop one local-dev service
pnpm dev restart <service> # Restart one local-dev service
pnpm dev status <service> # Show status for one local-dev service
pnpm dev logs <service> # Show active-session log tail (max 200 lines) for one local-dev service
pnpm dev inspect screenshot # Capture the current desktop window screenshot (dev desktop only)
pnpm dev inspect eval "<expr>" # Evaluate a JS expression in the desktop renderer (dev desktop only)
pnpm dev inspect dom # Dump the current desktop renderer DOM summary (dev desktop only)
pnpm dev inspect logs # Show buffered desktop renderer console/error logs (dev desktop only)
pnpm dev:controller # Legacy controller-only direct dev entrypoint
pnpm dist:mac # Build signed macOS desktop distributables
pnpm dist:mac:arm64 # Build signed Apple Silicon macOS desktop distributables
pnpm dist:mac:x64 # Build signed Intel macOS desktop distributables
pnpm dist:mac:unsigned # Build unsigned macOS desktop distributables
pnpm dist:mac:unsigned:arm64 # Build unsigned Apple Silicon macOS desktop distributables
pnpm dist:mac:unsigned:x64 # Build unsigned Intel macOS desktop distributables
pnpm dist:win:local # Fast local Windows packaging check: reuse existing builds/runtime/sidecars when available and validate dir-only output
pnpm probe:slack prepare # Launch Chrome Canary with the dedicated Slack probe profile
pnpm probe:slack run # Run the local Slack reply smoke probe against an authenticated DM
pnpm --filter @nexu/web dev # Web only
pnpm build # Build all
pnpm check:esm-imports # Scan built dist for extensionless relative ESM specifiers
pnpm typecheck # Typecheck all
pnpm lint # Biome lint
pnpm format # Biome format
pnpm test # Vitest
pnpm generate-types # OpenAPI spec → frontend SDK
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.
- 5d ago First seen · 359 lines · 7,138 tokens per session scan A a3c5b9661b67
nexu AGENTS.md is an instructions file published in the GitHub repository nexu-io/nexu (3,262 stars, last pushed 4mo ago), licensed MIT. It adds 7,138 tokens to every session, about $0.0357 per session on Opus 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-08-30.
Other instructions, from other repositories
openfang AGENTS.md
AGENTS.md instructions for RightNow-AI/openfang, a project described as: Open-source Agent Operating System.
agentic-ai CLAUDE.md
Instructions for DjangoPeng/agentic-ai, covering claude.md, repository shape, common commands, financial automation and morning newspaper.
clawforge CLAUDE.md
Claude Code instructions for ClawForgeAI/clawforge, covering clawforge — agent guidelines, role: dev (full-stack engineer), project overview, project structure and build, test, and dev commands.
Claude-to-IM-skill CLAUDE.md
Instructions for op7418/Claude-to-IM-skill, covering claude.md — project guidelines for claude-to-im-skill and replying to github issues.
openfang CLAUDE.md
Claude Code instructions for RightNow-AI/openfang, covering openfang — agent instructions, project overview, build & verify workflow, mandatory: live integration testing and how to run live integration tests.
polyrouter CLAUDE.md
Claude Code instructions for izzoa/polyrouter, covering claude.md — polyrouter (open-source llm router), what this file is, what we're building, how we work (spec-driven, openspec) and build order & review gate (from spec §14).