agent-self-evaluation
Fungsinya
Alat ini membantu AI memeriksa apakah hasil pekerjaan yang baru saja dilakukannya sudah baik. AI menilai dirinya sendiri dalam 5 aspek: akurasi, kelengkapan, kejelasan, actionability, dan keringkasan, lalu memberikan skor serta saran perbaikan.
Kapan dipakai
- βSetelah menyelesaikan tugas yang rumit.
- βSaat AI perlu memastikan semua pekerjaannya sudah benar.
- βJika Anda bertanya 'hasilnya sudah bagus belum?'
Link skill
https://github.com/affaan-m/ECC/blob/main/pi/core/skills/agent-self-evaluation/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
βEvaluasi kode yang baru saja Anda tulis.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI membandingkan hasil kerjanya dengan permintaan Anda, dengan melihat 5 kriteria tersebut. Untuk setiap skor di bawah 5, AI menjelaskan dengan detail apa yang kurang atau salah.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Agent Self-Evaluation
After completing a complex task, the agent pauses to rate its own output against a structured 5-axis rubric. This is NOT a pass/fail gate β it's a deliberate reflection step that catches omissions, flags overconfidence, and surface areas for improvement before the user has to.
When to Activate
- After writing code that spans 3+ files or 50+ lines
- After completing a multi-step workflow (implement β test β review)
- After a debugging session that involved 3+ attempts
- After producing a design document, architecture decision, or written analysis
- When the user asks "how good was that?" or "rate yourself"
- At the end of any session Stop hook (if configured β see
references/hook-integration.md)
Core Concepts
The 5 Evaluation Axes
| Axis | Question | What it catches |
|---|---|---|
| Accuracy | Are the facts, claims, and outputs correct? | Hallucinations, wrong API names, incorrect syntax, false statements |
| Completeness | Did it cover everything the user asked for? | Missed edge cases, unhandled error paths, forgotten requirements, skipped subtasks |
| Clarity | Is the explanation understandable and well-structured? | Confusing explanations, jargon without definition, missing context, rambling |
| Actionability | Can the user act on the output immediately? | Vague suggestions, missing steps, "you should X" without showing how, no verification path |
| Conciseness | Did it use the minimum words/tokens needed? | Redundancy, over-explanation, repeating the user's question verbatim, filler content |
Scoring Scale
5 β Exceptional: no reasonable improvement possible
4 β Good: minor nits only, no substantive gaps
3 β Adequate: meets the request but has a notable weakness on at least one axis
2 β Weak: has a clear gap that affects usability or correctness
1 β Poor: fundamentally misses the request or contains significant errors
The Evidence Rule
Every score below 5 MUST cite specific evidence. A score of 3 cannot just say "could be better" β it must say exactly what is missing or wrong. The mantra: "Show the gap, don't just name it."
Workflow
Step 1: Collect the Raw Material
Gather what you'll evaluate:
- The original user request (read back from conversation)
- Your final response/output (the deliverable)
- Any tool outputs that verify correctness (test results, exit codes, lint output)
- Any user feedback received during the task (corrections, "try again", "that's not right")
Step 2: Score Each Axis Independently
Work through the 5 axes one at a time. For each:
- Read the axis question
- Find evidence (or lack of evidence) in the output
- Assign a score 1-5
- If score < 5, write a one-sentence improvement note citing the gap
Do NOT average the scores in your head first and then work backwards. Score each axis fresh.
Step 3: Produce the Evaluation Report
Use the template from templates/evaluation-report.md. The report must include:
- One-line summary
- 5-axis scorecard (score + evidence per axis)
- Overall score (simple average, rounded to 1 decimal)
- 1-3 specific improvements ranked by impact
- Self-check: "Would the user agree with this assessment?"
Step 4: Apply the Improvement
If any axis scored 3 or below:
- State what you would do differently
- If the gap is fixable in < 30 seconds (missing link, unclear phrasing), fix it now
- If the gap requires rework, flag it explicitly: "This axis scored [reason] because [evidence]. Re-running with [specific fix] would likely raise it to [score]."
Code Examples
Example: Good Evaluation (Score 4+)
Task: Add retry logic to HTTP client
Scorecard:
Accuracy: 5 β All API calls correct. Verified: retries use
exponential backoff. No hallucinated methods.
Completeness: 4 β Covered happy path + 3 error cases. Missing:
timeout handling for hung connections.
Clarity: 5 β Code comments explain backoff formula.
PR description links to incident that motivated this.
Actionability:5 β Single merge. No follow-up tasks. Tests pass.
Conciseness: 4 β 47 lines total. The retry loop could be extracted
into a helper to drop ~8 lines.
Overall: 4.6 β One gap (timeout handling). Fix before merging.
Example: Weak Evaluation (Score 2-3)
Task: Add retry logic to HTTP client
Scorecard:
Accuracy: 2 β Used urllib3 which doesn't match our
β¦
Pertanyaan umum
Apa saja 5 aspek evaluasinya?
Aspek-aspeknya adalah: Akurasi (apakah hasilnya benar), Kelengkapan (apakah semua hal sudah tercakup), Kejelasan (apakah mudah dipahami), Actionability (apakah bisa langsung digunakan), dan Keringkasan (apakah langsung ke intinya).
Apa arti skor 5?
Artinya hasil kerjanya sangat istimewa dan hampir tidak ada ruang untuk perbaikan yang berarti.
Mengapa AI perlu menilai hasil kerjanya sendiri?
Agar hasil akhirnya sebaik mungkin, sehingga kesalahan atau kelemahan bisa ditemukan dan diperbaiki sebelum Anda perlu menunjukkannya.
Detail
Deskripsi asli dari pembuat
Use after completing any non-trivial task. The agent self-rates its output on 5 axes β accuracy, completeness, clarity, actionability, conciseness β with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.
repo: affaan-m/ECC
Popularitas
- Bintang GitHub
- 280k
- Peringkat
- #132
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
accessibility
280kMembantu agent Anda membuat antarmuka yang ramah untuk semua orang. Memastikan website dan aplikasi tetap bisa dipakai penyandang disabilitas, seperti tunanetra.
agent-architecture-audit
280kMembuat agent Anda memeriksa apakah semuanya berjalan dengan benar. Agent akan menemukan dan memperbaiki masalah pada sistem AI agar bekerja sesuai harapan.
agent-eval
280kMembantu agent Anda membandingkan berbagai alat coding AI. Mengukur mana yang lebih cepat, lebih murah, dan lebih andal untuk tugas tertentu.
agent-harness-construction
280kMembuat agent Anda lebih memahami cara menyelesaikan tugas. Agent mengoptimalkan alat dan instruksi yang digunakan agar peluang berhasilnya lebih besar.
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.