SkillsReviewed · nanocoai

NanoClaw init-first-agent

NanoClaw init-first-agent is a setup skill for NanoClaw operators who want an agent to message them, but it requires a running service and an already configured messaging channel. It resolves the recipient, selects or creates an agent group, and queues a welcome through NanoClaw's delivery system.

Researched 16 Nov 2026

In short.

NanoClaw init-first-agent is a guided setup skill for people connecting their first NanoClaw agent to a direct-message conversation, but the service and channel adapter must already be working. It documents recipient lookup, agent selection, database wiring and welcome delivery. Important details include automatic owner assignment when no owner exists, repeated welcomes on reruns, and a separate provider change after creating a group. Runtime behavior and successful delivery remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is .claude/skills/init-first-agent in nanocoai/nanoclaw at revision d3384a9c574c9477286a34e744deec7c5a6d0ef5. Its supplied file inventory contains SKILL.md, with complete selected-scope coverage reported. The repository-root LICENSE is included as an associated notice outside the selected folder. Referenced scripts, other skills, adapters, provider implementations, configuration and databases are excluded from the supplied evidence. Runtime behavior, supported environments, delivery, costs and performance were not tested.

The overview

Identity

init-first-agent is an assistant instruction file in nanocoai/nanoclaw at .claude/skills/init-first-agent/SKILL.md. Its purpose is to connect an agent to the operator's direct-message conversation and request a welcome through the normal messaging path.

