Consolidate

From PyModel/pythinker-code · View interactive version

Consolidate is an AI agent skill from the GitHub repository PyModel/pythinker-code. Apply an approved sub-skill grouping by moving user-specified skills into a parent bundle, with timestamped backups of every modified directory.

How to use this skill

Skill file

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

Process

  1. Confirm the plan. Restate which skills will move and where, and ask the user to confirm before making any file changes.
  2. Back up every original skill directory. Before moving anything, create a timestamped backup of each skill directory that will be modified.

```bash

cp -r <skill-name> "<skill-name>.$(date +%Y%m%d-%H%M%S).bak"

```

  1. Create or update the parent bundle.
  1. Move child skills into the parent. Move each child skill's entire directory under the parent bundle.
  1. Keep documentation directory alignment. When moving documentation, references, examples, assets, or other payload directories, align them with the new skill directory layout.
  1. Verify the result. List the new directory structure and confirm each moved skill still has a valid SKILL.md with required frontmatter (name and description). Check documentation directory alignment and relative links after the move.
  2. Report the change. Summarize what was moved, the new structure, any documentation directories that moved, and where backups are located.

Don'ts

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.