Self-Customize (Agent Self-Extension)
Teaches an agent how to extend itself — install packages, add MCP servers, or delegate code changes — through a controlled, reviewable workflow.
AutomationAdvanced★ 30,471⑂ 12,865AI score 7/10Last updated: Aug 9, 2026
What it does
Gives a NanoClaw-style agent the decision rules and workflows for modifying its own environment.
- Decision tree: routes each request based on what actually needs to change — memory/standing instructions, apt/npm packages, MCP servers, or source code.
- Builder-agent delegation: source and Dockerfile edits are never done inline; the agent spawns a dedicated builder via
create_agent, using the ready-made builder prompt included in the skill. - Hard diff limits: 200 new / 150 modified lines per builder task, forcing work into chunks a human can actually review.
- When not to self-customize: one-off tasks, ambiguous requests, and unproven ideas should be prototyped in the workspace instead of mutating the container.
Who it's for
- Developers running NanoClaw or a similar container-based agent runtime
- Teams that want agents to grow their own tooling while keeping approval boundaries intact
- Anyone studying multi-agent delegation patterns and safety guardrails
Examples
- Add an RSS tool: search mcp.so for an existing server; if found, call
add_mcp_serverand wait for admin approval plus container restart; if not, hand a builder agent a scoped task to implementread_rssin under 200 lines. - Enable audio transcription: check
which ffmpeg, then requestinstall_packages({ apt: ["ffmpeg"], npm: ["@xenova/transformers"] }), let the image rebuild, and test after restart. - Change standing behavior: edit
instructions.prepend.mdandmemory/directly (no approval needed) and never touch the auto-generated CLAUDE.md.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the container/skills/self-customize folder from the GitHub repo nanocoai/nanoclaw into my ~/.claude/skills/self-customize/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/nanocoai/nanoclaw.git /tmp/nanoclaw && mkdir -p ~/.claude/skills && cp -r /tmp/nanoclaw/container/skills/self-customize ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/nanocoai/nanoclaw.git /tmp/nanoclaw - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/nanoclaw/container/skills/self-customize ~/.claude/skills/ - Restart Claude Code and confirm
self-customizeappears in your skill list. - Note: the workflow assumes NanoClaw-specific tools (
install_packages,add_mcp_server,create_agent). Outside that runtime, treat it as a process reference rather than an executable workflow.
View source on GitHub ↗License: MIT