Logo Improve Loop

Improve Loop

Cộng đồng
Motaghi
improve-loop

Improve any artifact (code, copy, plan, deck, UI (user interface)) in rounds until a review panel puts it at the bar. Each round a panel of independent reviewers scores it and lists findings, the orchestrating session makes the smallest fix per agreed finding, and the loop stops at the bar, the budget, a stall, or a dispute the owner decides. UI mode adds browser screenshots and side-by-side reference shots. Use for /improve-loop, "improve loop", "loop until 9/10", "keep improving X until it beats Y". Not for writing a loop prompt for another session, or a one-off review (deepreview family).

Tổng quan

Nhà phát hànhMotaghi
Kho mãmimir-skills
Tên kỹ năngimprove-loop
Sao
51
Bản fork
0
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 Motaghi 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 Improve Loop 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/Motaghi/mimir-skills/tree/main/skills/improve-loop
  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/Motaghi/mimir-skills.git /tmp/mimir-skills
mkdir -p .claude/skills
cp -r /tmp/mimir-skills/skills/improve-loop .claude/skills/improve-loop
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 Improve Loop 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 Improve Loop 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 Improve Loop 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.

improve-loop

You run the loop yourself. The panel reviews, you fix. Reviewers never edit, and you never grade your own work. Your second job is to keep scope small: make the smallest change that answers each agreed finding and decline the rest.

Inputs

  • Target. The artifact and where it lives (repo and branch, file path, URL (Uniform Resource Locator)). UI mode also needs the pages and widths to shoot.
  • Bar. Default: every panel member at 9/10 or better on the current version, no open blocker, the approved references beaten, and every main-intent check passing (see Before round 1).
  • Budget. Default: 3 rounds, plus a stall stop after 2 rounds in a row in which the lowest panel score does not rise.
  • Panel. Default: the two members in "Default panel" below. The owner can name others, for example four judges.
  • References. Named by the caller, or found as below when the bar includes them.
  • Guardrails. Fixed rules from the caller that every fix must keep (see the last section).

Owner overrides win in any phrasing: "up to 20 rounds or until 9/10", "until 11:00 tomorrow or 10/10", "skip references". Restate the resolved bar, budget and panel in two lines before round 1.

Before round 1

  1. Pin the main intent. Restate what the owner most wants changed as 1 to 3 explicit pass or fail checks (for example "the first sentence states the reader's value" or "no headline over 10 words"). Show them in one short question and get a yes or an edit before round 1. They become part of the bar: every round and the final check run them through a separate checker context, not the panel and not you, and any fail blocks the bar whatever the scores say. A run can score 9/10 and still miss the point; these checks are what stop that.
  2. Resolve the panel. Confirm each member's provider, model and effort is reachable through the routes the governing platform policy allows. If a member the owner named explicitly is unreachable, report it and stop. Otherwise use what is available: provider diversity is a preference, not a requirement.
  3. Baseline. Record the start (commit or file hash) before any change. In UI mode, take browser screenshots of the named pages at the named widths.
  4. Clean start. Fix only the known issues the caller names, list them in the report as pre-loop changes, and run the artifact's own checks (tests, build, lint, voice lint).
  5. References. When the bar includes references and the owner has not already approved a set, start two researchers in parallel, on two different providers when two are available, otherwise in two fresh contexts on one provider (defaults below). Each proposes 3 to 5 references with real user praise (quoted, linked, dated); candidates the caller named go through the same check. Each reference must be named, fetchable and comparable. Merge both lists for the owner, who approves the set before round 1. No approval, no round 1. Shoot each approved reference at the same widths as the baseline.
  6. Held-out parts. When sampling (a big target), set aside 2 to 4 parts (UI: pages) before round 1, covering different kinds of content where possible. They are never sampled or shown to the panel during rounds and are used only in the final blind pick (see Stop). Record the list in the report.
  7. Run folder. Create improve-loop-<date>-<slug>/ in the owner's docs and start the report there.

Each round

  1. Prepare. For a big target (a whole site, a long document set), pick a rotating sample: the fixed core the caller names plus parts not seen recently, so every part is reviewed over the run, never the held-out parts. Retake UI screenshots for the sample. When the bar includes references, put the current version and every reference into one unlabelled batch: neutral item letters, a fresh shuffle per panel member, file names and metadata that reveal nothing. References are rescored every round together with ours, so a drift in leniency moves both.
  2. Review. Start one fresh, isolated, read-only review context per panel member, all in parallel. Never reuse an earlier round's context. Do not edit the target while the panel runs. A timeout, error or missing reply is not a score; rerun that member once. If it fails again, stop and report the bar as not reached, naming the member. Never judge the bar or a stall from a partial panel.
  3. Answer findings. Check each finding and its severity yourself. Agree: smallest fix, preferring delete or narrow over adding. Disagree: reply with evidence. Nit or scope creep: decline in one line. A dispute still open after two replies goes to the owner.
  4. Verify. Run the artifact's checks and the guardrails after the fixes. If a fix breaks one, undo the fix. If the change grew, cut before the next round.
  5. Record. Add the scores to the table and the outcomes to the ledger (id, severity, outcome, reviewer, round).

