create-policies
FeaturedCreate and test DashClaw guard policies for agent governance
AI & Automation 301 stars
52 forks Updated today MIT
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Create Guard Policies
Help developers define, import, and test guard policies that control what agents can and cannot do.
## Policy Types
| Type | Purpose | Example |
|------|---------|---------|
| `risk_threshold` | Block/warn when risk score exceeds limit | Block actions with risk > 80 |
| `action_type_restriction` | Allow/deny specific action types | Block `security` actions without approval |
| `approval_gate` | Require human approval for matching actions | Require approval for deploys |
| `webhook_check` | Call external endpoint for policy decision | Check Jira ticket status before deploy |
| `semantic_guardrail` | LLM-based content analysis | Block PII in action metadata |
## Guard Modes
- **`off`** — No policy enforcement (development only)
- **`warn`** — Log policy violations but allow execution
- **`enforce`** — Block policy violations (production recommended)
## Defining Policies in YAML
### Risk Threshold Policy
```yaml
name: high-risk-blocker
type: risk_threshold
mode: enforce
conditions:
risk_score_min: 80
reversible: false
action: block
reason: "Irreversible actions with risk >= 80 require manual execution"
```
### Action Type Restriction
```yaml
name: no-unattended-deploys
type: action_type_restriction
mode: enforce
conditions:
action_types:
- deploy
- database
action: require_approval
reason: "Deploy and database actions require human approval"
```
### Approval Gate
```yaml
name: production-approval-gate
type: approval_gate
mode: enfor...
Details
- Author
- ucsandman
- Repository
- ucsandman/DashClaw
- Created
- 7 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
dashclaw-governance
Apply DashClaw governance: guard decisions, approvals, action recording, and agent session lifecycle.
3 Updated 5 days ago
ucsandman AI & Automation Featured
register-on-dashclaw
Register any agent (including this one) as a governed agent on a DashClaw instance
301 Updated today
ucsandman