Logo Self Improve

Self Improve

Tổ chức
aeonfun
self-improve

Improve the agent itself, or audit its recent performance - better skills, prompts, workflows, and config, plus a quality/reliability/memory-hygiene review of what it did and what failed

Tổng quan

Nhà phát hànhaeonfun
Kho mãaeon
Tên kỹ năngself-improve
Sao
771
Bản fork
280
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được aeonfun công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Self Improve trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/aeonfun/aeon/tree/main/skills/self-improve
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aeonfun/aeon.git /tmp/aeon
mkdir -p .claude/skills
cp -r /tmp/aeon/skills/self-improve .claude/skills/self-improve
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Self Improve trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Self Improve ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Self Improve với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

${var} — Mode selector, optionally with a focus area, as mode or mode:focus.

  • empty or improve → improve mode: find and fix the highest-impact issue from recent logs, then propose + apply the fix via PR (default).
  • improve:<area> (or a bare area like notifications) → improve mode focused on that specific area (e.g. heartbeat, notifications, memory).
  • audit → audit mode: review what the agent did, what failed, and what to improve; save a full review and apply safe, obvious fixes directly.
  • audit:<area> → audit mode focused on that specific area (e.g. reliability, memory).

Setup (both modes)

Parse ${var} into a mode and an optional focus area:

  • Split on the first : — the part before is the mode, the part after is the focus.
  • If the mode is audit → run the Mode: audit branch below (focus = optional area to concentrate the review on).
  • If the mode is improve or empty → run the Mode: improve branch below (focus = optional area to fix).
  • If the token is neither keyword but non-empty (e.g. notifications) → treat it as improve mode with the whole ${var} as the focus area (backward compatibility).

Then:

  • Read memory/MEMORY.md for high-level context and goals.
  • Read recent memory/logs/ (improve mode: last 2 days; audit mode: last 7 days) for errors, failures, and quality issues.

If a focus area is set, concentrate the run on that area.


Mode: improve (default)

Improve the agent itself based on recent performance. ONE change per run.

