self-customize
Fungsinya
Tool ini memungkinkan saya untuk memodifikasi diri sendiri, menambahkan kemampuan baru, memasang program, atau mengubah kode saya. Ibaratnya seperti memberi saya kemampuan tambahan atau memperbaiki sesuatu yang belum berfungsi dengan baik.
Kapan dipakai
- βKetika Anda meminta saya menambahkan fitur baru yang belum saya miliki.
- βKetika Anda ingin saya memasang program baru untuk membantu saya.
- βKetika Anda ingin saya mengubah cara kerja saya secara internal.
Link skill
https://github.com/nanocoai/nanoclaw/blob/main/container/skills/self-customize/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBisakah kamu menambahkan tool untuk meringkas teks panjang?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Saya menggunakan proses khusus untuk melakukan perubahan. Untuk hal-hal sederhana, saya langsung mengerjakannya. Untuk perubahan kode yang lebih kompleks atau pemasangan program di level sistem, saya meminta 'builder agent' khusus untuk melakukan perubahan tersebut, yang kemudian dapat kita tinjau sebelum diterapkan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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." })
β¦
Pertanyaan umum
Apa itu 'builder agent'?
Ini adalah agent AI yang berspesialisasi dalam membuat perubahan kode. Ia menerima instruksi yang tepat tentang apa yang harus diubah dan mengerjakannya di lingkungan terpisah agar kita bisa meninjaunya sebelum diterapkan.
Apakah saya harus menyetujui semua perubahan?
Perubahan yang memengaruhi sistem atau memasang program baru biasanya memerlukan persetujuan administrator. Perubahan sederhana pada instruksi atau memori saya tidak memerlukan persetujuan.
Apa yang terjadi jika perubahannya terlalu besar?
Jika perubahan terlalu kompleks, 'builder agent' akan memecahnya menjadi bagian-bagian yang lebih kecil dan mudah dikelola. Setiap bagian cukup sederhana untuk ditinjau dan disetujui.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 31k
- Peringkat
- #9330
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-browser
31kMemungkinkan agent Anda menjelajahi web untuk riset, membaca, atau berinteraksi dengan situs web. Berguna untuk tugas yang membutuhkan browser.
frontend-engineer
31kMembantu agent Anda membangun website dengan mengikuti praktik rekayasa yang baik. Memastikan website berjalan baik, responsif, dan mudah diakses.
welcome
31kMemungkinkan agent memperkenalkan diri di channel baru dan menjelaskan apa saja yang bisa dilakukannya.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.