Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

init-first-agent

Skill by nanocoai

Walks the operator through wiring the first NanoClaw agent to a DM channel. It resolves the operator's identity, selects or creates the agent, and sends a welcome DM to confirm delivery.

  • Score 91
  • 31k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install init-first-agent

Built from the published package, never by AI.

git clone --depth 1 https://github.com/nanocoai/nanoclaw /tmp/nanoclaw && mkdir -p ~/.claude/skills && cp -r /tmp/nanoclaw/.claude/skills/init-first-agent ~/.claude/skills/init-first-agent

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install init-first-agent in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

init-first-agent is a setup skill for NanoClaw, an agent framework. It connects the first agent to a messaging channel such as Discord, Slack, Telegram or WhatsApp. The skill asks the operator for their channel user id, display name and agent persona name, then resolves the DM chat id. For channels that need cold DM resolution, the operator first sends a message to the bot so the router can record the DM.

The skill then lists existing agent groups and lets the operator wire one or create a new agent. It runs an init script that creates the owner user, the agent group folder, the messaging group and the wiring, then hands a welcome message to the running service. The operator confirms receipt, and the skill includes diagnostic steps if the message does not arrive. It is intended for operators who have installed a channel skill and started the service.

Written from the project's SKILL.md and checked against it.

What it can do

  • Pick channelReads enabled channels from the channel index and asks which one should host the welcome DM.
  • Resolve DM idFinds the operator's DM platform id, either directly or from a first message sent to the bot.
  • Telegram pair codePairs a Telegram user with a one-time code for operators who prefer not to DM the bot first.
  • Select agent groupLists existing agent groups and wirings, then wires an existing group or creates a new agent.
  • Run init scriptCreates the owner user, agent folder, messaging group and wiring, then queues the welcome message.
  • Verify deliveryAsks the operator to confirm the welcome DM and checks outbound messages if it did not arrive.

What you need

  • NanoClaw installed with its service running
  • A channel skill installed with credentials set in .env
  • The operator's user id on the chosen channel
  • launchd on macOS or systemd user services on Linux

Try asking

  • Wire my first agent to Discord and send me a welcome DM
  • Pick an existing agent group and wire it to my Telegram account
  • My welcome DM did not arrive, help me check the logs

Good to know

  • Under the strict unknown sender policy, the router silently drops messages from unknown senders.
  • Reassigning ownership needs a separate flow and is not covered by this skill.
  • Cold DM channels need one message sent to the bot first, except the Telegram pair-code path.
  • The first container launch can take about 60 seconds.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/init-first-agent/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB

Alternatives to init-first-agent

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

init-first-agent: common questions

When should this skill be run?

The source says to use it after channel credentials are configured and the service is running. It then walks through the first agent wiring and a welcome DM.

Is it safe to run this skill more than once?

The source says everything the skill does is idempotent, so rerunning it is safe. Each run does write a new session welcome message.

What if the welcome DM went to the wrong person?

The source says to rerun the script with the correct platform id. A new welcome is written on each run.

How do I install init-first-agent?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is init-first-agent free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is init-first-agent safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to init-first-agent?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

init-first-agent Install

Add to stack

Loading.