Skill Optimization Guide logo

Skill Optimization Guide

Organization
openyida
skill-optimization-guide

当需要优化一个已有 skill 文档时触发。读取目标 skill 全部文件,按四步流程重写,产出结构清晰、入口薄、描述直白的 skill 文档集。

Overview

Publisheropenyida
Repositoryopenyida
Skill nameskill-optimization-guide
Stars
228
Forks
50
Bundled files
8
LicenseMIT
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.

  • 8 bundled files

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

  • Open source

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

Installation

Install the Skill Optimization Guide 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/openyida/openyida/tree/main/.agents/skills/skill-optimization-guide
  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/openyida/openyida.git /tmp/openyida
mkdir -p .claude/skills
cp -r /tmp/openyida/.agents/skills/skill-optimization-guide .claude/skills/skill-optimization-guide
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Skill Optimization Guide 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 Optimization Guide 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 Optimization Guide 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-optimization-guide

把一个臃肿或混乱的 skill 文档集,改写成入口薄、描述直白、无重复的标准结构。

作用域

用户诉求判定动作
"优化 XX skill" / "重写 XX 技能文档"本 skill进入下方流程
"新建一个 skill"不是本 skill交给 skill-create
"只改某条规则"不是本 skill直接编辑目标文件

铁律

  1. 严禁删除规则不告知:优化过程中发现原 skill 的规则,即使觉得不合理也必须保留或明确询问用户,不能默默删掉。
  2. 严禁编造规则:只重组和改写已有内容,不能自己发明新的业务规则塞进去。
  3. 严禁破坏 script/ 中可运行脚本:改写文档时不能修改脚本逻辑,只能更新脚本中的路径引用。

流程概览

📌 仅当判定为「优化已有 skill」时进入此流程。

步骤名称功能描述产出物
1评估现状逐文件阅读,统计行数、标记重复和抽象词、核对规则数问题清单
2拆分重组根据问题清单规划新文件结构,确定每条信息只放一处新文件清单
3逐文件改写按写作规则逐个文件改写,确保直白、正向、无重复改写后的全部文件
4验证收尾结构、重复、语言、一致性四维验证验证报告

核心规则

  1. 入口必须薄:SKILL.md 建议 300 行以内,只放作用域、铁律、流程、核心规则、参考文件这几类章节。
  2. 流程按复杂度选格式:简单流程直接在 SKILL.md 里写 Step 1/2/3;复杂流程(步骤多或单步内容长)才拆到 workflow/ 目录。
  3. 一条规则只写一处:入口写一句话摘要,详细解释只放在 references 的一个文件里。
  4. 用直白话写:每句话写成"对象 + 动作 + 产物",不用胶水、赋能、闭环、中台这类抽象词。
  5. 正向引导优先:先写"应该做什么",只在高风险场景(铁律)写"禁止做什么"。
  6. 规则数量必须对齐:入口说 N 条规则,references 里展开也必须是 N 条。
  7. 章节名称选最直白的:比如"铁律"比"严禁事项"更直白,"入口快速路由"在复杂路由场景比"作用域"更清晰。

Checklist

  • SKILL.md 建议 300 行以内
  • 任意两个文件内容重叠不超过 8%
  • 所有规则只在一处有详细解释
  • 无抽象词(胶水/赋能/闭环/中台/一体化)
  • 参考文件列表覆盖 references/ 下所有文件
  • 所有相对路径链接可达
  • script/ 下的脚本可直接运行(如果有)
  • 铁律覆盖了该 skill 的高风险操作

参考文件

文件说什么什么时候读
目录规范skill 目录怎么建、每层放什么、script 和 assets 的区别步骤 2 拆分重组时必读
写作规则用词、句式、铁律写法、代码去重标准步骤 3 逐文件改写时必读
反模式速查常见错误和对应的正确做法步骤 4 验证时对照检查

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 Optimization Guide AI skill do?

当需要优化一个已有 skill 文档时触发。读取目标 skill 全部文件,按四步流程重写,产出结构清晰、入口薄、描述直白的 skill 文档集。

Why use Skill Optimization Guide on TypingMind?

Because you install it once and use it with any model. Skill Optimization Guide 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 Optimization Guide in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openyida/openyida/tree/main/.agents/skills/skill-optimization-guide. 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 Optimization Guide?

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 Optimization Guide?

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

Is the Skill Optimization Guide AI skill free?

Yes. It is published on GitHub by openyida under the MIT license. 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 👇