The original source folder is [https://github.com/nanocoai/nanoclaw/tree/main/.claude/skills/init-first-agent]. The skill references NanoClaw scripts, adapters, databases and administrative commands; those implementations are not included in the supplied evidence.

Assessment

This is a useful fit for an operator who already has NanoClaw running and needs to complete the connection between a person, a messaging conversation and an agent. It provides concrete steps for reusing an existing agent, creating one, selecting the correct bot instance and investigating a missing welcome.

Its practical reliability depends on components outside this file. The instructions describe the intended behavior, but the initialization script, delivery service and adapters have not been assessed or executed.

Users

The intended user is a NanoClaw operator with access to the local installation, channel credentials, configuration files and administrative commands. A beginner can follow the guided questions, but installation problems may require reading logs and querying databases.

Developers maintaining several agents or bot instances benefit from the explicit group-ID and adapter-instance handling. People who only want to chat with an existing assistant would need someone else to complete these administrative steps.

Capabilities

The skill guides channel selection, collection of the operator's user ID and display name, resolution of the direct-message destination, and selection or creation of an agent group. Existing groups retain their provider and template configuration.

The initialization script is described as creating or updating user and conversation records, connecting the conversation to the agent, and submitting a welcome. It grants the user owner status if no owner exists. A named adapter instance can be supplied to target a particular bot.

The instructions distinguish directly addressable channels, including Telegram and WhatsApp, from channels such as Discord and Slack where a conversation ID must be resolved. Actual support depends on the installed and connected adapters.

Using it

Requirements

NanoClaw must already be running. The target channel must have been installed through its channel setup skill, its credentials must be present in .env, and its adapter import must be enabled in src/channels/index.ts. The instructions also require checking for a recent connection entry in logs/nanoclaw.log.

The documented commands use npx, pnpm, tsx and the ncl administrative CLI. They require access to NanoClaw's configuration, databases, logs and group directories. Service checks are provided for macOS and Linux; exact operating-system, Node.js and dependency versions are not stated.

Mechanism

The documented script updates users, selects or creates an agent_groups record, reuses or creates a direct-message messaging_groups record, and connects them through messaging_group_agents. That connection is described as also creating an agent_destinations record.

The welcome goes to the running service through data/cli.sock. The service routes it into the direct-message session and starts the agent container. If the socket is unavailable, the script is described as writing to inbound.db for a later host sweep. Replies flow through the session's outbound.db to the channel.

Setup

The sequence begins by identifying enabled channels and collecting the operator's channel user ID, display name and agent name. For channels requiring conversation resolution, the operator sends the bot a message and confirms the corresponding database row. The skill also documents a Telegram pairing-code route.

Existing groups and their connections are listed through ncl. An existing group must be selected by its exact ID. The initialization command then receives the channel, user ID, conversation ID and names, with optional group-ID and adapter-instance arguments.

New groups use DEFAULT_AGENT_PROVIDER from .env, or claude when it is unset. Although the instructions ask about other installed providers, the shown creation command does not select one; a separate ncl groups config update command changes the provider afterward.

Example

For a hypothetical Discord setup, an operator first sends the configured bot a direct message. The skill then lists recent Discord direct-message records so the operator can identify the correct conversation. If an appropriate agent already exists, its exact group ID is supplied to the initialization script.

The documented result is a connection between that conversation and the chosen agent, followed by a queued welcome. The operator's confirmation that the welcome arrived completes the procedure. This is an illustration of the instructions, not an observed delivery result.

Assessment & evidence

Limitations

The instructions call the procedure idempotent, but explicitly state that every rerun writes a new session welcome. Creating a group with an existing normalized display-name folder can also reuse that group. Rerunning therefore does not mean that nothing changes.

A wrong conversation ID can send the welcome to another person. The documented remedy is to rerun with the correct destination; removal of the earlier connection is not described. Initial setup can also grant owner privileges, so identity accuracy matters beyond message delivery.

Telegram appears both in the directly addressable channel list and in a separate pairing branch, making the intended branch less clear. For new groups, the later provider change also leaves the provider used for the first welcome uncertain.

The stated first-launch container delay of about 60 seconds and suggested two-minute delivery window are documentation estimates, not measured performance results.

Reasoning

The procedure separates a person's identity from the messaging conversation and agent group. This matters because those identifiers serve different purposes, and selecting the correct person alone does not establish the correct delivery destination.

Submitting the welcome through the service is intended to exercise the regular session and outbound-message path. Receiving that welcome would support delivery for that particular configuration; it would not establish broader channel compatibility, long-term reliability or correct behavior for other recipients.

Alternatives

Within this skill, an operator can reuse an existing agent group or create another one. Telegram also has a documented pairing-code route alongside direct addressing.

The referenced /setup and /add-<channel> skills address prerequisite installation and channel configuration. They are complementary steps. The supplied evidence does not support a comparison with competing products or other onboarding tools.

Evidence

The technical evidence is the complete supplied SKILL.md, available at its pinned source address [https://raw.githubusercontent.com/nanocoai/nanoclaw/d3384a9c574c9477286a34e744deec7c5a6d0ef5/.claude/skills/init-first-agent/SKILL.md]. Its recorded SHA-256 is d238431d14374e626a3e595cf0b219825f5d3e7c9600118e53beeb5d59a440b0.

The associated licence is [https://raw.githubusercontent.com/nanocoai/nanoclaw/d3384a9c574c9477286a34e744deec7c5a6d0ef5/LICENSE]. The referenced initialization script, adapters, database implementation and provider code are absent from the supplied evidence. No commands were executed, and no runtime or delivery tests were performed.

Access & freshness

Costs

Operating costs are unknown. The skill gives no model prices, usage estimates, channel-service fees or hosting costs. A welcome activates an agent, but its token use and any resulting provider charge are not established.

The MIT licence permits use and redistribution without a software licence fee. That permission does not establish that running NanoClaw, its model provider or its messaging services is free.

Rights

The supplied repository-level LICENSE is the MIT License, with copyright attributed to Gavriel in 2026. It permits use, copying, modification, publication, distribution, sublicensing and sale, subject to retaining the copyright and permission notices in copies or substantial portions.

The licence provides the software without warranty. No separate skill-specific notice appears in the supplied files. Terms for external model providers, messaging platforms and dependencies are not established by this licence.

Freshness

The supplied files were captured on 16 November 2026 at 14:55:16.690 UTC from repository revision d3384a9c574c9477286a34e744deec7c5a6d0ef5. This identifies the exact source snapshot discussed here.

Whether the main branch has changed since that capture is unknown. Compatibility with another NanoClaw revision is not established, particularly for the referenced commands, database tables and adapter behavior.

Actions

Before using the skill, confirm that the service and adapter are connected, verify the operator's user ID and destination conversation, and identify the intended group by exact ID. With multiple bots, use the full adapter registry key. Establish the desired provider before relying on the welcome to demonstrate its behavior.

After initialization, confirm receipt in the intended account. If delivery fails, the skill directs attention to session outbound-message status, destination access rejections, container failures and adapter errors. A rerun may send another welcome, so inspect the destination before repeating it.

Evidence for this report

.claude/skills/init-first-agent/SKILL.mdselected · checked 2026-11-16
LICENSEnotice · checked 2026-11-16