A specialized CLI tool for defining, managing, and compiling structured business rules into AI-ready system prompts and skills.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install rulespec
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install rulespec using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
rulespec is a robust framework designed to manage business rules for AI agents without compromising existing configurations. Unlike manual prompt engineering, rulespec treats every policy, constraint, and guardrail as an independent, validated unit. It allows developers to add, edit, or remove individual rules via a CLI, ensuring that global instructions remain stable and scalable. By using this tool within the ecosystem of Openclaw Skills, you can transform plain-language business requirements into structured YAML data that compiles directly into agent-loadable markdown files.
The tool is designed to run via npx, requiring no permanent global installation. Start by initializing your project:
npx rulespec init --domain "your-domain-name"
To add your first rule:
npx rulespec add --id unique-id --rule "Description of rule" --intent enforce
To generate the final documentation for Openclaw Skills:
npx rulespec emit
rulespec organizes data through a structured rulespec.yaml file which defines the relationship between sources, rules, and examples.
| Component | Description |
|---|---|
| Domain | The high-level category or business unit for the skill. |
| Sources | Definitions of data inputs (PDF, JSON, API, DB) the rules apply to. |
| Rules | Individual units containing an ID, plain-language text, context, and intent level. |
| Examples | Input/Output pairs used for validation and agent training. |
| Intent | Metadata (enforce/inform/suggest) that dictates the tone of the generated prompt. |
loadRules in TypeScript to inject compiled rules directly into LLM prompts at runtime.replace command automatically validates and recompiles the entire rule set after text updates.Loading
An AI-powered video creation skill that transforms raw clips and images into polished, ready-to-upload YouTube content using cloud GPU rendering.

A technical master reference for Claude Code CLI features, covering everything from session management to advanced automation hooks.

A cloud-based AI video generation tool that transforms text descriptions and media uploads into professional 1080p cinematic videos.

A cloud-based automation tool that converts written scripts, documents, and text prompts into high-quality 1080p MP4 videos.

A high-performance AI skill that converts text descriptions into stunning 1080p images and MP4 videos using cloud-based GPU rendering.

Transform text scripts and static images into professional 1080p videos using high-performance cloud-based AI rendering.








































