본문으로 건너뛰기
Skillpedia
에이전트8.1k · #12561

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/MoonshotAI/kimi-code/blob/main/packages/agent-core-v2/src/features/skill/catalog/builtin/sub-skill/consolidate/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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

  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.
    • 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.
  3. Create or update the parent bundle.
    • If the parent does not exist, create <parent-name>/SKILL.md with has-sub-skill: true in the frontmatter.
    • If the parent already exists, ensure its frontmatter includes has-sub-skill: true.
  4. Move child skills into the parent. Move each child skill's entire directory under the parent bundle.
    • Example: web-search/ → web-research/web-search/
  5. 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.md to files such as references/, 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.
  6. 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.
  7. 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