naiyue-skill-builder

naiyue-skill-builder is a skill for Codex from tlzmw001/naiyue-skills. It costs 110 tokens per session (1,355 once invoked), scanned A, original, MIT.

A workflow for creating and updating custom coding-agent skills. It extracts reusable patterns from similar skills, writes new skill instructions, validates them, and records feedback for later improvements.

In plain words
What is it for?
Use it when creating a project skill, updating an existing one, extracting a reusable skill pattern, or maintaining the repository's skill registry.
Why use it?
It turns repeated working preferences and project practices into reusable instructions instead of leaving them only in conversation. It also keeps skill templates and feedback organized.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads .claude/ paths.

Good fit Use it when creating a project skill, updating an existing one, extracting a reusable skill pattern, or maintaining the repository's skill registry.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tlzmw001/naiyue-skills/naiyue-skill-builder
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.

Any agent
npx skills add tlzmw001/naiyue-skills --skill naiyue-skill-builder
Clone the repo
git clone --depth 1 https://github.com/tlzmw001/naiyue-skills

Made for: 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 naiyue-skill-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/tlzmw001/naiyue-skills/naiyue-skill-builder/github.svg)](https://agentmods.dev/skills/tlzmw001/naiyue-skills/naiyue-skill-builder)
Your own site
<a href="https://agentmods.dev/skills/tlzmw001/naiyue-skills/naiyue-skill-builder"><img src="https://agentmods.dev/badge/skills/tlzmw001/naiyue-skills/naiyue-skill-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for naiyue-skill-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/tlzmw001/naiyue-skills/naiyue-skill-builder"><img src="https://agentmods.dev/badge/skills/tlzmw001/naiyue-skills/naiyue-skill-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,355 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00110 $0.01355
Opus 5 $0.00055 $0.00678
Sonnet 5 $0.00022 $0.00271
Haiku 4.5 $0.00011 $0.00136

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

Security

Grade A, and why

naiyue-skill-builder 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/quick_validate.py, scripts/user_thinking_config.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.

skills/naiyue-skill-builder/SKILL.md · 94 lines

How it starts

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

Naiyue Skill 构建器

核心约定

把这个 skill 作为本仓库的项目级 skill 构建编排器使用。 它不替代官方 skill-creator,而是负责判断应该走哪个本地流程、读取哪些项目 reference、以及持久化模版和反馈规则。

默认项目状态放在当前 skill 目录:

  • assets/registry.yaml:已注册的可复用 skill 类型。
  • assets/global-rules.md:适用于所有生成 skill 的反馈沉淀规则。
  • references/user-skill-builder.md:把用户思考方式转成个人 thinking skill。
  • references/user-thinking-config.md:配置并检查用户思维 skill 的本地路径。
  • references/template-extractor.md:从同类 skill 中提炼可复用模版。
  • references/skill-writer.md:基于需求、模版和官方规范写新 skill。
  • references/feedback-loop.md:把 skill 使用反馈记录到规则中。
  • scripts/quick_validate.py:跨宿主的 skill 目录快速校验脚本。
  • scripts/user_thinking_config.py:管理首次调用提醒和用户思维 skill 路径。

除非用户明确指定其他位置,新建项目级 skill 时放到当前仓库的 skills/<skill-name>/.agents/skills/.claude/skills/ 只放指向该目录的发现入口,不维护内容副本。

初始化门禁

每次调用本 skill 时,先加载 references/user-thinking-config.md,并按其中说明运行:

python3 "$SKILL_DIR/scripts/user_thinking_config.py" status

这里的“首次启动”指本 skill 的第一次调用,因为 Agent Skills 没有宿主应用启动钩子。

  • 首次调用尚未配置时,先提醒用户选择创建、配置或暂缓用户思维 skill,再进入下方路由。
  • 已配置且可用时,后续需要个人判断指导的流程直接读取状态返回的 user_thinking_skill_path
  • 配置路径失效或内容无效时,停止当前 builder 流程并要求重新配置,不要尝试调用或静默忽略缺失的 skill。
  • 用户明确暂缓后,可以继续不依赖个人判断指导的流程。

路由

先选择一个主流程,再只加载对应 reference。

用户意图 加载
"把我的想法沉淀成 skill", "更新用户 skill", "像我一样思考" references/user-skill-builder.md
"这几个 skill 是一类", "抽模版", "新建 skill 类型" references/template-extractor.md
"帮我写一个 skill", "创建项目级 skill", "新建 skill" references/skill-writer.md
"把这条记下来", "记录这个坑", "加到模版规则里" references/feedback-loop.md

当多个流程重叠时:

  1. 写新 skill 时,从 references/skill-writer.md 开始;它会根据注册表判断是否需要套用模版。
  2. 记录使用反馈时,从 references/feedback-loop.md 开始;不要直接改目标 skill,除非用户另外要求修改。
  3. 遇到反复出现的个人判断原则时,从 references/user-skill-builder.md 开始;不要把跨项目思维规则藏进某个任务模版里。

执行规则

写入或修改 skill 前:

  1. 读取当前请求和相关本地 reference。
  2. 任务涉及写 skill 或分类 skill 时,先查 assets/registry.yaml
  3. 新建 skill 目录时,优先使用官方 skill-creator 初始化;不可用时再手动创建同等必需结构。
  4. 保持 SKILL.md 简洁,把细节流程移到 references/
  5. 路径、阈值、文件名和模版参数放在配置区或 assets/,不要散落硬编码在步骤里。
  6. 优先复用已有模版和规则,不要先发明新结构。没有强匹配时从头写,并说明等出现第二个同类 skill 后再提炼模版。

Read the full file on GitHub · 94 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. 12d ago First seen · 94 lines · 110 tokens per session scan A 1b4fd824a6ce

Subscribe to this mod's changes

naiyue-skill-builder is a skill published in the GitHub repository tlzmw001/naiyue-skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 110 tokens to every session and 1,355 once invoked, about $0.0006 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-31.

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