Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Skill Hub: Centralizing Agent Skills with Symlinks

Description and use

Centralizing AI agent skills with symlinks eliminates duplication and version drift across multiple agents.

Problem

Managing identical Skill folders across multiple AI agents leads to duplicated edits, version drift, and confusion over source files.

Outcome

Centralizing Skills reduces duplication, ensures consistent versions across agents, and simplifies maintenance.

Workflow

  • Create a central Skills directory (e.g., ~/.skills-hub/research).
  • Write SKILL.md with required frontmatter.
  • Create symlinks from each agent’s Skill folder to the central directory (e.g., ln -s ~/.skills-hub/research ~/.claude/skills/research).
  • Verify links with ls -l.
  • Use a CLI tool (e.g., skm) to adopt scattered Skills into the hub and manage enable/disable per tool.

Evidence

Skill ในที่นี้คือโฟลเดอร์ที่มีไฟล์ SKILL.md ข้างใน ใช้บอก agent ว่าทำงานอะไรได้บ้างและต้องทำอย่างไร

Source

แต่ละเครื่องมือเก็บ Skill คนละที่ ซึ่งเป็นต้นเหตุของเรื่องทั้งหมด

Source

แนวคิดง่ายมาก คืออย่าให้ agent แต่ละตัวเป็นเจ้าของ Skill ให้มีโฟลเดอร์กลางเพียงที่เดียวเป็นต้นฉบับ แล้วให้ agent ทุกตัวชี้มาที่โฟลเดอร์นั้น

Source

คำสั่ง --dry-run สำคัญมาก เพราะ adopt จะย้ายไฟล์จริง ถ้ารันพลาดแล้วไฟล์กระจัดกระจายจะกู้ยาก

Source

บน macOS และ Linux วิธีนี้ใช้ได้ทันที ส่วน Windows ต้องเปิด Developer Mode หรือใช้ junction ซึ่งเป็นคนละกลไกแต่ให้ผลคล้ายกัน

Source

  • Record date: 2026-10-26T03:11:35.731Z