skills_creator

skills_creator is a skill for Claude Code, OpenCode from mindspore-ai/akg. It costs 86 tokens per session (1,035 once invoked), scanned A, original, Apache-2.0.

A guide for turning useful lessons from a completed conversation into a reusable OpenCode skill. It describes when to save the lesson and how to structure the skill file.

In plain words
What is it for?
It helps extract the original goal, challenges, steps, pitfalls, tools, and verification details, then package them as a skill.
Why use it?
It keeps solutions from getting lost in chat history, so similar tasks do not require the same discovery work again.

Skill for Claude CodeOpenCode

Written for Claude Code and OpenCode: allowed-tools in frontmatter, but also installed under .opencode/. Also seen: mentions OpenCode.

Good fit It helps extract the original goal, challenges, steps, pitfalls, tools, and verification details, then package them as a skill.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mindspore-ai/akg/skills_creator
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 mindspore-ai/akg --skill skills_creator
Clone the repo
git clone --depth 1 https://github.com/mindspore-ai/akg

Made for: Claude Code, OpenCode.

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 skills_creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/mindspore-ai/akg/skills_creator/github.svg)](https://agentmods.dev/skills/mindspore-ai/akg/skills_creator)
Your own site
<a href="https://agentmods.dev/skills/mindspore-ai/akg/skills_creator"><img src="https://agentmods.dev/badge/skills/mindspore-ai/akg/skills_creator/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 skills_creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/mindspore-ai/akg/skills_creator"><img src="https://agentmods.dev/badge/skills/mindspore-ai/akg/skills_creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,035 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00086 $0.01035
Opus 5 $0.00043 $0.00517
Sonnet 5 $0.00017 $0.00207
Haiku 4.5 $0.00009 $0.00103

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

Security

Grade A, and why

skills_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 9d ago.

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.

akg_agents/workspace/.opencode/skills/skills_creator/SKILL.md · 126 lines

What it actually says

Skills 创建器

Problem

当用户完成复杂的、有价值的任务后,这些经验通常只存在于对话历史中。下次遇到类似问题时,需要重新探索,浪费时间和精力。需要将对话中的知识提取为可复用的 skill。

Context / Trigger Conditions

当以下任一条件满足时,调用此技能:

  • 用户明确要求"凝练当前上下文"、"总结上下文为skills"或"skills summary"
  • 用户说"任务成功"并希望保存经验
  • 用户询问 "available skills" 后希望创建新技能
  • 完成了复杂的调试任务,发现了非显而易见的解决方案
  • 通过试错发现了有效的解决方案

Solution

Step 1: 分析对话

从对话历史中提取以下信息:

  • 原始目标:用户最初希望完成什么任务
  • 核心挑战:任务中的关键难点和决策点
  • 解决步骤:抽象出可泛化的行动序列
  • 避坑指南:常见的错误或陷阱
  • 所需工具:完成任务需要的工具或资源

Step 2: 评估知识价值

在创建 skill 前验证:

  • 可复用性:这个知识对未来任务有帮助吗?(不仅是当前案例)
  • 非平凡性:这个知识需要发现,而不是简单的文档查阅?
  • 具体性:能否描述具体的触发条件和解决方案?
  • 已验证:解决方案是否真正有效?(不仅是理论上的)

Step 3: 生成技能文档

创建符合 OpenCode 规范的 SKILL.md 文件:

---
name: <技能名称>
description: |
  <精确描述,包括:(1) 具体用例,(2) 触发条件如具体错误信息或症状,
  (3) 解决的问题。足够具体以便语义匹配能准确检索
  (4) 限制字符长度为1-1024>
version: 1.0.0
date: <YYYY-MM-DD>
---

# <技能名称>

## Problem
<该技能解决的问题清晰描述>

## Context / Trigger Conditions
<何时使用此技能?包含具体的错误信息、症状或场景>

## Solution
<逐步解决方案或要应用的知识>

## Verification
<如何验证解决方案有效>

## Example
<应用此技能的具体示例>

## Notes
<任何注意事项、边缘情况或相关考虑>

## References
<可选:链接到官方文档、文章或参考资料>

Step 4: 保存技能

将新技能保存到适当位置:

  • 项目级技能.opencode/skills/[skill-name]/SKILL.md
  • 用户级技能~/.opencode/skills/[skill-name]/SKILL.md

Verification

创建 skill 后,确认以下检查项:

  • Description 包含具体的触发条件
  • Solution 已验证有效
  • 内容足够具体以便可执行
  • 内容足够通用以便可复用
  • 不包含敏感信息(凭证、内部 URL 等)
  • 不重复现有文档或技能

Notes

  • 技能名称格式:仅使用小写字母、数字、连字符(kebab-case)
  • description 是关键字段,要包含具体症状和上下文标记
  • 不是每个任务都需要创建 skill,只提取真正有价值的知识
  • 建议使用中文编写内容(除非用户指定其他语言)

References

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. 9d ago First seen · 126 lines · 86 tokens per session scan A 854866a7d360

Subscribe to this mod's changes

skills_creator is a skill published in the GitHub repository mindspore-ai/akg (259 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 86 tokens to every session and 1,035 once invoked, about $0.0004 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-09-03.

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