Tighten policy

From backbay-labs/clawdstrike · View interactive version

Tighten policy is an AI agent skill from the GitHub repository backbay-labs/clawdstrike. Analyze and tighten ClawdStrike security policies

How to use this skill

Skill file

Tighten Policy

Workflow

Step 1: Assess Current State

  1. Validate — Call workbench_validate_policy to check for errors.
  2. List guards — Call workbench_list_guards to see all 13 available guards.
  3. Check compliance — Call workbench_compliance_check to identify framework gaps.

Step 2: Identify Gaps

Compare the policy against the guard registry to find:

Step 3: Generate Test Scenarios

Call workbench_suggest_scenarios to automatically generate scenarios for enabled guards, then add custom scenarios targeting identified gaps.

Step 4: Run Scenarios and Verify

Use workbench_run_all_scenarios to batch-test. Focus on:

Step 5: Apply Tightening Changes

For each identified gap, recommend specific YAML changes.

Guard-by-Guard Tightening Checklist

Forbidden Path (filesystem)

Egress Allowlist (network)

Secret Leak (content)

Shell Command (tools)

MCP Tool (tools)

Prompt Injection (detection)

Jailbreak (detection)

Patch Integrity (content)

Settings

Policy Comparison

When tightening, always compare the before and after using workbench_diff_policies to verify:

Instructions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.