consolidate
What it does
This skill applies a grouping plan by moving chosen skills into a parent bundle. It is for people who have already approved how their skills should be organized.
When to use it
- ✓When you have approved a grouping plan and want it applied to your skill folders.
- ✓When you want to move standalone skills into a new or existing parent bundle.
- ✓When you want a backup kept of every skill folder that is about to change.
Skill link
https://github.com/MoonshotAI/kimi-code/blob/main/packages/agent-core-v2/src/features/skill/catalog/builtin/sub-skill/consolidate/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Apply the grouping we approved. Move the web search skills into the web research bundle, with backups first.”
5 new skills a week. 1 minute to read.
How it works
The skill first restates the plan and asks you to confirm. It then backs up each affected skill folder with a timestamp, creates or updates the parent bundle, and moves the child skills inside it.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
FAQ
Will it change anything before I confirm?
No. It restates the plan and waits for your confirmation before making any file changes.
Are the originals kept?
Yes. Each affected skill folder gets a timestamped backup, and existing backups are never overwritten.
What does the parent bundle need?
The parent skill file must include the setting that marks it as a parent with sub-skills.
Details
Original description by the author
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
Popularity
- GitHub stars
- 8.1k
- Ranking position
- #12561
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
sub-skill
8.1kHelps your agent review your list of skills and suggest grouping related ones into parent bundles, so a large skill library is easier to use.
review
8.1kHelps your agent study your installed skills and recommend groups that could be combined into bundles. It proposes only and moves no files.
kimi-webbridge
8.1kLets your agent control your own browser, using your existing logins, to open pages, click, type, read content and take screenshots.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.