用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/danielrosehill/Claude-Security-Auditor-Plugin --skill remove-machine命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | remove-machine |
| description | Use when the user wants to deregister a machine from the fleet. |
Deregister a machine from the fleet. The profile and audit reports are archived (not deleted) for compliance and historical reference.
Resolve the data directory:
DATA_DIR="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/security-auditor/data"
MACHINE_DIR="$DATA_DIR/machines/<machine_name>"
TRASH_DIR="$DATA_DIR/.trash"
Verify the machine exists:
[ -d "$MACHINE_DIR" ] || { echo "Machine not found"; exit 1; }
Prompt for confirmation. If the user declines, abort.
Archive the profile:
mkdir -p "$TRASH_DIR"
TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%SZ)
mv "$MACHINE_DIR" "$TRASH_DIR/<machine_name>-$TIMESTAMP"
Confirm removal to the user and show the archive path.
${CLAUDE_USER_DATA}/security-auditor/data/.trash/<machine_name>-<timestamp>/