Brief per member (review contexts get no history, so it must stand alone). Judges get no project context: no project or brand history, no earlier scores, no round number, no target score, and no hint which batch item is the version being improved. In UI mode they see only the lettered batch; for a non-visual target they get the artifact itself, without its project history.

Review only. Do not edit, commit, push, deploy, or start subagents.
Items: <letters, each with its screenshots or files>
Criteria: <the bar's quality description, without target numbers> Rules: <guardrails>
Open findings to recheck: <ids and claims only, no scores>
Score every item against the criteria.
blocker = fails the criteria or a rule. should = a real gap a user would notice. nit = the rest.
Reply:
SCORE <letter>: <n>/10   (one line per item)
R1 [blocker|should|nit] <item letter> <location> <claim>. Fix: <suggestion>
(keep ids stable; mark rechecked ids resolved or still open)

You hold the letter mapping and translate the replies: the version being improved gets its score and findings, and each reference's score is used only for the "references beaten" part of the bar.

Stop

  • Bar met on the current version. When sampling, a full final check must pass too: a fresh review of the whole target (UI: every page and width) by every panel member against the same bar. It does not count as a round. If it fails, its findings start the next round within budget; with no budget left, the bar is not reached. Then a final blind pick on the held-out parts: each member, in a fresh context, makes A-or-B picks with the order swapped, the current version against the best-scoring reference and against the starting version. It passes when every member prefers the current version over the start in both orders and no member prefers the reference in both orders. A failed pick works like a failed final check.
  • Budget, cap or stall reached. Report "bar not reached", never approval.
  • Dispute unresolved after two replies. Show both sides in two or three lines each. The owner decides.

Output

Write report.md in the run folder with frontmatter (date, title, status: open, tags, description) and:

  • a score table, reviewer by round (no score where a member gave none; never invent one);
  • the ledger with one-line reasons for every decline and dispute;
  • what changed, with before and after (diff size, key screenshots side by side in UI mode);
  • the stop reason, references used, and any missing provider or model;
  • whether the panel was a single-provider panel.

Keep screenshots in shots/ inside the folder. Commit, push and deploy follow the project's own rules; the loop does none of them by default.

Guardrails

The caller can add fixed rules that hold for every fix and every round. They go into each brief and are checked in the Verify step. Example for a marketing-site run: copy may be reworded and restructured, but no new facts, numbers, customer names or claims; the style linter and the banned-words list apply.

Default panel

This section is configuration, not core behavior. Default members: two independent reviewers in fresh read-only contexts, each at high reasoning effort, from different model providers when two are available. With one provider, both members run on it, and the report records single-provider panel and says that same-provider reviewers can share blind spots. Default reference researchers: two, on two different providers when two are available, otherwise in two fresh contexts on one provider. Start each member as a new review task per round with a read-only role; never reuse an earlier round's task. UI screenshots use a browser automation tool such as Playwright.

On engineering targets (code, plan, spec, platform) or when the owner asks for it, add a third scored member with a principal-engineer stance: it must meet the same bar.

Any extra reviewer the owner names is added as an extra scored member, judging by the same criteria. Extra members never replace a default member, and the loop ends only when they also meet the bar.

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

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

Improve any artifact (code, copy, plan, deck, UI (user interface)) in rounds until a review panel puts it at the bar. Each round a panel of independent reviewers scores it and lists findings, the orchestrating session makes the smallest fix per agreed finding, and the loop stops at the bar, the budget, a stall, or a dispute the owner decides. UI mode adds browser screenshots and side-by-side reference shots. Use for /improve-loop, "improve loop", "loop until 9/10", "keep improving X until it beats Y". Not for writing a loop prompt for another session, or a one-off review (deepreview family).

Vì sao nên dùng Improve Loop 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. Improve Loop 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 Improve Loop trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Motaghi/mimir-skills/tree/main/skills/improve-loop. 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 Improve Loop?

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 Improve Loop 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 Improve Loop 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 Improve Loop có miễn phí không?

Có. Kỹ năng này được Motaghi 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 👇