Langsung ke konten
Skillpedia
Agen29k Β· #9487

self-improving-agent

Fungsinya

Plugin ini membuat agent meninjau apa yang sudah dipelajarinya dan hanya menyimpan bagian yang berguna. Plugin ini untuk orang yang bekerja dengan agent AI dalam banyak sesi dan ingin pengetahuannya membaik seiring waktu.

Kapan dipakai

  • βœ“Saat Anda ingin melihat apa yang sudah dipelajari agent Anda sejauh ini.
  • βœ“Saat Anda mengoreksi agent dan ingin koreksi itu tetap berlaku di sesi-sesi berikutnya.
  • βœ“Saat memori agent Anda berisi catatan lama atau duplikat yang perlu dibersihkan.

Link skill

https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/self-improving-agent/skills/self-improving-agent/SKILL.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/self-improving-agent/skills/self-improving-agent/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTinjau apa yang sudah kamu pelajari tentang proyek ini dan pindahkan pelajaran yang terbukti ke aturan proyek.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent membaca file auto-memory-nya dan memilah entri menjadi pelajaran yang dipertahankan, dinaikkan, dipangkas, atau diubah menjadi skill. Perintah plugin menangani setiap langkah, dari tinjauan hingga promosi dan ekstraksi.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Self-Improving Agent

Auto-memory captures. This plugin curates.

Claude Code's auto-memory (v2.1.32+) automatically records project patterns, debugging insights, and your preferences in MEMORY.md. This plugin adds the intelligence layer: it analyzes what Claude has learned, promotes proven patterns into project rules, and extracts recurring solutions into reusable skills.

Quick Reference

Command What it does
/si:memory-review Analyze MEMORY.md β€” find promotion candidates, stale entries, consolidation opportunities
/si:promote Graduate a pattern from MEMORY.md β†’ CLAUDE.md or .claude/rules/
/si:extract Turn a proven pattern into a standalone skill
/si:memory-status Memory health dashboard β€” line counts, topic files, recommendations
/si:remember Explicitly save important knowledge to auto-memory

How It Fits Together

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                  Claude Code Memory Stack                β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  CLAUDE.md  β”‚   Auto Memory    β”‚   Session Memory       β”‚
β”‚  (you write)β”‚   (Claude writes)β”‚   (Claude writes)      β”‚
β”‚  Rules &    β”‚   MEMORY.md      β”‚   Conversation logs    β”‚
β”‚  standards  β”‚   + topic files  β”‚   + continuity         β”‚
β”‚  Full load  β”‚   First 200 linesβ”‚   Contextual load      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚              ↑ /si:promote        ↑ /si:memory-review   β”‚
β”‚         Self-Improving Agent (this plugin)               β”‚
β”‚              ↓ /si:extract    ↓ /si:remember            β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  .claude/rules/    β”‚    New Skills    β”‚   Error Logs     β”‚
β”‚  (scoped rules)    β”‚    (extracted)   β”‚   (auto-captured)β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Installation

Claude Code (Plugin)

/plugin marketplace add alirezarezvani/claude-skills
/plugin install self-improving-agent@claude-code-skills

OpenClaw

clawhub install self-improving-agent

Codex CLI

./scripts/codex-install.sh --skill self-improving-agent

Memory Architecture

Where things live

File Who writes Scope Loaded
./CLAUDE.md You (+ /si:promote) Project rules Full file, every session
~/.claude/CLAUDE.md You Global preferences Full file, every session
~/.claude/projects/<path>/memory/MEMORY.md Claude (auto) Project learnings First 200 lines
~/.claude/projects/<path>/memory/*.md Claude (overflow) Topic-specific notes On demand
.claude/rules/*.md You (+ /si:promote) Scoped rules When matching files open

The promotion lifecycle

1. Claude discovers pattern β†’ auto-memory (MEMORY.md)
2. Pattern recurs 2-3x β†’ /si:memory-review flags it as promotion candidate
3. You approve β†’ /si:promote graduates it to CLAUDE.md or rules/
4. Pattern becomes an enforced rule, not just a note
5. MEMORY.md entry removed β†’ frees space for new learnings

Core Concepts

Auto-memory is capture, not curation

Auto-memory is excellent at recording what Claude learns. But it has no judgment about:

  • Which learnings are temporary vs. permanent
  • Which patterns should become enforced rules
  • When the 200-line limit is wasting space on stale entries
  • Which solutions are good enough to become reusable skills

That's what this plugin does.

Promotion = graduation

When you promote a learning, it moves from Claude's scratchpad (MEMORY.md) to your project's rule system (CLAUDE.md or .claude/rules/). The difference matters:

  • MEMORY.md: "I noticed this project uses pnpm" (background context)
  • CLAUDE.md: "Use pnpm, not npm" (enforced instruction)

Promoted rules have higher priority and load in full (not truncated at 200 lines).

Rules directory for scoped knowledge

Not everything belongs in CLAUDE.md. Use .claude/rules/ for patterns that only apply to specific file types:

# .claude/rules/api-testing.md
---
paths:
  - "src/api/**/*.test.ts"
  - "tests/api/**/*"
---
- Use supertest for API endpoint testing
- Mock external services with msw
- Always test error responses, not just happy paths

This loads only when Claude works with API test files β€” zero overhead otherwise.

Agents

memory-analyst

Analyzes MEMORY.md and topic files to identify:

  • Entries that recur across s
Pertanyaan umum

Apa bedanya dengan memori normal agent?

Memori normal menangkap catatan secara otomatis. Plugin ini meninjau catatan itu dan mengubah yang baik menjadi aturan atau skill.

Perintah apa saja yang disertakan?

Perintah untuk meninjau memori, menaikkan sebuah pola, mengekstrak skill, memeriksa status memori, dan menyimpan sesuatu secara sengaja.

Apakah perlu pengaturan awal?

Plugin ini bekerja dengan auto-memory Claude Code, yang menurut skill ini tersedia mulai dari versi 2.1.32.

Detail

Deskripsi asli dari pembuat

Curate the agent's own memory into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check the health of memory.

repo: alirezarezvani/claude-skills

Popularitas

Bintang GitHub
29k
Peringkat
#9487
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa