Chuyển đến nội dung
Skillpedia
Bảo mật11k · #11722

healthcheck

Skill này làm gì

Skill này kiểm tra máy tính chạy Brigade xem có điểm yếu bảo mật nào và đề xuất thiết lập an toàn hơn. Skill dành cho người muốn khóa chặt laptop, máy trạm hoặc máy chủ.

Khi nào nên dùng

  • ✓Khi bạn muốn kiểm toán bảo mật của máy tính chạy Brigade.
  • ✓Khi bạn muốn rà soát thiết lập tường lửa, truy cập từ xa hoặc cập nhật.
  • ✓Khi bạn muốn một kiểm tra bảo mật định kỳ được thiết lập cho máy.

Liên kết skill

https://github.com/spinabot/brigade/blob/main/skills/healthcheck/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/spinabot/brigade/blob/main/skills/healthcheck/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm toán bảo mật máy tính chạy Brigade của tôi và liệt kê các thay đổi hàng đầu mà tôi nên phê duyệt.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Trước tiên skill đọc thiết lập của bạn mà không thay đổi gì và hỏi vài câu ngắn về mức độ rủi ro bạn chấp nhận. Skill đề xuất các thay đổi có thể hoàn tác, theo từng bước, và không thực hiện thay đổi nào cho đến khi bạn phê duyệt.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Brigade Host Hardening

Overview

Assess and harden the host running Brigade, then align it to a user-defined risk tolerance without breaking access. Use Brigade security tooling as a first-class signal, but treat OS hardening as a separate, explicit set of steps.

Core rules

  • Recommend running this skill with a state-of-the-art model (e.g., Opus 4.5, GPT 5.2+). The agent should self-check the current model and suggest switching if below that level; do not block execution.
  • Require explicit approval before any state-changing action.
  • Do not modify remote access settings without confirming how the user connects.
  • Prefer reversible, staged changes with a rollback plan.
  • Never claim Brigade changes the host firewall, SSH, or OS updates; it does not.
  • If role/identity is unknown, provide recommendations only.
  • Formatting: every set of user choices must be numbered so the user can reply with a single digit.
  • System-level backups are recommended; try to verify status.

Workflow (follow in order)

0) Model self-check (non-blocking)

Before starting, check the current model. If it is below state-of-the-art (e.g., Opus 4.5, GPT 5.2+), recommend switching. Do not block execution.

1) Establish context (read-only)

Try to infer 1–5 from the environment before asking. Prefer simple, non-technical questions if you need confirmation.

Determine (in order):

  1. OS and version (Linux/macOS/Windows), container vs host.
  2. Privilege level (root/admin vs user).
  3. Access path (local console, SSH, RDP, tailnet).
  4. Network exposure (public IP, reverse proxy, tunnel).
  5. Brigade gateway status and bind address.
  6. Backup system and status (e.g., Time Machine, system images, snapshots).
  7. Deployment context (local mac app, headless gateway host, remote gateway, container/CI).
  8. Disk encryption status (FileVault/LUKS/BitLocker).
  9. OS automatic security updates status. Note: these are not blocking items, but are highly recommended, especially if Brigade can access sensitive data.
  10. Usage mode for a personal assistant with full access (local workstation vs headless/remote vs other).

First ask once for permission to run read-only checks. If granted, run them by default and only ask questions for items you cannot infer or verify. Do not ask for information already visible in runtime or command output. Keep the permission ask as a single sentence, and list follow-up info needed as an unordered list (not numbered) unless you are presenting selectable choices.

If you must ask, use non-technical prompts:

  • “Are you using a Mac, Windows PC, or Linux?”
  • “Are you logged in directly on the machine, or connecting from another computer?”
  • “Is this machine reachable from the public internet, or only on your home/network?”
  • “Do you have backups enabled (e.g., Time Machine), and are they current?”
  • “Is disk encryption turned on (FileVault/BitLocker/LUKS)?”
  • “Are automatic security updates enabled?”
  • “How do you use this machine?” Examples:
    • Personal machine shared with the assistant
    • Dedicated local machine for the assistant
    • Dedicated remote machine/server accessed remotely (always on)
    • Something else?

Only ask for the risk profile after system context is known.

If the user grants read-only permission, run the OS-appropriate checks by default. If not, offer them (numbered). Examples:

  1. OS: uname -a, sw_vers, cat /etc/os-release.
  2. Listening ports:
    • Linux: ss -ltnup (or ss -ltnp if -u unsupported).
    • macOS: lsof -nP -iTCP -sTCP:LISTEN.
  3. Firewall status:
    • Linux: ufw status, firewall-cmd --state, nft list ruleset (pick what is installed).
    • macOS: /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate and pfctl -s info.
  4. Backups (macOS): tmutil status (if Time Machine is used).

2) Run Brigade security audits (read-only)

As part of the default read-only checks, run brigade security audit --deep. Only offer alternatives if the user requests them:

  1. brigade security audit (faster, non-probing)
  2. brigade security audit --json (structured output)

Offer to apply Brigade safe defaults (numbered):

  1. brigade security audit --fix

Be explicit that --fix only tightens Brigade defaults and file permissions. It does not change host firewall, SSH, or OS update policies.

If browser control is enabled, recommend that 2FA be enabled on all important accounts, with hardware keys preferred and SMS not sufficient.

3) Check Brigade ver

Câu hỏi thường gặp

Skill có tự thay đổi thiết lập mà không hỏi không?

Không. Skill cần bạn phê duyệt rõ ràng trước mọi thay đổi trên máy tính.

Skill có thể khiến tôi mất quyền truy cập từ xa không?

Skill xác nhận cách bạn kết nối trước khi đổi bất kỳ thiết lập truy cập từ xa nào, và lập kế hoạch hoàn tác.

Brigade có tự thay đổi tường lửa không?

Không. Brigade không thay đổi tường lửa, SSH hay cập nhật hệ điều hành, nên đó là các bước riêng để bạn tự xử lý.

Chi tiết

Mô tả gốc của tác giả

Host security hardening and risk-tolerance configuration for Brigade deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, Brigade cron scheduling for periodic checks, or version status checks on a machine running Brigade (laptop, workstation, Pi, VPS).

repo: spinabot/brigade

Độ phổ biến

Sao GitHub
11k
Vị trí xếp hạng
#11722
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự