Last active
April 6, 2026 16:35
-
-
Save pagelab/f25e6a468b14f1b156728901e9d8138b to your computer and use it in GitHub Desktop.
Sync agent skills
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # --- Sync skill directories from .agents/skills to .copilot/skills --- | |
| COPILOT_SKILLS="/Users/mac/.copilot/skills" | |
| AGENTS_SKILLS="/Users/mac/.agents/skills" | |
| if [ -d "$AGENTS_SKILLS" ]; then | |
| for skill_dir in "$AGENTS_SKILLS"/*/; do | |
| [ -d "$skill_dir" ] || continue | |
| dir_name=$(basename "$skill_dir") | |
| [[ "$dir_name" == .* ]] && continue | |
| ln -sf "$skill_dir" "$COPILOT_SKILLS/$dir_name" | |
| echo "Created: $dir_name -> $skill_dir" | |
| done | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment