self-customize
Qué hace
Esta herramienta me permite modificarme a mí mismo: añadir nuevas capacidades, instalar programas o cambiar mi código. Es como darme superpoderes o arreglar algo que no funciona del todo bien.
Cuándo usarla
- ✓Cuando me pides que añada una función nueva que todavía no tengo.
- ✓Cuando quieres que instale un programa nuevo para ayudarme.
- ✓Cuando quieres cambiar mi funcionamiento interno.
Link de la skill
https://github.com/nanocoai/nanoclaw/blob/main/container/skills/self-customize/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Puedes añadir una herramienta para resumir textos largos?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Para hacer cambios uso un proceso especial. Para cosas sencillas, las hago directamente. Para cambios de código más complejos o para añadir programas a todo el sistema, le pido a un 'agente constructor' especializado que haga los cambios, y después podemos revisarlos antes de aplicarlos.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Self-Customization
You can modify your own environment. Different kinds of changes have different workflows.
Decision Tree
What needs to change?
- Memory or standing instructions → Edit
memory/orinstructions.prepend.mddirectly, no approval needed. The workspace is persisted on the host. The composed provider document (CLAUDE.mdorAGENTS.md) is regenerated every spawn and must not be edited. - System package (apt) or global npm package →
install_packages. Requires admin approval. On approval, image rebuild + container restart happen automatically. - MCP server →
add_mcp_server. Requires admin approval. On approval, container restarts with the new server wired up (no rebuild — bun runs TS directly). - Your source code or Dockerfile → Delegate to a builder agent via
create_agent(see below). - A new specialist capability →
create_agentto spin up a dedicated agent for it.
Workflow: Code Changes via Builder Agent
For anything that requires editing source files (your own code, Dockerfile, etc.), do not edit directly — delegate to a builder agent. This gives the user a reviewable boundary and keeps your main session focused.
- Describe what you need changed in concrete terms (files, behavior, acceptance criteria)
- Call
create_agent({ name: "Builder", instructions: "<builder prompt>" })— the returned agent group ID is your builder - Call
send_to_agent({ agentGroupId, text: "<task description with specific files and changes>" }) - The builder works in its own container, makes the changes, and reports back
- You review the builder's summary and confirm with the user. Source-code edits inside
/app/srcare picked up automatically on the next container start — no rebuild step needed (bun runs TS directly). If the builder also installed packages, its owninstall_packagesapproval will have rebuilt the image.
Builder Agent Instructions (use as CLAUDE.md when creating)
You are a builder agent. Your job is to make precise, minimal code changes to NanoClaw source files when the main agent requests it.
## Rules
- **Minimal scope.** Only change what was requested. Do not refactor surrounding code, "improve" unrelated files, or add features not asked for.
- **Diff size limits.** Reject any change that exceeds 200 new lines or 150 modified lines in a single task. If the change is larger, push back and ask for it to be split into smaller tasks.
- **Read before writing.** Always read the target file fully before editing. Understand the existing patterns.
- **Test if possible.** If there are relevant tests, run them after your change.
- **Report back.** When done, use send_to_agent to tell the requesting agent: (a) what files you changed, (b) a summary of the changes, (c) any follow-up needed (rebuild, tests, migrations).
- **No silent failures.** If you can't complete the task, explain why — don't produce partial work without flagging it.
## Safety
- Never edit files outside the requested scope
- Never commit or push anything
- Never modify secrets, credentials, or .env files
- If a change would break existing tests, stop and report
Diff Size Limits — Why
A 50-line focused change is reviewable. A 500-line sweep is not. Hard limits force the agent to decompose work into reviewable chunks, which:
- Makes human approval meaningful (you can actually read 150 lines)
- Catches runaway edits early (if the first task hits the limit, the scope was wrong)
- Forces clear acceptance criteria per task
The limits are per builder task, not per session. A 500-line feature is fine as 4 sequential builder tasks of ~125 lines each, each with its own scope.
Example: Adding a New MCP Tool to Yourself
User: "Can you add a tool for reading RSS feeds?"
- Check mcp.so for an existing RSS MCP server
- If one exists →
add_mcp_server({ name: "rss", command: "npx", args: ["some-rss-mcp"] })→ admin approves → container restarts with the new server → done - If nothing suitable exists → delegate to a builder agent:
create_agent({ name: "RSS Tool Builder", instructions: "<builder prompt from above>" })send_to_agent({ agentGroupId, text: "Add an MCP tool 'read_rss' to container/agent-runner/src/mcp-tools/. It should fetch an RSS URL and return the latest N items. Register it in mcp-tools/index.ts. Target: <200 new lines." })
…
Preguntas frecuentes
¿Qué es un 'agente constructor'?
Es un agente de IA especializado en hacer cambios en el código. Recibe instrucciones precisas sobre lo que debe modificar y lo hace en un entorno aparte, para que podamos revisarlo antes de aplicarlo.
¿Tengo que aprobar todos los cambios?
Los cambios que afectan al sistema o instalan programas nuevos normalmente necesitan la aprobación de un administrador. Los cambios sencillos en mis instrucciones o en mi memoria no.
¿Qué pasa si un cambio es demasiado grande?
Si un cambio es demasiado complejo, el 'agente constructor' lo divide en partes más pequeñas y manejables. Cada parte será lo bastante sencilla como para revisarla y aprobarla.
Detalles
Descripción original del autor
Customize your own agent — add capabilities, install packages, add MCP servers, edit code or CLAUDE.md. Use when the user asks you to add a feature, install a tool, or modify how you work. For non-trivial code changes, delegate to a builder agent via create_agent.
repo: nanocoai/nanoclaw
Popularidad
- Estrellas en GitHub
- 31 mil
- Posición en el ranking
- #9330
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
agent-browser
31 milPermite a tu agente navegar por la web para investigar, leer o interactuar con sitios web. Es útil para cualquier tarea que necesite un navegador.
frontend-engineer
31 milAyuda a tu agente a crear sitios web siguiendo buenas prácticas de ingeniería. Asegura que todo funcione bien, sea adaptable y accesible.
welcome
31 milPermite al agente presentarse en un canal nuevo y explicar lo que puede hacer.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.