用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/kenryu42/cc-safety-net --skill cc-safety-net命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cc-safety-net |
| description | Configure CC Safety Net rulebooks for user, project, or shareable GitHub scope. |
Help the user configure custom blocking rules for CC Safety Net.
Use information already provided in the user's prompt. Ask only when the scope, action, rule intent, merge behavior, or target command is unclear.
npx -y cc-safety-net rule doc and treat that output as the complete source of truth for schema, paths, GitHub sources, matching behavior, and validation.npx -y cc-safety-net rule verifynpx -y cc-safety-net rule listrule doc.
rule.json and <rulebook-name>/rulebook.json..cc-safety-net/rules/<rulebook-name>/rulebook.json in the current repository.owner/repo; installing rules from a GitHub source is outside this workflow..cc-safety-net/rules/<rulebook-name>/rulebook.json, and ensure the source name, directory name, and rulebook name match exactly.npx -y cc-safety-net rule sync, npx -y cc-safety-net rule verify, and npx -y cc-safety-net rule list.npx -y cc-safety-net rule sync --global, npx -y cc-safety-net rule verify, and npx -y cc-safety-net rule list.npx -y cc-safety-net rule verify. Run sync and list only if the rulebook is also installed in local rule.json.UPDATE_AVAILABLE: line, ask the user once whether to run npx -y cc-safety-net@latest update, continue the workflow without waiting either way, and do not raise it again.rulebook.json, not directly in rule.json..safety-net.json or ~/.cc-safety-net/config.json rules. Convert existing legacy files with npx -y cc-safety-net rule migrate.allowed_commands. The tests fixtures are optional and never executed.rule, and that rule must exist in the rulebook.project-rules; do not put filesystem paths in rules.npx -y cc-safety-net rule sync validates it.rule.json makes every source in its scope inactive: those rules stop applying while other custom rules and built-in protections stay active. Repair the condition, then run npx -y cc-safety-net rule sync — a rule you just added silently does nothing until it is synced. Run npx -y cc-safety-net status if a rule does not fire; unlike rule list it also reports a degraded policy.json.rule sync reports failure with the remaining diagnostic instead of success when the synchronized scope still does not load cleanly.