Logo Skill Rsi

Skill Rsi

Cộng đồng
justinwetch
skill-rsi

Use when the user wants to create, improve, evaluate, inspect, run, schedule, automate, or export Skill RSI projects or Agent Skill improvement loops. In Codex desktop, every Skill RSI invocation must open the local Skill RSI web app/sidebar first.

Tổng quan

Nhà phát hànhjustinwetch
Kho mãSkill-RSI
Tên kỹ năngskill-rsi
Sao
26
Bản fork
2
Tệp đi kèm
Chỉ có hướng dẫn
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 justinwetch 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 Skill Rsi 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/justinwetch/Skill-RSI/tree/main/plugins/skill-rsi/skills/skill-rsi
  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/justinwetch/Skill-RSI.git /tmp/Skill-RSI
mkdir -p .claude/skills
cp -r /tmp/Skill-RSI/plugins/skill-rsi/skills/skill-rsi .claude/skills/skill-rsi
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 Skill Rsi 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 Skill Rsi 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 Skill Rsi 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.

Skill RSI Operator

Skill RSI is a local recursive self-improvement system for Agent Skill packages. Use it when a user wants to create a new skill, improve an existing skill, run improvement loops, inspect evidence, schedule bounded runs, queue Codex context, or export a champion skill.

Product Model

Skill RSI improves skills through controlled experiments:

  • Scratch projects have no champion, so the first run creates Candidate A and Candidate B. The winner becomes the first champion only if the evaluation evidence is usable.
  • After a champion exists, Skill RSI creates one challenger and evaluates that challenger directly against the current champion.
  • Baseline-upload projects start with the uploaded skill as champion v0 and skip the cold-start A/B bootstrap.
  • Promotion is evidence-gated. A numerical edge alone is not enough if the challenger regresses on stable prompts, fails package review, or lacks sufficient evaluation evidence.

Do not describe human approval as part of the default RSI loop. The user sets goals, budget, and constraints; Skill RSI records evidence and promotes or keeps champions through its policy gate.

Current Surfaces

This plugin provides a Skill RSI operator skill, the local Skill RSI web app, a local MCP control plane, and an optional MCP-UI cockpit through skill_rsi_cockpit where the host robustly supports MCP Apps/UI rendering. In Codex desktop, the local web app in the in-app browser/sidebar is the product surface.

Use the existing surfaces:

  • Local app: default Codex surface for every Skill RSI request in Codex desktop, and best for project setup, watching live runs, reviewing evidence, viewing visual screenshots, and inspecting skill packages.
  • skill_rsi_open: returns the local app URL for Browser/sidebar launch. It does not inspect projects or start loops.
  • MCP tools: prepare state for the local app or perform explicit follow-up actions only after the user asks.
  • MCP-UI cockpit: optional explicit existing-project inspection fallback. Do not use it as the default Codex desktop launch path.
  • CLI: best for reproducible local operation, scheduling, hooks, and export when a MCP tool does not cover the task.
  • Documentation: use docs/HOW_IT_WORKS.md, docs/SCHEDULING.md, docs/CODEX_HOOKS.md, and docs/CODEX_PLUGIN_SURFACE_PLAN.md as source-of-truth context.

App-First Invariant

If the user's request invokes Skill RSI in Codex desktop, the first visible outcome must be the local web app in the Codex sidebar. This applies to creating projects, improving a baseline skill, inspecting evidence, viewing history, scheduling, hook setup, exporting champions, or starting a guided project flow.

The chat should not become the primary Skill RSI control surface. Use chat only to resolve missing required inputs, report failures, or state the one action just taken.

Use this sequence for every Skill RSI request:

  1. If a fresh project/import is needed, call skill_rsi_prepare_project with any known name, goal, baseline path, model, and output type. This prepares the create screen; it does not create a project.
  2. Call skill_rsi_open with the existing project ID or with create: true and the prepared draft ID.
  3. If skill_rsi_open reports the server is not reachable, start npm run server from the Skill RSI repository root, then call skill_rsi_open again.
  4. Use the Browser plugin to show the returned launchUrl in the Codex in-app browser/sidebar.
  5. Reply with one terse line such as Opened Skill RSI setup.

After opening the app, stop. Do not summarize project choices, conduct a parameter interview, recommend a run, inspect progress, create the project, or inspect old projects unless the user explicitly asks.

Use skill_rsi_create_project only when the user explicitly provides or requests the setup choices in chat and asks Codex to create the project directly. Plain "improve this skill" requests should land on the prefilled setup screen so the user can choose output artifact type, model, and other irreversible setup choices in the UI.

Use skill_rsi_cockpit only when the user specifically asks for the MCP console/cockpit or the local web app cannot be opened. It requires explicit existing-project intent.

Fresh-Run Default

Default to a new Skill RSI run/project flow when the user says "improve this skill", "use Skill RSI on this", "run Skill RSI", or otherwise invokes Skill RSI without naming an existing project or past run.

Do not inspect, summarize, or select from past Skill RSI projects before starting that fresh flow unless the user explicitly asks for prior results, history, evidence, an existing champion, a named project, or a specific run. Existing projects are relevant only when the user refers to them.

When a target skill path or package is clear, treat it as a new baseline input. Prepare a fresh setup draft for the local app, then open the app. If a generated project name would collide with an existing project, use a fresh suffixed project name such as <base>-2 for the draft; do not inspect the old project and do not turn the interaction into a review of old projects.

Name collisions are not a reason to inspect past projects. For fresh flows, use a new project name instead.

