linux-shell-scripting – skill DevOps & Hạ tầng cho agent AI
Cung cấp mẫu shell script sẵn sàng cho môi trường production cho các tác vụ quản trị Linux phổ biến như sao lưu, giám sát, quản lý người dùng, phân tích log và tự động hóa. Các script này là khối xây dựng cho môi trường vận hành bảo mật và kiểm thử xâm nhập.
Cài skill linux-shell-scripting bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/linux-shell-scripting-28b06.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /linux-shell-scripting – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/linux-shell-scripting-28b06.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $linux-shell-scripting – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/linux-shell-scripting-28b06.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /linux-shell-scripting – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/linux-shell-scripting-28b06.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /linux-shell-scripting – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Linux Production Shell Scripts
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
Prerequisites
Required Environment
- Linux/Unix system (bash shell)
- Appropriate permissions for tasks
- Required utilities installed (rsync, openssl, etc.)
Required Knowledge
- Basic bash scripting
- Linux file system structure
- System administration concepts
Constraints and Limitations
- Always test scripts in non-production first
- Use absolute paths to avoid errors
- Quote variables to handle spaces properly
- Many scripts require root/sudo privileges
- Use shell tracing only on nonsecret test inputs; it logs expanded credentials and arguments
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Skill liên quan
- linux-troubleshooting – Quy trình xử lý sự cố Linux để chẩn đoán và khắc phục lỗi hệ thống, vấn đề hiệu năng và…
- llm-cost-optimization – Giảm chi phí API LLM và hạ tầng thông qua chọn mô hình, prompt caching, xử lý theo lô…
- llm-fine-tuning – Thiết lập hạ tầng để fine-tune LLM với QLoRA, LoRA và full fine-tuning, sử dụng Hugging…
- llm-gateway – Triển khai API gateway cho lưu lượng LLM với cân bằng tải, giới hạn tốc độ, quản lý…
- llm-inference-scaling – Tự động mở rộng cụm suy luận LLM trên Kubernetes bằng KEDA, metric GPU tùy chỉnh và…
- llmops-platform-engineering – Xây dựng nền tảng LLMOps cấp production với CI/CD, quy trình thăng hạng mô hình, cổng…
- local-llm-expert – Thành thạo suy luận LLM cục bộ, chọn mô hình, tối ưu VRAM và triển khai cục bộ với…
- makepad-deployment – QUAN TRỌNG: Dùng cho đóng gói và triển khai Makepad. Kích hoạt khi gặp: deploy, package…