healthcheck
ما الذي تفعله
تفحص هذه المهارة الحاسوب الذي يشغّل Brigade بحثاً عن نقاط الضعف الأمنية، وتقترح إعدادات أكثر أماناً. وهي لمن يريد تأمين لابتوب أو محطة عمل أو خادم.
متى تستخدمها
- ✓عندما تريد تدقيقاً أمنياً للحاسوب الذي يشغّل Brigade.
- ✓عندما تريد مراجعة إعدادات جدار الحماية أو الوصول عن بُعد أو التحديثات.
- ✓عندما تريد فحصاً أمنياً منتظماً لجهازك.
رابط المهارة
https://github.com/spinabot/brigade/blob/main/skills/healthcheck/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“دقّق أمان الحاسوب الذي يشغّل Brigade، واذكر أهم التغييرات التي يجب أن أوافق عليها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ الذكاء الاصطناعي إعدادك أولاً دون تغيير أي شيء، ويطرح أسئلة قصيرة عن مستوى المخاطرة لديك. ثم يقترح تغييرات مرحلية قابلة للتراجع، ولا يجري أي تغيير قبل موافقتك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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):
- OS and version (Linux/macOS/Windows), container vs host.
- Privilege level (root/admin vs user).
- Access path (local console, SSH, RDP, tailnet).
- Network exposure (public IP, reverse proxy, tunnel).
- Brigade gateway status and bind address.
- Backup system and status (e.g., Time Machine, system images, snapshots).
- Deployment context (local mac app, headless gateway host, remote gateway, container/CI).
- Disk encryption status (FileVault/LUKS/BitLocker).
- OS automatic security updates status. Note: these are not blocking items, but are highly recommended, especially if Brigade can access sensitive data.
- 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:
- OS:
uname -a,sw_vers,cat /etc/os-release. - Listening ports:
- Linux:
ss -ltnup(orss -ltnpif-uunsupported). - macOS:
lsof -nP -iTCP -sTCP:LISTEN.
- Linux:
- Firewall status:
- Linux:
ufw status,firewall-cmd --state,nft list ruleset(pick what is installed). - macOS:
/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstateandpfctl -s info.
- Linux:
- 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:
brigade security audit(faster, non-probing)brigade security audit --json(structured output)
Offer to apply Brigade safe defaults (numbered):
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
الأسئلة الشائعة
هل سيغيّر إعداداتي دون أن يسأل؟
لا. يحتاج إلى موافقتك الصريحة قبل أي تغيير على الحاسوب.
هل يستطيع أن يقفل وصولي عن بُعد؟
تتحقق المهارة من طريقة اتصالك قبل تغيير أي إعداد للوصول عن بُعد، وتخطط للتراجع.
هل يغيّر Brigade جدار الحماية نفسه؟
لا. لا يغيّر Brigade جدار الحماية أو SSH أو تحديثات نظام التشغيل، فهي خطوات منفصلة تتولاها بنفسك.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 11k
- الترتيب
- #11722
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
1password
11kيعلّم وكيلك إعداد أداة سطر الأوامر لـ 1Password وتسجيل الدخول بأمان، ثم قراءة الأسرار المخزنة أو إدراجها عند الحاجة.
apple-reminders
11kيتيح لوكيلك عرض التذكيرات في Apple وإضافتها وتعديلها وإكمالها وحذفها من الطرفية، بما فيها القوائم وفلاتر التاريخ.
bluebubbles
11kيتيح لوكيلك إرسال رسائل iMessage وإدارتها عبر BlueBubbles، بما فيها النصوص والمرفقات وردود الفعل السريعة والتعديل وإعدادات المجموعات.
camsnap
11kيتيح لوكيلك التقاط لقطات أو مقاطع قصيرة أو مراقبة الحركة من كاميرات المراقبة الشبكية التي أعددتها بالفعل.
مهارات مشابهة
reverse-engineer-anything
422kيساعد وكيلك على فحص التطبيقات والحزم المنشورة من الداخل ليشرح الميزات ويقارن الإصدارات ويرشد إلى إعادة البناء، باستخدام أداة REA.
1password
394kيساعد وكيلك على إعداد واجهة سطر أوامر 1Password وتسجيل الدخول، وقراءة الأسرار أو حقنها دون طباعة قيمها في المحادثة.
healthcheck
394kيساعد وكيلك على تدقيق جهاز OpenClaw أو خادمه أمنيًا، مثل SSH والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.