policy-guide
Guide to ClawdStrike security policies and guard configuration
Security review for risky code changes
Claude Code
$ npx -y skills add backbay-labs/clawdstrike --skill security-review --agent claude-code
Codex
$ npx skills add backbay-labs/clawdstrike --skill security-review -a codex -y
Cursor
$ npx skills add backbay-labs/clawdstrike --skill security-review -a cursor -y
Gemini CLI
$ npx skills add backbay-labs/clawdstrike --skill security-review -a gemini-cli -y
GitHub Copilot
$ npx skills add backbay-labs/clawdstrike --skill security-review -a github-copilot -y
OpenCode
$ npx skills add backbay-labs/clawdstrike --skill security-review -a opencode -y
Windsurf
$ npx skills add backbay-labs/clawdstrike --skill security-review -a windsurf -y
description: "Security review for risky code changes"
<trigger> This skill activates when the user or conversation involves:
</trigger>
Before proceeding with risky actions, use the `clawdstrike_check` MCP tool to verify policy compliance:
1. **Pre-flight check**: Call `clawdstrike_check` with the action_type and target before executing 2. **Secret scanning**: Verify no secrets, API keys, or credentials are being written to files 3. **Dependency audit**: For new dependencies, check for known vulnerabilities 4. **Permission scope**: Ensure file operations stay within allowed paths 5. **Shell safety**: Validate shell commands against the ShellCommandGuard policy
Use these action_type values when calling `clawdstrike_check`:
| Scenario | action_type | target | |----------|-------------|--------| | Writing/reading files | `file` | Absolute file path | | Running shell commands | `shell` | The command string | | HTTP/network requests | `egress` | Domain or URL | | Installing packages | `shell` | Install command | | MCP tool invocation | `mcp_tool` | Tool name |
When this skill is active:
Use these MCP tools in order of priority when this skill activates:
| Tool | When to Use | |------|-------------| | `clawdstrike_check` | Before any file write, shell command, or egress -- the primary enforcement tool | | `clawdstrike_policy_eval` | To test hypothetical actions without executing them -- use for planning | | `clawdstrike_policy_show` | To understand which guards are active and what the current restrictions are | | `clawdstrike_scan` | To audit all MCP server configs for misconfigurations before a review | | `clawdstrike_policy_lint` | To validate policy YAML files for syntax/schema errors |
These guards are evaluated during checks:
Agentic AI EDR for developer workstations and autonomous agent swarms. Build Swarm Detection & Response platforms with Clawdstrike.
Guide to ClawdStrike security policies and guard configuration
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…