Install
$ agentstack add skill-azdigi-official-hosting-ai-skills-cpanel-domain ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
cPanel — Quản lý Domain
Quản lý domain, addon domain và subdomain qua bin/cpanel.
Liệt kê domain hiện có
cpanel domain:list
Trả về domain chính (main), addon, subdomain (sub) và parked — luôn chạy trước khi thêm mới để tránh trùng và để biết domain gốc dùng cho subdomain.
Thêm subdomain
# blog.example.com với document root mặc định
cpanel subdomain:add blog example.com
# chỉ định document root tùy ý
cpanel subdomain:add blog example.com public_html/blog
Thêm addon domain (tên miền hoàn toàn mới)
# tự suy ra subdomain & docroot
cpanel addon:add newsite.com
# chỉ định rõ subdomain nội bộ và document root
cpanel addon:add newsite.com newsite public_html/newsite.com
> Addon domain trên cPanel hiện đại có thể được quản lý qua giao diện "Domains" mới. > Lệnh addon:add dùng API2 AddonDomain::addaddondomain (tương thích rộng). Nếu > server trả lỗi "feature disabled", kiểm tra gói hosting có cho phép addon domain không.
DNS & thao tác nâng cao (escape hatch)
Các tác vụ DNS dùng trực tiếp UAPI — ví dụ:
# Liệt kê bản ghi DNS của một zone
cpanel uapi DNS parse_zone zone=example.com
# Thêm bản ghi (tham khảo tài liệu UAPI DNS::mass_edit_zone)
Tra cứu hàm tại https://api.docs.cpanel.net/ (module DNS, DomainInfo, SubDomain).
An toàn
- Chạy
domain:listtrước khi thêm để tránh trùng. - Xóa domain/subdomain là thao tác phá hủy (mất cấu hình vhost). Engine chặn nếu thiếu
xác nhận; sau khi người dùng đồng ý, chạy lại kèm --yes (vd cpanel subdomain:delete blog example.com --yes).
- Sau khi thêm domain, nhắc người dùng trỏ DNS/nameserver nếu domain đăng ký ở nơi khác.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: azdigi-official
- Source: azdigi-official/hostingai_skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.