What problem does it solve?
This Skill enables precise control over AI agent behavior, ensuring that agents adhere to defined rules and boundaries, mitigating risks of unauthorized actions and data breaches.
Core Features & Use Cases
- Define Tool-Call Boundaries: Specify what tools agents can call and under what conditions.
- Rule-Based Enforcement: Use YAML-based rules for deterministic decision-making.
- Production-Grade Security: Fail-closed architecture with zero runtime dependencies.
- Use Case: Create a rule that prevents an AI agent from reading sensitive files unless authorized by a human.
Quick Start
Set up a rule to block access to sensitive files with the following YAML:
apiVersion: edictum/v1
kind: Ruleset
metadata:
name: block-sensitive-reads
defaults:
mode: enforce
rules:
- id: block-sensitive-reads
type: pre
tool: read_file
when:
args.path:
contains_any: [".env", ".secret", "credentials", ".pem", "id_rsa"]
then:
action: block
message: "Sensitive file '{args.path}' blocked."