用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Zate/cc-plugins --skill baseline命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | baseline |
| description | Create or update the project security baseline, profile, suppressions file, and gitignore entries for security scans |
| argument-hint | [--refresh] |
| disable-model-invocation | true |
| allowed-tools | ["Read","Write","Edit","Bash","AskUserQuestion"] |
Create the local project profile that helps /security:scan classify severity and keep scan artifacts out of git.
Run:
mkdir -p .security
"${CLAUDE_PLUGIN_ROOT}/scripts/recon.sh" . | tee .security/recon.json
"${CLAUDE_PLUGIN_ROOT}/scripts/detect-tools.sh" | tee .security/tools.json
Read .security/recon.json.
Ask concise questions when .security/profile.json does not exist or --refresh is passed:
Write .security/profile.json:
{
"version": 1,
"exposure": "public-internet|authenticated-public|internal|cli-library",
"severity_posture": "normal|strict",
"production_paths": ["src/", "app/"],
"test_paths": ["tests/", "fixtures/", "examples/"],
"sensitive_operations": ["auth", "admin", "file-upload"],
"notes": []
}
If .security/suppressions.json does not exist, write:
{
"version": 1,
"suppressions": []
}
Ensure .gitignore contains:
.security/artifacts/
.security/report.md
.security/triaged.json
.security/correlated.json
.security/recon.json
.security/tools.json
.security/changed-files.json
Keep .security/profile.json and .security/suppressions.json trackable by default because they are project policy, not scan output. If the user says suppressions should stay local, add .security/suppressions.json to .gitignore.
Report:
/security:scan --deep.