Skill Optimizer logo

Skill Optimizer

Community
chujianyun
skill-optimizer

审查和优化已有 Skill。用于检查技能质量、触发边界、冗余指令或重构技能说明;不用于执行该技能的业务任务。

Overview

Publisherchujianyun
Repositoryskills
Skill nameskill-optimizer
Stars
743
Forks
103
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by chujianyun on GitHub. Read the source before you install it.

Installation

Install the Skill Optimizer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/chujianyun/skills/tree/main/skills/skill-optimizer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chujianyun/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/skill-optimizer .claude/skills/skill-optimizer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Skill Optimizer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Skill Optimizer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Skill Optimizer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Skill Optimizer

用尽量少、确实有效的指令,让 Skill 稳定完成任务。既检查缺失的保障,也检查多余的约束;保留原样可以是合理结论。

授权与边界

根据完整对话和适用的仓库规则判断授权,不依赖固定确认词:

  • 只问“怎么优化”“先看看”,或尚未授权实施:审查并给出方案,停在建议阶段。
  • 已明确授权修改或执行方案:先审查、说明改动范围,再连续完成范围内修改和必要验证,不重复请求同一授权。
  • “有道理”“我看看”等评价本身不代表授权。只有授权确实影响下一步且无法从上下文判断时,才问一个简短问题。
  • 删除、覆盖、重启、部署、外部写入、付费调用、凭据变更等操作,执行前核实对具体对象和影响的授权;缺少授权时说明影响并确认。优化技能的授权不等于执行目标技能中的业务操作。
  • 超出已授权范围的改动另列建议。遵守适用的上层安全规则,不因模型能力提升而取消必要边界。

工作流

1. 确定范围

定位目标 Skill 的来源与适用仓库规则;有源码仓库时优先修改源文件,再按约定安装。只围绕用户指定方向审查;没有指定方向时,先找最影响使用的几个问题。

明确本轮应交付建议还是修改结果。目标缺失且无法定位时,询问目标;缺少可选信息时采用合理假设并说明。复杂任务按需跟踪进度,不强制复制固定清单。

2. 审查并选择资料

先读目标 SKILL.md,再读取与本轮问题有关的资源。以下资料按条件选择,不要求每次全部加载:

当前问题读取资料
需要逐项检查触发、授权、依赖或验证行为审查清单 的相关部分
需要决定删减哪些指令、调整流程自由度或拆分结构设计评审框架
需要 Claude 平台的技能编写细节Claude 编写参考 的相关部分;平台限制和旧版本建议需按当前环境核实,不直接套为通用硬规则

审查围绕三个问题:目标行为是什么、现有指令哪里妨碍或缺少保障、改变后怎样验证。对于重复规则、通用常识、无条件加载和机械步骤,判断其增量价值;对于领域约束、真实故障经验和必要操作顺序,保留保障。

怀疑触发重叠时才看相关相邻技能的名称与描述,兼容分类目录,不全量读取技能库。发现疑似敏感信息时只报告类型和位置,不回显具体值。

3. 给出诊断与方案

简单调整用短段落或列表说明:目标与范围、问题及依据、拟改文件与预期行为、验证方式。没有问题就说明保留理由。

复杂重构再按优先级展开,并在有帮助时说明模式、依赖、风险及范围外建议。每项修改都应能解释收益;不为凑齐模板增加问题、文件或操作。依照上面的授权边界决定实施或结束本轮建议。

4. 实施

只修改已授权范围。删除或合并重复、失效、无增量价值的说明,保留有效的领域知识和安全边界。将必须遵守的约束、可靠的默认做法与可自主选择的方法区分清楚。

  • 根文档保留必要流程、边界、完成条件和资源路由;细节确实能按需加载时才拆分,并从根文档直接链接。
  • README、索引、模板、脚本按实际读者需求和仓库要求添加,不作为每个 Skill 的必备附件。
  • 需要稳定重复执行的确定性操作可脚本化;依赖应说明安装、校验和缺失时的处理方式。提供安装命令不代表获得安装或付费授权。
  • 未知模型保持通用说明;已知多模型使用时按风险选择代表场景,不以某个模型能力作为删除保障的依据。

5. 验证与收尾

检查修改涉及的 frontmatter、名称与目录一致性、触发语义、引用路径、规则冲突和仓库要求。检查真实加载路径是否减少无关内容,而非只比较正文长度。

按改动选择代表场景,验证应触发与不应触发、建议与实施授权、完成条件或失败处理;具体方法见按需加载的审查清单。纯静态审查不能证明运行效果,也不为措辞调整搭建复杂评测。

运行必要检查,修复本次引入的问题,再重跑受影响项。通过后进入收尾,不无理由扩大或重复测试。缺少工具、网络、鉴权或测试环境时,说明未验证项与原因;不得伪造结果或在失败后宣称完成。只读诊断不需要安装依赖;必需输入或授权缺失时暂停依赖它的操作。

完成标准:范围内修改已落实,相关验证有结论,适用且已授权的安装、提交和推送等交付步骤已完成。遇到无法自行解决的失败,报告已完成部分及具体阻塞,不把首版修改当作全部完成。

输出契约

  • 建议阶段:交付有依据的诊断和可执行方案,说明本轮没有修改文件。
  • 实施阶段:简要说明修改文件、行为变化、检查结果及仍未验证的部分;涉及安装或版本交付时报告实际状态。
  • 区分静态审查、场景推演和实际运行;只有实际测量后才声称触发率、完成率、耗时或上下文用量改善。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Skill Optimizer AI skill do?

审查和优化已有 Skill。用于检查技能质量、触发边界、冗余指令或重构技能说明;不用于执行该技能的业务任务。

Why use Skill Optimizer on TypingMind?

Because you install it once and use it with any model. Skill Optimizer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Skill Optimizer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/chujianyun/skills/tree/main/skills/skill-optimizer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Skill Optimizer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Skill Optimizer?

As many as you like. As long as a model supports skills, you can use Skill Optimizer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Skill Optimizer AI skill free?

It is published on GitHub by chujianyun. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