cpanel-deploy

Installation
SKILL.md

cPanel — Deploy mã nguồn

Vì toolkit gọi cPanel API từ xa (không SSH), việc đưa file lên server đi theo luồng: upload archive → giải nén trên server → di chuyển file → ghi file cấu hình.

Các lệnh thao tác file

Lệnh Mô tả
file:upload <local> <remotedir> [overwrite] Upload 1 file local lên server (multipart)
file:extract <archive> <destdir> Giải nén zip/tar trên server (API2 fileop)
file:move <src> <destdir> Di chuyển/đổi tên file/thư mục
file:save <dir> <file> <local_content_file> Ghi nội dung 1 file text (vd cấu hình)
file:mkdir <path> <name> Tạo thư mục
file:delete <path> Xóa file/thư mục (engine chặn nếu thiếu xác nhận; chạy lại kèm --yes)
file:chmod <path> <mode> Đổi quyền file (octal 3-4 chữ số, vd 644/0755; cần --yes) — sửa lỗi 403/500 sau restore/malware
file:read <dir> <file> Đọc lại để kiểm tra

Đường dẫn server tính tương đối thư mục home (vd public_html, public_html/blog).

Installs
5
GitHub Stars
11
First Seen
Aug 10, 2026
cpanel-deploy — azdigi-official/hosting_ai_skills