policy

Evaluate candidate actions against JSON policy rules with preconditions and effects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jnesfield-bot/rho --skill policy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: policy
Source: https://github.com/jnesfield-bot/rho/tree/main/skills/policy
Command: npx skills add https://github.com/jnesfield-bot/rho --skill policy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a structured, deterministic way to guide an AI agent's decision-making process, ensuring safety, consistency, and adherence to predefined operational logic, moving beyond purely LLM-driven choices.

Core Features & Use Cases

  • Rule-Based Decision Making: Define codified rules (preconditions and effects) that the agent evaluates before executing actions.
  • Safety and Guardrails: Implement high-priority rules to block dangerous commands or prevent undesirable outcomes.
  • Behavioral Control: Influence action selection through boosting, filtering, or rewriting candidate actions.
  • Impasse Handling: Define escalation paths when the agent becomes stuck or encounters repeated failures.
  • Use Case: An agent needs to access a file system. You can define a policy rule that blocks any rm -rf / command, ensuring system safety, while another rule might boost a specific search skill when the task involves research papers.

Quick Start

Use the policy skill to evaluate a set of candidate actions against the current state and apply predefined rules.

Frequently Asked Questions about policy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce safety guardrails on an autonomous LLM agent?

To enforce safety guardrails on an autonomous LLM agent, define a JSON policy file with high-priority rules that block dangerous commands by evaluating preconditions against agent state before execution.

What is a production-rule system for agent control?

A production-rule system for agent control is a deterministic mechanism managing an AI's decision-making process by evaluating codified rules with preconditions and effects against candidate actions.

How do I structure agent decisions without relying purely on the LLM?

To structure agent decisions without relying purely on the LLM, apply a rules engine using a JSON policy file to filter, boost, or rewrite candidate actions based on deterministic operational logic.

Can I define escalation paths for when an autonomous agent gets stuck?

Yes, you can define escalation paths for a stuck autonomous agent by using impasse handling rules within your JSON policy file to manage repeated failures and guide the agent out of blocked states.

What is the best way to block dangerous shell commands in an AI workflow?

The best way to block dangerous shell commands in an AI workflow is implementing codified safety rules in a JSON policy file that intercepts and prevents undesirable actions like destructive file system commands.