Steps

  1. Check for open improvement PRs — don't pile up unreviewed work:

    bash
    OPEN_PRS=$(gh pr list --state open --json title,number --jq '[.[] | select(.title | test("^(fix|feat|chore)\\("; "i"))] | length')

    If there are already 3+ open improvement PRs, log "self-improve: 3+ open PRs, waiting for review" and exit. Don't create more debt.

  2. Identify what to improve. If the focus area is empty, scan for issues:

    • Read memory/logs/ from last 2 days — look for:
      • Skills that failed or produced low-quality output
      • Errors, timeouts, "zero output", rate limiting
      • Notifications that didn't send or were truncated
      • Memory consolidation problems
    • Read memory/cron-state.json for skills with low success rates
    • Read output/articles/repo-actions-*.md from last 7 days for self-improvement ideas
    • Pick the highest-impact, smallest-effort fix. One change per run.
  3. Understand the area you're fixing. Read the relevant files:

    • Skills: skills/{name}/SKILL.md
    • Config: aeon.yml
    • Workflows: .github/workflows/*.yml
    • Agent instructions: CLAUDE.md
    • Dashboard: apps/dashboard/ (if UI-related)

    Understand the current behavior before changing anything.

  4. Implement the fix. Make minimal, targeted changes:

    • If a skill prompt is unclear → rewrite the ambiguous section
    • If a skill is hitting rate limits → add backoff logic or reduce frequency
    • If output quality is low → tighten the prompt, add examples, clarify format
    • If a notification is broken → fix the formatting or truncation
    • If a config is wrong → fix aeon.yml

    Do NOT:

    • Rewrite entire skills from scratch
    • Add new features (that's create-skill's job)
    • Change the core architecture
    • Modify secrets or environment variables

4b. Dry-run gate. Before opening the PR, execute the improved skill once with synthetic secrets, so a regression never reaches production having run only with real credentials. Let $skill be the skill you edited:

bash
DRYRUN_VERDICT="output/.dry-run/$skill.json" bash scripts/dry-run.sh run "$skill" || true

Read output/.dry-run/$skill.json: passed: true (or skipped: true, when the SKILL_DRYRUN repo variable is 0) continues. passed: false means revert the edit and stop (log self-improve: dry-run gate failed for $skill with the verdict reasons[]; do not open the PR). Put the verdict under a ## Dry-run section in the PR body. The gate is structural (exit, output, declared mode, declared requires:); no real credential enters the run.

  1. Create a branch and PR:

    bash
    git checkout -b fix/self-improve-${today}
    git add -A
    git commit -m "fix: [description of what was improved]
    
    Problem: [what was failing/degraded]
    Fix: [what was changed]
    Evidence: [log entries, error messages, success rates]"

    Open a PR:

    bash
    gh pr create --title "fix: [short description]" \
      --body "## Problem
    [What was failing or degraded — cite specific log entries or error messages]
    
    ## Fix
    [What was changed and why]
    
    ## Evidence
    - [Relevant log entries]
    - [Success rate before: X%]
    - [Error pattern: ...]"
  2. Notify. Send via ./notify:

    self-improve: [what was fixed] — PR: [url]
  3. Log (see the shared ## Log section below).

Guidelines

  • ONE fix per run. Don't bundle unrelated changes.
  • Smallest viable fix. A one-line prompt tweak > a full rewrite.
  • If you can't find anything to improve, that's fine. Log "self-improve: everything looks healthy" and exit.
  • Never modify workflow files (.github/workflows/) — only skill files, CLAUDE.md, and aeon.yml.
  • Don't create circular improvements (e.g. don't improve self-improve).

Mode: audit

Audit what the agent did, what failed, and what to improve. Produce a full review, apply safe fixes, and surface recommendations.

Steps

Read memory/MEMORY.md for context and goals. Read ALL memory/logs/ entries from the last 7 days.

  1. Audit quality of outputs:
    • Read recent articles in output/articles/ — are they substantive or formulaic?
    • Check recent notifications in logs — were they useful or noisy?
    • Review any PR comments posted — were they actionable?
  2. Audit reliability:
    • How many skills ran vs expected?
    • Any repeated errors or patterns of failure?
    • Are monitors catching real issues or always returning OK?
  3. Audit memory hygiene:
    • Is MEMORY.md current and under 50 lines?
    • Are logs structured consistently?
    • Any stale data that should be cleaned?
  4. Generate improvement recommendations:
    • Skills to add, modify, or disable
    • Schedule adjustments
    • Config changes (feeds, repos, addresses to add/remove)
    • Quality improvements (better prompts, new data sources)
  5. Save the full review to output/articles/self-review-${today}.md.
  6. Apply any safe, obvious improvements directly:
    • Prune stale MEMORY.md entries
    • Update feeds.yml if feeds are dead
  7. Send a summary via ./notify:
    *Self Review — ${today}*
    Quality: assessment
    Reliability: X/Y skills ran
    Actions taken: what was fixed
    Recommendations: top 2-3 suggestions
  8. Log (see the shared ## Log section below).

Log

After completing the run, append a log entry to memory/logs/${today}.md under a single ### self-improve heading, with a discriminator line naming the mode that ran:

### self-improve
- **Mode:** improve  (or: audit)

Then, for improve mode:

- **Target:** [what was improved]
- **Problem:** [what was failing]
- **Fix:** [what was changed]
- **PR:** [url]

For audit mode:

- **Review:** output/articles/self-review-${today}.md
- **Quality:** [assessment]
- **Reliability:** [X/Y skills ran]
- **Actions taken:** [what was fixed directly]
- **Recommendations:** [top 2-3]

Network note

Write mode. Both branches touch the repo (improve opens a PR via git/gh; audit writes output/articles/self-review-${today}.md and may prune MEMORY.md/feeds.yml). For the GitHub API, use the gh CLI (gh pr list, gh pr create) — it handles auth internally, so no $SECRET ever touches the command line (a bare secret on the line is what the Bash permission layer refuses; there is no network sandbox). No pre-fetch or post-process side-channel is needed.

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

Kỹ năng AI Self Improve làm được gì?

Improve the agent itself, or audit its recent performance - better skills, prompts, workflows, and config, plus a quality/reliability/memory-hygiene review of what it did and what failed

Vì sao nên dùng Self Improve trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Self Improve là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Self Improve trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/aeonfun/aeon/tree/main/skills/self-improve. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Self Improve?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Self Improve với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Self Improve với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Self Improve có miễn phí không?

Có. Kỹ năng này được aeonfun phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