init-first-agent

Creates the first NanoClaw agent for a DM channel and verifies welcome message delivery.

2|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/RADHA0-max/selfhealbackend --skill init-first-agent-radha0-max
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-first-agent
Source: https://github.com/RADHA0-max/selfhealbackend/tree/main/nanoclaw/.claude/skills/init-first-agent
Command: npx skills add https://github.com/RADHA0-max/selfhealbackend --skill init-first-agent-radha0-max

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up the first agent on a NanoClaw deployment involves resolving channel identities, wiring messaging groups to agents, and confirming end-to-end delivery — a multi-step process that is easy to get wrong manually. This Skill walks the operator through the entire flow idempotently, so rerunning it is always safe. ## Core Features & Use Cases - Guided channel and identity resolution: Detects enabled channel adapters (Discord, Slack, Telegram, WhatsApp, and more), collects the operator's user ID and display name, and resolves the DM platform ID via cold-DM lookup or Telegram pair-code flow. - Automated agent provisioning: Runs the init script to upsert the user with owner role, create the agent group and filesystem, wire messaging groups to agents, and queue a welcome DM through the running service's CLI socket. - Delivery verification and diagnostics: Confirms the welcome DM arrived and provides targeted database and log queries to diagnose stuck outbound messages, ACL rejections, or container crashes. - Use Case: After installing NanoClaw and configuring Discord credentials, run this Skill to create your first personal agent, receive a welcome DM from it, and confirm the full message pipeline works. ## Quick Start Ask the assistant to initialize your first NanoClaw agent for your configured channel and send you a welcome DM.

Frequently Asked Questions about init-first-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up the first agent on NanoClaw?

Run this Skill after channel credentials are configured and the service is running. It detects enabled channel adapters, collects your user ID and display name, resolves the DM platform ID, and runs the init script to create the agent and send a welcome DM.

How do I find my user ID for Discord or Telegram bot setup?

The Skill reads the channel-specific add skill (e.g. add-discord or add-telegram) and displays its how-to-find-id instructions in plain text. You then provide your user ID, display name, and an agent persona name.

Which messaging channels does NanoClaw support for DM agents?

Supported channels include Discord, Slack, Telegram, WhatsApp, Webex, Teams, Google Chat, Matrix, iMessage, and Resend. Telegram, WhatsApp, iMessage, Matrix, and Resend are direct-addressable, while Discord, Slack, Teams, Webex, and Google Chat require DM resolution first.

Why didn't the welcome DM arrive after agent setup?

Check the session's outbound.db for stuck pending messages and grep logs/nanoclaw.log for Unauthorized channel destination errors or container crashes. Also confirm the session directory exists under data/v2-sessions with the agent group ID from the script output.

Is it safe to rerun the first agent initialization script?

Yes, the entire flow is idempotent. The script reuses existing user, messaging group, and agent group rows, and only writes a new session welcome message on each run. Pass a different display name if you want a distinct agent folder.