Operating Rules

  • Keep model-backed runs explicit and bounded.
  • Do not run full RSI loops from a Codex hook process.
  • Treat hooks as context capture unless the project later implements explicit hook-autorun through normal Skill RSI queue, lock, budget, and run-recording machinery.
  • Keep SKILL_RSI_PROJECT explicit in hook setup; never infer the project from the current working directory.
  • Do not claim apps connector or plugin autorun exist until the repository actually implements them.
  • Do not invent project state. Use the app, CLI, or project files to inspect current truth.
  • Preserve Skill RSI terminology: champion, challenger, cold-start duel, next loop plan, prompt bank, ontology, deconstruction, promotion gate.

No Manual Skill Editing

When this Skill RSI plugin is invoked, never substitute normal Codex file editing for Skill RSI improvement.

If the user says "improve this skill", "improve a skill", references a SKILL.md, attaches a skill package, or asks to make an Agent Skill better in a Skill RSI context:

  • Treat the referenced skill as a Skill RSI baseline/input, not as a file to patch by hand.
  • Do not manually rewrite, patch, copy over, or create a replacement SKILL.md for the target skill.
  • Do not edit adjacent skill files, project files, or package contents to "fold in" ideas from Skill RSI evidence.
  • Do not use apply_patch, shell writes, file copies, or editor actions to modify the target skill package.
  • Do not inspect other local skills and synthesize a direct manual rewrite unless the user explicitly stops using Skill RSI and asks for ordinary file editing.
  • For plain "improve this skill" requests, prepare a fresh Skill RSI setup draft with that skill as the baseline and open the setup screen.
  • Inspect or export an existing champion only when the user explicitly asks for prior project data or export.

Allowed actions in Skill RSI mode are limited to:

  • opening the local Skill RSI web app,
  • preparing or creating/importing Skill RSI projects,
  • inspecting project state, progress, history, evidence, champions, challengers, and next-loop plans only after explicit existing-project intent,
  • running explicit bounded Skill RSI loops only after explicit run intent,
  • queueing or consuming hook/context through Skill RSI machinery,
  • exporting a promoted champion package through Skill RSI.

Only export a champion to a user-specified destination when the user asks for export. Exporting is not the same as silently overwriting the original baseline skill.

Model-Budget Language

Do not invent "budget approval" gates for ordinary Skill RSI operations.

Opening the app, checking readiness, listing projects, creating a project, importing a baseline, inspecting evidence, reading a champion, queueing context, or exporting a champion does not require model-budget approval.

Starting a real/agentic improvement loop can spend API budget. If the user explicitly asks to run a bounded loop, proceed and state that it is starting model-backed work. If the user only asks to inspect, open, create/import, or prepare a project, do not ask for run approval and do not start a loop.

MCP Tool Boundaries

  • skill_rsi_open is always safe: it returns a local app URL and server readiness only.
  • skill_rsi_prepare_project is the default fresh-flow tool. It writes a setup draft and returns a ?create=1&draft=<id> URL so the user can confirm output type and model before project creation.
  • skill_rsi_create_project creates immediately. Use it only when the user explicitly asks Codex to create the project directly after setup choices are clear; it is fresh by default and auto-suffixes name collisions.
  • skill_rsi_list_projects, skill_rsi_progress, skill_rsi_get_*, skill_rsi_export_champion, and skill_rsi_cockpit are follow-up inspection/export tools. Use them only when the user explicitly asks for existing project data, and pass existingProjectIntent: true.
  • skill_rsi_run_next and skill_rsi_run_with_context start bounded run machinery. Use them only when the user explicitly asks Codex to run, and pass runIntent: true.
  • Do not describe hook autorun as available; Codex hooks queue context only unless the user explicitly invokes a normal Skill RSI runner.

Useful CLI Shapes

Use these as patterns, adapting project names and options to the user's request:

bash
node src/cli.js init my-skill --goal "Help agents write better..." --output text --model gpt-6-sol --target-iterations 3
node src/cli.js run my-skill --agentic --real-eval
node src/cli.js progress my-skill
node src/cli.js report my-skill
node src/cli.js skill my-skill --source champion
node src/cli.js export-skill my-skill --source champion --out ./exported-skill
node scripts/skill-rsi-cron-runner.mjs my-skill --agentic --real-eval --max-runs 20 --max-new-runs 1 --agent-model gpt-6-sol

For Codex hook context capture, prefer the example in plugins/skill-rsi/hooks/codex-stop-hook.example.json and the detailed explanation in docs/CODEX_HOOKS.md.

Response Style

When helping a user operate Skill RSI:

  1. For any Skill RSI request in Codex desktop, open the local web app in the in-app browser/sidebar first.
  2. If the user did not explicitly ask for prior project data, assume a fresh Skill RSI run/project flow.
  3. If a target skill is referenced, keep it as a Skill RSI baseline/input and never hand-edit it.
  4. Do not recommend a next action after launch unless the user asks.
  5. Use existing app/CLI/docs behavior.
  6. State when an action will start model-backed work, but do not ask for budget approval for non-run operations.
  7. Keep implementation details concise unless the user asks for a deeper audit.
  8. Prefer a one-line handoff after opening the app, such as Opened Skill RSI for <project>.

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

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

Use when the user wants to create, improve, evaluate, inspect, run, schedule, automate, or export Skill RSI projects or Agent Skill improvement loops. In Codex desktop, every Skill RSI invocation must open the local Skill RSI web app/sidebar first.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/justinwetch/Skill-RSI/tree/main/plugins/skill-rsi/skills/skill-rsi. 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 Skill Rsi?

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

Kỹ năng này được justinwetch phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 👇