Skill Rsi 标志

Skill Rsi

社区
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.

概览

发布者justinwetch
代码仓库Skill-RSI
技能名称skill-rsi
星标数
26
复刻数
2
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 justinwetch 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Skill Rsi AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/justinwetch/Skill-RSI/tree/main/plugins/skill-rsi/skills/skill-rsi
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Skill Rsi,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Skill Rsi。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Skill Rsi 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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>.

常见问题

Skill Rsi AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Skill Rsi?

因为您只需安装一次,就能搭配任何模型使用。Skill Rsi 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Skill Rsi?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/justinwetch/Skill-RSI/tree/main/plugins/skill-rsi/skills/skill-rsi。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Skill Rsi?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Skill Rsi 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Skill Rsi 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Skill Rsi AI 技能免费吗?

justinwetch 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