rule-creation
Auto-triggers Context Engineering compliance and Lobster enforcement when proposing, creating, or formalizing rules, policies, processes, or behavioral constraints. Implements the principle: the act of stating a rule IS the trigger to wire it.
Why use this skill?
Master Context Engineering with the rule-creation skill. Automatically wire, enforce, and formalize AI agent policies, workflows, and behavioral constraints.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/levineam/rule-creationWhat This Skill Does
The rule-creation skill is a mission-critical utility for OpenClaw AI agents designed to automate the lifecycle of governance and behavioral compliance. It implements the Context Engineering (CE) framework, which shifts rule management from passive, fragile 'hope-based prompting' to active, persistent 'wiring.' When a user proposes a rule, policy, or constraint, the agent immediately captures it, evaluates the necessity of rigorous Lobster enforcement, and integrates the rule into the agent's core operational documents such as TOOLS.md or CONSTITUTION.md. By treating the act of stating a rule as the active trigger for implementation, this skill ensures that behavioral guardrails are not forgotten or ignored during complex tasks.
Installation
To integrate this capability into your agent environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/levineam/rule-creation
Once installed, the skill automatically registers its triggers to listen for governance-oriented language, ensuring that any directive regarding workflows or constraints is intercepted and processed according to the mandatory Lobster enforcement preflight protocols.
Use Cases
This skill is indispensable for high-stakes operational environments where precision is required. Use it to formalize:
- Security Protocols: Define hard constraints on external API interactions or data deletion.
- Operational Workflows: Establish multi-step sequences for repetitive tasks like deployments or reporting.
- Governance Updates: Proactively update project documentation when team standards change.
- Behavioral Constraints: Set permanent boundaries for how the AI interacts with specific tools or users.
Example Prompts
- "From now on, any deployment to production must trigger an automated unit test suite before the push is authorized."
- "Formalize a new policy: Never delete a file from the /logs directory without first archiving it to the remote backup drive."
- "Make it a HARD rule that every external email sent by this agent must be approved by the human admin in the Slack channel first."
Tips & Limitations
To maximize the efficacy of this skill, ensure that the Lobster plugin is properly configured, as it serves as the enforcement layer for the rules you create. If Lobster is unavailable, the skill will default to wiring the rule into your static documentation (e.g., TOOLS.md). Remember that the skill follows a 'wire first, report after' methodology; the agent will not ask for permission to document a constraint because the act of stating the rule is interpreted as explicit instruction to secure it immediately. Periodically audit your CONSTITUTION.md to prune outdated rules.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-levineam-rule-creation": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
qmd
Local hybrid search for markdown notes and docs. Use when searching notes, finding related content, or retrieving documents from indexed collections.
lastxdays
Research and summarize what happened in the last N days (or a date range) about a topic, optionally using Reddit API and X ingestion via x-cli/API/archive with graceful fallback to web.