clawdstrike-plugin/skills/policy-guide/SKILL.md
Guide to ClawdStrike security policies and guard configuration
npx skillsauth add backbay-labs/clawdstrike clawdstrike-plugin/skills/policy-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Guard | Action Type | Purpose | Default Status | |-------|-------------|---------|----------------| | ForbiddenPathGuard | file | Blocks access to sensitive filesystem paths (e.g., /etc/shadow, ~/.ssh/id_rsa) | permissive: ON, default: ON, strict: ON | | PathAllowlistGuard | file | Only allows file access to explicitly permitted paths | permissive: OFF, default: OFF, strict: ON | | EgressAllowlistGuard | egress | Controls outbound network access by domain allowlist | permissive: OFF, default: ON, strict: ON | | SecretLeakGuard | file | Detects secrets, API keys, and credentials in file writes | permissive: ON, default: ON, strict: ON | | PatchIntegrityGuard | file | Validates that patches/diffs don't introduce unsafe changes | permissive: OFF, default: ON, strict: ON | | ShellCommandGuard | shell | Blocks dangerous shell commands (rm -rf, sudo, etc.) | permissive: OFF, default: ON, strict: ON | | McpToolGuard | mcp_tool | Restricts which MCP tools can be invoked | permissive: OFF, default: OFF, strict: ON | | PromptInjectionGuard | prompt | Detects prompt injection attempts in inputs | permissive: OFF, default: ON, strict: ON | | JailbreakGuard | prompt | 4-layer jailbreak detection (heuristic + statistical + ML + LLM-judge) | permissive: OFF, default: OFF, strict: ON | | ComputerUseGuard | computer_use | Controls Computer Use Agent actions for remote desktop | permissive: OFF, default: OFF, strict: ON | | RemoteDesktopSideChannelGuard | remote_desktop | Side-channel controls (clipboard, audio, drive mapping, file transfer) | permissive: OFF, default: OFF, strict: ON | | InputInjectionCapabilityGuard | computer_use | Restricts input injection capabilities in CUA environments | permissive: OFF, default: OFF, strict: ON |
Use clawdstrike_policy_show to inspect any ruleset.
| Ruleset | Use Case |
|---------|----------|
| permissive | Development/testing -- minimal restrictions |
| default | General purpose -- balanced security |
| strict | High-security environments -- maximum restrictions |
| ai-agent | AI coding agents -- tuned for agent workflows |
| cicd | CI/CD pipelines -- restricted to build/deploy operations |
| ai-agent-posture | Agent posture assessment -- monitoring without blocking |
| remote-desktop | Remote desktop sessions -- balanced CUA controls |
| remote-desktop-permissive | Permissive CUA -- fewer restrictions for trusted environments |
| remote-desktop-strict | Strict CUA -- maximum restrictions for untrusted environments |
Call clawdstrike_policy_show with no arguments to see the currently loaded policy, or pass a ruleset name to inspect a specific one.
Call clawdstrike_policy_eval with an action_type and target to see which guards would fire and what the verdict would be, without actually executing the action.
Policies support inheritance via the extends field:
extends: strict)ClawdStrike follows a fail-closed design:
This means if something goes wrong, the system errs on the side of security rather than availability.
If the active policy is blocking legitimate actions, follow these steps to relax it safely:
clawdstrike_policy_eval with the denied action to see exactly which guard is blocking it.strict, try default or ai-agent. Use clawdstrike_policy_show to compare what changes.schema_version: "1.2.0"
extends: strict
guards:
ForbiddenPathGuard:
additional_allowed_paths:
- "/path/that/was/blocked"
enabled: false for a specific guard only if the above options do not work. Never disable SecretLeakGuard in production.clawdstrike_policy_eval again to confirm the action is now allowed without opening unintended gaps.When this skill is active:
clawdstrike_policy_show and clawdstrike_policy_eval to give concrete answerstesting
A simple skill demonstrating clawdstrike security
tools
# Hello Skill A simple greeting skill that demonstrates secure agent operation. ## Description This skill allows the agent to greet users and perform basic file operations within the allowed workspace. ## Capabilities - Generate personalized greetings - Read files from the workspace - Write greeting logs to the output directory ## Usage Ask the agent: - "Say hello to Alice" - "Read the welcome message from data/welcome.txt" - "Log a greeting for Bob" ## Examples ### Basic Greeting **Us
testing
# bb-edr: Triage Skill Use this skill to turn clawdstrike audit logs into an incident report and a minimal response plan. ## Inputs - `.hush/audit.jsonl` (JSONL) — clawdstrike audit events (allowed/denied, guard, reason). - `policy.yaml` — the active security policy. ## Task 1. Read and summarize the last ~50 audit events. 2. Focus on **denied** events first: - Group by `guard` (e.g., `forbidden_path`, `egress`, `patch_integrity`) - Identify likely intent (misconfiguration vs. suspici
tools
Threat hunting and security event investigation