consolidate

Moves approved skills into a parent bundle with timestamped backups of every modified directory.

18|8|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/PyModel/pythinker-code --skill consolidate-pymodel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: consolidate
Source: https://github.com/PyModel/pythinker-code/tree/main/packages/agent-core-v2/src/features/skill/catalog/builtin/sub-skill/consolidate
Command: npx skills add https://github.com/PyModel/pythinker-code --skill consolidate-pymodel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reorganizing a growing collection of skills into sub-skill hierarchies by hand is error-prone: directories get moved without backups, frontmatter gets dropped, and relative links to references or assets break silently. ## Core Features & Use Cases - Safe Directory Migration: Moves each child skill's entire directory under a parent bundle while preserving all frontmatter and payload files. - Timestamped Backups: Creates a dated backup copy of every skill directory before any move, and never overwrites existing backups. - Parent Bundle Management: Creates or updates the parent SKILL.md with the has-sub-skill: true frontmatter flag. - Use Case: After approving a grouping proposal from a sub-skill review, apply it by moving web-search/ into a new web-research/ parent bundle, then verify every moved skill still has a valid SKILL.md and intact documentation links. ## Quick Start Apply the approved grouping plan by moving the listed skills into the parent bundle with backups of each directory first.

Frequently Asked Questions about consolidate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I move skills into a parent sub-skill bundle safely?

Confirm the plan with the user first, then create a timestamped backup of each skill directory before moving it under the parent. Afterward, verify every moved skill still has a valid SKILL.md with name and description frontmatter.

How to create a parent skill bundle with sub-skills?

Create a SKILL.md for the parent directory with `has-sub-skill: true` in its frontmatter, or add that flag to an existing parent's frontmatter. Then move each child skill's entire directory under the parent.

Does consolidating skills preserve references and assets directories?

Yes. The entire skill directory is moved, so references, assets, examples, and templates travel with the child skill. Relative links from SKILL.md to those payload directories are checked and kept aligned after the move.

What happens if a backup already exists during consolidation?

Existing backups are never overwritten. Each backup uses a fresh timestamped suffix like `skill-name.20240101-120000.bak`, so repeated consolidations keep all prior backup copies intact.

When should I avoid deep sub-skill nesting?

Avoid hierarchies of three or more levels unless the user explicitly requests them. Deep nesting makes skills harder to discover and manage, so consolidation should keep the structure flat by default.