Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configure CC Safety Net rulebooks for user, project, or shareable GitHub scope.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-15 | ✗→✓ | ▲ Improved | 47% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -18% | 0% |
| case-06 | ✓→✗ | ▼ Worse | -17% | 0% |
| case-14 | ✓→✗ | ▼ Worse | -28% | 0% |
| case-18 | ✓→✗ | ▼ Worse | -14% | 0% |
<!-- Keep the workflow below in sync with src/integrations/templates/cc-safety-net.ts. -->
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.Other measured skills in the registry, with their headline benchmark lift.