# Consolidate Skills

Moves chosen skills into a parent bundle with timestamped backups.

- Repository: https://github.com/MoonshotAI/kimi-code (8095 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add MoonshotAI/kimi-code --skill consolidate -g -a claude-code -y`
Codex: `npx skills add MoonshotAI/kimi-code --skill consolidate -g -a codex -y`
Cursor: `npx skills add MoonshotAI/kimi-code --skill consolidate -g -a cursor -y`
Gemini CLI: `npx skills add MoonshotAI/kimi-code --skill consolidate -g -a gemini-cli -y`

## Description

Apply an approved sub-skill grouping by moving user-specified skills into a parent bundle, with timestamped backups of every modified directory.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

The rest: https://github.com/MoonshotAI/kimi-code/blob/HEAD/packages/agent-core-v2/src/features/skill/catalog/builtin/sub-skill/consolidate/SKILL.md
