hosting_ai_skills: Instructions file for Claude Code

AGENTS.md

hosting_ai_skills AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from azdigi-official/hosting_ai_skills. It costs 853 tokens per session, scanned A, original, MIT.

A set of instructions for AI coding agents that operate cPanel hosting accounts through an API. It covers setup, safety rules, and common hosting tasks.

In plain words
What is it for?
Creating databases, adding domains, deploying sites, debugging hosting issues, setting cron jobs, and managing email through cPanel.
Why use it?
It gives the agent one documented way to manage hosting and helps prevent unsafe or inconsistent server changes.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: Claude Code plugin machinery, but also the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is azdigi-official/hosting_ai_skills's own configuration. It tells Claude Code, Codex and OpenCode how to work on hosting_ai_skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hosting_ai_skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to azdigi-official/hosting_ai_skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/azdigi-official/hosting_ai_skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/azdigi-official/hosting_ai_skills

Made for: Claude Code, Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hosting_ai_skills AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/azdigi-official/hosting_ai_skills/agents-md/github.svg)](https://agentmods.dev/instructions/azdigi-official/hosting_ai_skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/azdigi-official/hosting_ai_skills/agents-md"><img src="https://agentmods.dev/badge/instructions/azdigi-official/hosting_ai_skills/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hosting_ai_skills AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/azdigi-official/hosting_ai_skills/agents-md"><img src="https://agentmods.dev/badge/instructions/azdigi-official/hosting_ai_skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 853 This file is loaded in full into every session.
When invoked 853 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00853 $0.00853
Opus 5 $0.00426 $0.00426
Sonnet 5 $0.00171 $0.00171
Haiku 4.5 $0.00085 $0.00085

Measured 9d ago against content hash c42faf4c4f20, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

hosting_ai_skills AGENTS.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

lib/cpanel-api.sh wrapper curl cho UAPI & API2
AGENTS.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — Hướng dẫn cho AI agent (Codex & tương thích)

Repo này cung cấp một bộ công cụ để AI thao tác lên gói hosting cPanel của người dùng qua API token: tạo database, thêm domain, deploy, debug, cron, email...

Claude Code dùng các skill trong skills/. Codex và các agent khác dùng tài liệu này — nhưng cả hai chạy chung một engine: CLI bin/cpanel.

Khởi động

# credential: mỗi website một .env RIÊNG trong thư mục dự án của nó
#   (CPANEL_HOST, CPANEL_USER, CPANEL_API_TOKEN). Engine nạp theo thứ tự:
#   $CPANEL_ENV_FILE -> ./.env (thư mục hiện tại) -> ~/.cpanel-ai.env (fallback chung)
cpanel doctor            # chạy trong thư mục website đó để xác minh kết nối

Lệnh cpanel có sẵn khi bin/ nằm trong PATH. Nếu chạy trực tiếp trong repo mà chưa thêm PATH, dùng ./bin/cpanel (tương đương).

Nguyên tắc

  1. Mọi thao tác cPanel đi qua cpanel. Xem lệnh: cpanel help.
  2. Output dữ liệu là JSON ở stdout; phân tích bằng jq.
  3. Khi không có lệnh con phù hợp, dùng escape hatch: cpanel uapi <Module> <func> key=value (hoặc api2). Tra cứu hàm tại https://api.docs.cpanel.net/.

Tác vụ thường gặp

Tác vụ Lệnh
Kiểm tra kết nối cpanel doctor
Tạo database + user + quyền db:createdb:user-createdb:grant
Thêm subdomain cpanel subdomain:add <sub> <root>
Thêm addon domain cpanel addon:add <domain>
Debug lỗi web cpanel log:errors

QUY TẮC AN TOÀN (bắt buộc)

  • Thao tác phá hủy có cổng xác nhận trong engine. Các lệnh xóa (db:delete, db:user-delete, subdomain:delete, file:delete, email:delete, email:fwd-delete, ftp:delete, redirect:delete, dns:remove, cron:delete) sẽ DỪNG khi chạy non-interactive nếu không có xác nhận. Quy trình đúng:
    1. Hỏi người dùng và nêu rõ đối tượng sẽ bị xóa (KHÔNG hoàn tác).
    2. Sau khi người dùng đồng ý, chạy lại lệnh kèm cờ --yes.
    • Muốn xem trước mà không thực thi: thêm --dry-run (in ra thao tác API sẽ gọi).
    • Lưu ý: escape hatch cpanel uapi/api2 gọi API thô, KHÔNG qua cổng xác nhận — tự chịu trách nhiệm khi dùng để xóa.
  • Không in CPANEL_API_TOKEN hay mật khẩu ra log/output.
  • Chạy lệnh :list trước khi tạo mới để tránh trùng.
  • Nếu doctor lỗi → dừng và báo người dùng kiểm tra .env, không đoán mò.
  • File .env chứa bí mật và đã được .gitignore — không commit, không đọc token ra ngoài.

Read the full file on GitHub · 64 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 64 lines · 853 tokens per session scan A c42faf4c4f20

Subscribe to this mod's changes

hosting_ai_skills AGENTS.md is an instructions file published in the GitHub repository azdigi-official/hosting_ai_skills (9 stars, last pushed 2mo ago), licensed MIT. It adds 853 tokens to every session, about $0.0043 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories