OpenParable
Skip to content
← Back to skills

Policy

DevOps & Security
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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/semantica-agi/semantica/blob/HEAD/plugins/skills/policy/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/policy, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

/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.

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.

rules = engine.list_rules()

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