# Policy

> Policy is an Agent Skill for devops & security published in the semantica-agi/semantica repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Define and enforce policies, access controls, and compliance rules over Semantica knowledge graphs.

- Skill name: `policy`
- Category: [DevOps & Security](https://www.openparable.com/skill/devops-security/1)
- Source: https://github.com/semantica-agi/semantica/blob/HEAD/plugins/skills/policy/SKILL.md
- Repository: semantica-agi/semantica (1,409 GitHub stars when collected)

## SKILL.md

# /semantica:policy

Apply policy rules and checks. Usage: `/semantica:policy <task> [args]`

`$ARGUMENTS` = task + optional policy name, rule set, or target entity.

---

## `check [--rule <name>] [--target <id>]`

Run policy checks against the graph.

```python
from semantica.policy import PolicyEngine

engine = PolicyEngine()
result = engine.check(rule_name=rule_name, target=target)
```

Output: compliance status, failing rules, and remediation guidance.

---

## `list`

List available policy rules and categories.

```python
rules = engine.list_rules()
```

Return: rule name, description, severity, and category.

---

Source: https://www.openparable.com/skill/devops-security/policy (OpenParable). Cite the canonical URL above.
