consolidate
できること
このスキルは、選んだスキルを親のまとまりに移すことで、まとめの計画を適用します。スキルの整理方法をすでに承認している人向けです。
使う場面
- ✓まとめの計画を承認し、それをスキルのフォルダに適用したいとき。
- ✓独立したスキルを、新しいまたは既存の親のまとまりに移したいとき。
- ✓変更されるすべてのスキルフォルダのバックアップを残したいとき。
スキルのリンク
https://github.com/MoonshotAI/kimi-code/blob/main/packages/agent-core-v2/src/features/skill/catalog/builtin/sub-skill/consolidate/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“承認したまとめを適用してください。ウェブ検索のスキルはウェブリサーチのまとまりに移し、先にバックアップを取ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルはまず、計画を言い直して、あなたの確認を求めます。その後、影響を受ける各スキルフォルダをタイムスタンプ付きでバックアップし、親のまとまりを作成または更新して、子のスキルをその中に移します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Consolidate sub-skills (sub-skill.consolidate)
Execute the reorganization by moving user-specified skills into a parent bundle, forming a sub-skill hierarchy.
When to use
- The user has approved a grouping proposal (typically from
sub-skill.review) and wants to apply it. - Migrating standalone skills into a new or existing parent bundle.
Process
- Confirm the plan. Restate which skills will move and where, and ask the user to confirm before making any file changes.
- Back up every original skill directory. Before moving anything, create a timestamped backup of each skill directory that will be modified.
- For a skill at
<root>/<skill-name>/SKILL.md, back up the entire<skill-name>directory:cp -r <skill-name> "<skill-name>.$(date +%Y%m%d-%H%M%S).bak" - Keep all backups; never overwrite an existing backup file.
- For a skill at
- Create or update the parent bundle.
- If the parent does not exist, create
<parent-name>/SKILL.mdwithhas-sub-skill: truein the frontmatter. - If the parent already exists, ensure its frontmatter includes
has-sub-skill: true.
- If the parent does not exist, create
- Move child skills into the parent. Move each child skill's entire directory under the parent bundle.
- Example:
web-search/→web-research/web-search/
- Example:
- Keep documentation directory alignment. When moving documentation, references, examples, assets, or other payload directories, align them with the new skill directory layout.
- Preserve relative links from
SKILL.mdto files such asreferences/,assets/,examples/, or templates. - If a child skill moves from
<root>/<child>/to<root>/<parent>/<child>/, its documentation payload should move with that child unless the approved plan says otherwise. - Do not leave documentation in the old location or merge unrelated documentation directories together.
- Preserve relative links from
- Verify the result. List the new directory structure and confirm each moved skill still has a valid
SKILL.mdwith required frontmatter (nameanddescription). Check documentation directory alignment and relative links after the move. - Report the change. Summarize what was moved, the new structure, any documentation directories that moved, and where backups are located.
Don'ts
- Never move skills without backing up first.
- Never overwrite an existing backup — always use a fresh timestamped suffix.
- Don't drop frontmatter or payload files during the move; the entire directory must be preserved.
- Don't break documentation directory alignment — references, assets, examples, and templates must stay aligned with the skill directory that uses them.
- Don't create deeply nested hierarchies (3+ levels) unless the user explicitly requests it.
よくある質問
確認の前に何か変更されますか?
いいえ。計画を言い直し、ファイルを変更する前にあなたの確認を待ちます。
元のファイルは残りますか?
はい。影響を受ける各スキルフォルダにはタイムスタンプ付きのバックアップが作られ、既存のバックアップが上書きされることはありません。
親のまとまりには何が必要ですか?
親のスキルファイルに、それが子のスキルを持つ親であることを示す設定が含まれている必要があります。
詳細
作者による元の説明
Apply an approved sub-skill grouping by moving user-specified skills into a parent bundle, with timestamped backups of every modified directory.
repo: MoonshotAI/kimi-code
人気
- GitHubのスター
- 8.1k
- ランキング
- #12561
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
sub-skill
8.1kスキルの一覧を確認し、関連するものを親のまとまりにまとめる案を提案して、大きなスキルのライブラリを使いやすくするよう、エージェントを支援します。
review
8.1kインストール済みのスキルを調べ、まとめてバンドルにできそうなグループを提案するよう、エージェントを支援します。提案のみで、ファイルは移動しません。
kimi-webbridge
8.1k既存のログインを使って自分のブラウザを操作し、ページを開いたり、クリックや入力をしたり、内容を読んだり、スクリーンショットを撮ったりするよう、エージェントを支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。