skill_creator

skill_creator is a skill for Claude Code, Codex from vibeinging/YiYi. It costs 106 tokens per session (2,517 once invoked), scanned A, original, Apache-2.0.

A guide for creating and improving skills—reusable instructions that teach an AI agent how to handle a particular kind of task. It also helps test when a skill should activate and whether it works well.

In plain words
What is it for?
Use it to create a skill from scratch, edit an existing one, run tests or benchmarks, and improve its description so it activates for the right requests.
Why use it?
It gives structure to the process of turning a repeated workflow into reliable instructions. Testing helps find unclear steps and improve when the skill is triggered.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/vibeinging/yiyi/skill_creator
Any agent
npx skills add vibeinging/YiYi --skill skill_creator
Clone the repo
git clone --depth 1 https://github.com/vibeinging/YiYi

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skill_creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/vibeinging/yiyi/skill_creator.svg)](https://agentmods.dev/skills/vibeinging/yiyi/skill_creator)
Your own site
<a href="https://agentmods.dev/skills/vibeinging/yiyi/skill_creator"><img src="https://agentmods.dev/badge/skills/vibeinging/yiyi/skill_creator.svg" alt="Measured on agentmods" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,517 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.02517
Opus 5 $0.00053 $0.01259
Sonnet 5 $0.00021 $0.00503
Haiku 4.5 $0.00011 $0.00252

Measured 6d ago against content hash 1b99bfff84cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

skill_creator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 10 executable files (eval-viewer/generate_review.py, scripts/__init__.py, scripts/aggregate_benchmark.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

app/src-tauri/skills/skill_creator/SKILL.md · 295 lines

How it starts

The opening of the file, as written. The whole thing — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill Creator

创建新技能并迭代改进的核心技能。

YiYi 技能系统说明

YiYi 的技能目录位于 ~/.yiyi/active_skills/,每个技能是一个包含 SKILL.md 的文件夹。SKILL.md 使用 YAML frontmatter 定义元数据(name, description, metadata),正文为 Markdown 指令。

技能结构:

skill-name/
├── SKILL.md (必须)
│   ├── YAML frontmatter (name, description, metadata.yiyi.emoji/requires)
│   └── Markdown 指令
└── 附带资源 (可选)
    ├── scripts/    - 可执行脚本
    ├── references/ - 按需加载的文档
    └── assets/     - 模板、图标等资源文件

流程概览

创建技能的整体流程:

  1. 明确技能要做什么、大致怎么做
  2. 编写技能草稿
  3. 用几个测试提示词试运行
  4. 帮助用户定性和定量评估结果
    • 在后台运行测试期间,起草定量评估断言
    • 使用 eval-viewer/generate_review.py 脚本展示结果
  5. 根据用户反馈重写技能
  6. 重复直到满意
  7. 扩大测试集,更大规模验证

你的任务是判断用户处于这个流程的哪个阶段,然后帮助他们推进。灵活应变——如果用户说「不需要跑一堆评估,直接和我聊就行」,那就按他们的方式来。

技能完成后,还可以运行描述优化器来提升技能的触发精度。

与用户沟通

注意根据上下文线索调整沟通方式。默认情况下:

  • 「评估」和「基准测试」这类词可以直接用
  • 对于 JSON、assertion 等技术术语,先确认用户是否熟悉再使用
  • 不确定时简短解释术语即可

创建技能

捕获意图

先理解用户的意图。当前对话可能已经包含用户想要捕获的工作流(比如他们说「把这个变成一个技能」)。如果是,先从对话历史中提取信息——使用的工具、步骤序列、用户做的修正、观察到的输入输出格式。

  1. 这个技能应该让 AI 能做什么?
  2. 什么时候应该触发这个技能?(什么用户短语/上下文)
  3. 期望的输出格式是什么?
  4. 是否需要设置测试用例来验证?

调研与访谈

主动询问边缘情况、输入输出格式、示例文件、成功标准和依赖。在确定这些之前不要急着写测试提示词。

编写 SKILL.md

基于用户访谈,填写这些组件:

  • name: 技能标识符(使用下划线命名,如 my_skill
  • description: 触发条件和功能描述。这是主要的触发机制——同时包含技能做什么和什么时候使用。为了对抗「触发不足」的倾向,描述要稍微「积极主动」一些
  • metadata: YiYi 特有的元数据
    metadata:
      {
        "yiyi":
          {
            "emoji": "适合的emoji",
            "requires": {}
          }
      }
    
  • 技能正文: Markdown 格式的指令

技能编写指南

渐进式披露

技能使用三层加载系统:

  1. 元数据(name + description)- 始终在上下文中(~100词)
  2. SKILL.md 正文 - 技能触发时加载(理想<500行)
  3. 附带资源 - 按需加载(不限大小,脚本可直接执行)

关键模式:

  • SKILL.md 控制在 500 行以内
  • 从 SKILL.md 清晰引用参考文件,说明何时读取
  • 大参考文件(>300行)包含目录
安全原则

技能不得包含恶意软件、漏洞利用代码或任何可能危及系统安全的内容。

编写模式

优先使用祈使语气编写指令。

定义输出格式:

## 报告结构
始终使用这个模板:
# [标题]
## 摘要
## 关键发现
## 建议

示例模式:

## 提交信息格式
**示例 1:**
输入: 添加了使用JWT令牌的用户认证
输出: feat(auth): implement JWT-based authentication

编写风格

解释为什么某些事情很重要,而不是堆砌死板的 MUST。利用心智理论让技能通用而不是局限于特定示例。先写草稿,然后用新鲜眼光审视改进。

Read the full file on GitHub · 295 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 295 lines · 106 tokens per session scan A 1b99bfff84cf

Subscribe to this mod's changes

skill_creator is a skill published in the GitHub repository vibeinging/YiYi (51 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 106 tokens to every session and 2,517 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens