用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/danielrosehill/Claude-Security-Auditor-Plugin --skill audit-machine命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | audit-machine |
| description | Use when the user wants to run a security audit on a registered machine. |
Execute a security audit over SSH on a single registered machine. The audit checks for configuration drift, hardening gaps, policy compliance, and other findings. Output is timestamped and appended to the machine's audit log.
quick, full, or report-only; default full)
quick — fast checks only (10–30 seconds)full — comprehensive scan (5–15 minutes)report-only — regenerate markdown from the most recent raw dataResolve the data directory:
DATA_DIR="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/security-auditor/data"
REPO_BASE="$DATA_DIR"
export REPO_BASE
Verify the machine is registered:
cd /home/daniel/repos/github/my-repos/Claude-Security-Auditor-Plugin
bash scripts/list-machines.sh <machine_name> --json | jq .
Fail gracefully if the machine is not found.
Invoke the audit:
bash scripts/audit-machine.sh <machine_name> [--quick|--full|--report-only]
The script runs over SSH, writes reports/<timestamp>/audit-report.md, and updates audit-log.json.
Extract the report path from the output and read the markdown for a brief summary. Display path and key findings to the user.
${CLAUDE_USER_DATA}/security-auditor/data/machines/<machine-name>/reports/<ISO8601-timestamp>/audit-report.mdaudit-log.json updated with entry for this run