Chuyển đến nội dung
Skillpedia
Lập trình chung41k · #7024

self-improve

Skill này làm gì

Skill này chạy một vòng lặp tự động thử nhiều cải tiến cho một dự án và giữ những cải tiến hoạt động tốt nhất. Skill dành cho người muốn cải thiện có thể đo lường, lặp lại, và thoải mái để agent tự chạy.

Khi nào nên dùng

  • ✓Khi bạn muốn chạy một vòng cải tiến dựa trên benchmark cho một dự án.
  • ✓Khi bạn muốn thử nhiều thay đổi ứng viên và chỉ giữ lại cái tốt nhất.
  • ✓Khi bạn muốn có bản ghi về từng vòng cải tiến.

Liên kết skill

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/self-improve/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/self-improve/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chạy một vòng cải tiến trên dự án này bằng lệnh benchmark của chúng tôi, và giữ phiên bản tốt nhất cùng nhật ký từng vòng.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent xác nhận đường dẫn dự án và lệnh benchmark với bạn trước. Sau đó nó chạy các bước nghiên cứu, lập kế hoạch và thực thi, kiểm thử các ứng viên, chọn phương án tốt nhất, ghi lại từng vòng, và chỉ dừng khi đạt điều kiện dừng đã định.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Self-Improvement Orchestrator

You are the loop controller for the self-improvement system. You manage the full lifecycle: setup, research, planning, execution, tournament selection, history recording, visualization, and stop-condition evaluation. You delegate to specialized OMC agents and coordinate their inputs and outputs.


Autonomous Execution Policy

NEVER stop or pause to ask the user during the improvement loop. Once the gate check passes and the loop begins, you run fully autonomously until a stop condition is met.

  • Do not ask for confirmation between iterations or between steps within an iteration.
  • Do not summarize and wait — execute the next step immediately.
  • On agent failure: retry once, then skip that agent and continue with remaining agents. Log the failure in iteration history.
  • On all plans rejected: log it, continue to the next iteration automatically.
  • On all executors failing: log it, continue to the next iteration automatically.
  • On benchmark errors: log the error, mark the executor as failed, continue with other executors.
  • The only things that stop the loop are the stop conditions in Step 11.
  • Trust boundary: The loop runs benchmark commands as-is inside the target repo. The user explicitly confirms the repo path and benchmark command during setup. The loop does NOT install packages, modify system config, or access network resources beyond what the benchmark command does.
  • Sealed files: validate.sh enforces that benchmark code cannot be modified by the loop, preventing self-modification of the evaluation.

State Tracking

Self-improve artifacts live under a resolved root returned by scripts/resolve-paths.mjs.

  • New runs default to .omc/self-improve/topics/default/.
  • When the user provides a topic or slug, use .omc/self-improve/topics/{topic_slug}/.
  • Legacy single-track state at .omc/self-improve/ remains valid only as a compatibility fallback when no explicit topic/slug is supplied and that flat layout already exists.

Treat <self-improve-root>/ below as that resolved root:

<self-improve-root>/
├── config/                    # User configuration
│   ├── settings.json          # agents, benchmark, thresholds, sealed_files
│   ├── goal.md                # Improvement objective + target metric
│   ├── harness.md             # Guardrail rules (H001/H002/H003)
│   └── idea.md                # User experiment ideas
├── state/                     # Runtime state
│   ├── agent-settings.json    # iterations, best_score, status, counters
│   ├── iteration_state.json   # Within-iteration progress (resumability)
│   ├── research_briefs/       # Research output per round
│   ├── iteration_history/     # Full history per round
│   ├── merge_reports/         # Tournament results
│   └── plan_archive/          # Archived plans (permanent)
├── plans/                     # Active plans (current round)
└── tracking/                  # Visualization data
    ├── raw_data.json          # All candidate scores
    ├── baseline.json          # Initial benchmark score
    ├── events.json            # Config changes
    └── progress.png           # Generated chart

OMC mode lifecycle: .omc/state/sessions/{sessionId}/self-improve-state.json


Agent Mapping

All augmentations delivered via Task description context at spawn time. No modifications to existing agent .md files.

Step Role OMC Agent Model
Research Codebase analysis + hypothesis generation general-purpose Agent opus
Planning Hypothesis → structured plan oh-my-claudecode:planner opus
Architecture Review 6-point plan review oh-my-claudecode:architect opus
Critic Review Harness rule enforcement oh-my-claudecode:critic opus
Execution Implement plan + run benchmark oh-my-claudecode:executor opus
Git Operations Atomic merge/tag/PR oh-my-claudecode:git-master sonnet
Goal Setup Interactive interview (directly in this skill) N/A
Benchmark Setup Create + validate benchmark custom agent opus

Research prompt: Read si-researcher.md from this skill directory and pass its content as the agent prompt.

Benchmark builder: Read si-benchmark-builder.md from this skill directory and pass its content as the agent prompt.

Goal clarifier: Read si-goal-clarifier.md from this skill directory and execute the interview directly (interactive, n

Câu hỏi thường gặp

Nó có hỏi tôi câu hỏi trong lúc chạy không?

Không trong lúc chạy. Nó hỏi bạn xác nhận đường dẫn repo và lệnh benchmark khi thiết lập, rồi chạy tự động.

Nó có cài package hoặc thay đổi cài đặt hệ thống không?

Không. Skill nói rõ là nó không cài package và không sửa hệ thống.

Điều gì dừng vòng lặp?

Chỉ các điều kiện dừng đã đặt cho lần chạy, như giới hạn số vòng hoặc một kết quả mục tiêu.

Chi tiết

Mô tả gốc của tác giả

Autonomous evolutionary code improvement engine with tournament selection

repo: Yeachan-Heo/oh-my-claudecode

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#7024
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự