Bước 0: có Claude trước
Skill chạy bên trong Claude. Ở đây không bán tài khoản Claude, bạn tự đăng ký.
- claude.ai: mở claude.ai trên trình duyệt, đăng ký tài khoản.
- Ứng dụng Claude trên máy tính: tải ở claude.ai/download.
- Claude Code: cài theo tài liệu chính thức của Claude Code.
Skill dùng được ở cả gói Free lẫn các gói trả phí của Claude, với điều kiện bật Code execution (tạo và sửa file) trong Settings → Capabilities (trang trợ giúp của Anthropic).
Cài trên claude.ai
- Mở claude.ai, vào Customize → Skills.
- Bấm +, chọn Create skill, rồi Upload a skill.
- Chọn file
.skill. Mỗi skill là một file, tải từng file. File.skilllà file zip: nếu ô chọn file không nhận, đổi đuôi thành.ziprồi chọn lại.
Cập nhật bản mới trên claude.ai
- Vào Customize → Skills, chọn skill cần cập nhật.
- Bấm Upload and replace, chọn file
.skillmới. Làm từng file một, xong file này mới tới file khác. - Bản cũ vẫn còn sau khi thay: xoá skill đó, rồi tải file mới lên lại.
Cài trên Claude Code
Mở Terminal ở thư mục chứa file .skill. Thay <tên> bằng tên skill, ví dụ quan-ly-social:
rm -rf ~/.claude/skills/<tên> && unzip -o <tên>.skill -d ~/.claude/skills
Rồi mở một phiên Claude Code mới. Lệnh này xoá bản cũ (nếu có) rồi giải nén bản mới, nên dùng cho cả cài lần đầu lẫn cập nhật.
Cài cả bộ một lần, khi các file .skill nằm chung một thư mục:
for f in *.skill; do n="${f%.skill}"; rm -rf ~/.claude/skills/"$n" && unzip -oq "$f" -d ~/.claude/skills; done
Finder (macOS) và Windows Explorer không nhận đuôi
.skilllà file zip. Dùng lệnhunzipnhư trên, hoặc đổi đuôi thành.ziprồi giải nén.
Hai lệnh trên chạy trên macOS và Linux.
Trên Windows 10, 11: mở PowerShell ở thư mục chứa file .skill. Cài hoặc cập nhật một skill:
New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Remove-Item -Recurse -Force "$HOME\.claude\skills\<tên>" -ErrorAction SilentlyContinue; tar -xf <tên>.skill -C "$HOME\.claude\skills"
Cài cả bộ một lần:
New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Get-ChildItem *.skill | ForEach-Object { Remove-Item -Recurse -Force "$HOME\.claude\skills\$($_.BaseName)" -ErrorAction SilentlyContinue; tar -xf $_.Name -C "$HOME\.claude\skills" }
Cài không được
Nhắn Zalo, gửi ảnh chụp chỗ bị vướng.