SkillsReviewed · nanocoai

Add Atomic Chat Tool for NanoClaw

Add Atomic Chat Tool is a NanoClaw skill for developers who want Claude to delegate work to local models, but it requires a running Atomic Chat desktop app and manual code changes. It adds MCP tools for listing available models and requesting text generation through Atomic Chat's OpenAI-compatible API.

Researched 15 Nov 2026

In short.

Add Atomic Chat Tool is a NanoClaw skill for developers who want Claude to use local models, but installation changes both the host application and its container agent. It provides model discovery and text generation while leaving model downloads and management in Atomic Chat's desktop interface. The supplied code shows how requests are constructed, but successful installation, inference quality, performance and operating cost remain unverified.

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

Coverage comprises all six supplied files in .claude/skills/add-atomic-chat-tool: SKILL.md, REMOVE.md, atomic-chat-env.ts, atomic-chat-mcp-stdio.ts, atomic-chat-registration.test.ts and atomic-chat-wiring.test.ts, plus the repository-root LICENSE notice. NanoClaw's actual integration files, credential guard, dependency versions, referenced behavior tests, Atomic Chat implementation and model files are outside the supplied scope. No installation, build, test, service restart or inference was executed.

The overview

Identity

The resource is add-atomic-chat-tool in the nanocoai/nanoclaw repository, under .claude/skills/add-atomic-chat-tool. It supplies assistant instructions and TypeScript integration files that connect NanoClaw's container agent to Atomic Chat. Claude remains the orchestrator and can delegate individual prompts to models served by the desktop app. Original source: [https://github.com/nanocoai/nanoclaw/tree/main/.claude/skills/add-atomic-chat-tool].

Assessment

This is a practical option for an existing NanoClaw installation whose operator already wants Atomic Chat as a local inference service. The integration is small enough to inspect: one MCP server exposes two tools, and one helper forwards two configuration variables.

Adoption still involves maintaining edits in NanoClaw's host and container code. The supplied tests check source structure at two integration points; they do not establish successful tool discovery, network connectivity or model responses. No execution results are available.

Users

The best fit is a developer or technically comfortable NanoClaw operator who can edit TypeScript, rebuild a container and manage a local model server. Beginners can understand the intended workflow, but installation assumes familiarity with project files, environment variables and service restarts. People who only want to chat with a local model can use Atomic Chat's desktop interface directly.

Capabilities

atomic_chat_list_models requests the available model IDs from GET /v1/models. atomic_chat_generate sends a required model ID and prompt to POST /v1/chat/completions, with optional system instructions, temperature and max_tokens. It returns the first response choice's text and appends the model ID, elapsed request time and completion-token count when supplied by the server.

Model downloading and deletion remain desktop-app tasks. The wrapper requests a complete response with streaming disabled and supplies no conversation-history parameter. It also writes progress information to /workspace/ipc/atomic_chat_status.json and emits [ATOMIC] log messages.

Using it

Requirements

The documented setup requires NanoClaw, its Docker-based container workflow, Atomic Chat with its Local API Server enabled on port 1337, and at least one downloaded model. Installation uses pnpm, TypeScript, host-side Node tooling and the container's Bun runtime. The server imports the MCP SDK and Zod; compatible dependency versions are not specified in these files.

The captured guide describes the Atomic Chat desktop download as macOS-only. Although it provides Linux commands for restarting NanoClaw, it does not establish a Linux Atomic Chat installation path. Model-specific memory, storage and accelerator requirements are unknown.

Mechanism

MCP gives the agent a standard way to discover and call external tools. Here, NanoClaw starts a Bun process registered as atomic_chat, and that process communicates with the agent through standard input and output. It translates tool calls into HTTP requests to Atomic Chat, using http://host.docker.internal:1337 by default.

The host helper forwards ATOMIC_CHAT_HOST and ATOMIC_CHAT_API_KEY when set. The HTTP client attaches the key as a Bearer authorization header. Each generation request contains an optional system message followed by one user message. Prompts therefore reach the configured endpoint; the code does not establish that the surrounding Claude workflow operates entirely locally or offline.

Setup

The guide first checks whether Atomic Chat's model-list endpoint responds. Installation then copies the MCP server and registration test into container/agent-runner/src, and the environment helper and wiring test into src. Further edits register atomic_chat in the agent runner, spread atomicChatEnv() into composeSessionSpec's contributedEnv object, and surface [ATOMIC] messages through the Docker driver's logger.

Documented validation includes the host build, container TypeScript checking, both wiring tests and a container rebuild, followed by a NanoClaw service restart. These are prescribed steps, with no passing results supplied. The initial file-existence check skips installation if the server file already exists, so a partially applied installation still needs its other integration points checked.

Example

An illustrative request is to ask NanoClaw to list Atomic Chat models and summarize a supplied paragraph using one of them. The intended sequence is atomic_chat_list_models, followed by atomic_chat_generate with model set to an exact returned ID, prompt containing the paragraph and summarization request, and an optional max_tokens value such as 200. This example describes intended use; no response, quality score or timing result was observed.

Assessment & evidence

Limitations

The localhost fallback happens only when fetch throws and the configured host contains host.docker.internal; an HTTP error response does not trigger it. Inside a container, localhost ordinarily refers to that container, so this fallback alone does not establish access to the desktop app. The client configures no explicit request timeout.

Temperature and max_tokens accept numbers without enforcing the documented temperature range or a positive integer token limit. Response JSON is cast to an expected type without runtime validation, and a successful HTTP response with no first-choice text produces an empty answer with metadata. Context limits and generation quality depend on the selected model.

Proxy authentication has an unresolved integration detail: the guide suggests an sk-... key, while its environment-forwarding comments say credential-shaped values remain blocked. The relevant guard implementation is outside the supplied folder, so accepted proxy-key formats are unknown.

Reasoning

The useful design choice is keeping orchestration in Claude while exposing a narrow interface to local inference. This lets an existing NanoClaw agent request a summary, translation or answer from an explicitly selected model. Whether delegation improves a particular workload depends on the local model, available hardware and orchestration behavior; the source provides no evidence of automatic routing quality, better answers or reduced total cost.

Alternatives

Atomic Chat's desktop interface is the documented alternative for direct model interaction and model-library management. The skill also mentions a separate add-ollama-tool integration when discussing shared logging code. Its implementation, compatibility and performance are not supplied, so a technical comparison with that integration is not established.

Evidence

The supplied material contains installation and removal instructions, the complete MCP server, the environment helper and two structural tests. The registration test looks for an atomic_chat entry mentioning the server filename. The host test looks for an atomicChatEnv() spread somewhere inside composeSessionSpec; it does not specifically prove placement in contributedEnv or successful forwarding into a running container.

Comments refer to additional behavior tests, but those files and their results are absent from the supplied folder. Nothing was executed, so builds, tests, network access and inference remain unverified. The captured installation source is available at [https://raw.githubusercontent.com/nanocoai/nanoclaw/f3f445e6627bac501441bed26054e7ab427613fe/.claude/skills/add-atomic-chat-tool/SKILL.md].

Access & freshness

Costs

Total operating cost is unknown. The files supply no Atomic Chat pricing, Claude usage charges, hardware costs or measured compute requirements. The tool description suggests cost and speed benefits for delegated tasks, but supplies no comparison or benchmark. Per-request timing and optional token counts in the implementation do not establish savings.

Rights

The accompanying repository LICENSE is MIT, copyright 2026 Gavriel. It permits use, copying, modification and redistribution, including commercial distribution, provided the copyright and permission notice accompany copies or substantial portions. It also disclaims warranties. This notice does not establish the terms for Atomic Chat, its dependencies or downloaded models; those rights must be assessed separately.

Freshness

The source snapshot is revision f3f445e6627bac501441bed26054e7ab427613fe, captured on 15 November 2026 at 21:37:14.360 UTC. The MCP server declares version 1.0.0 internally; that declaration does not establish a NanoClaw or Atomic Chat release version. Compatibility with later repository changes or current desktop releases is unknown.

Actions

Before adopting the skill, compare its named integration points with the NanoClaw revision you use, confirm the desktop API is reachable from the container, and choose a model that fits the host. Follow the documented build and wiring checks, then make a real model-list and generation request. Assess the returned text against your own task; the included tests cannot establish answer quality.

Preserve other tools' logging branches during installation and removal. The setup guide explicitly identifies shared logger code, while REMOVE.md describes restoring a single debug logger, which could remove another integration's branch. Removal also requires deleting copied files, reversing registration and environment edits, rebuilding and restarting NanoClaw.

Evidence for this report

.claude/skills/add-atomic-chat-tool/REMOVE.mdselected · checked 2026-11-15
.claude/skills/add-atomic-chat-tool/SKILL.mdselected · checked 2026-11-15
LICENSEnotice · checked 2026-11-15