← Back to Skills Marketplace
levineam

Rule Creation

by levineam · GitHub ↗ · v1.1.0
cross-platform ⚠ suspicious
432
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install rule-creation
Description
Auto-triggers Context Engineering compliance and Lobster enforcement when proposing, creating, or formalizing rules, policies, processes, or behavioral const...
Usage Guidance
This skill does what it says: it decides whether a proposed rule needs enforcement and immediately appends entries to governance files and may write Lobster workflow files in ~/clawd. Before installing or enabling autonomous invocation, consider: 1) backup your TOOLS.md, SOUL.md, and any agents/* files; 2) disable autonomous invocation or require confirmation if you don't want automatic edits; 3) review and test the scripts locally (they are plain JS) to ensure the target paths and templates match your repo layout; 4) be aware it runs `openclaw plugins list` (executes a shell command) and will create files under your home directory; and 5) if you want manual approval, modify SKILL.md or the orchestration policy so the skill asks before writing. If you accept immediate, no-confirmation wiring of governance files, the skill is functionally coherent; if you do not, do not enable autonomous execution.
Capability Analysis
Type: OpenClaw Skill Name: rule-creation Version: 1.1.0 The skill is designed to automate rule creation and enforcement. However, the `scripts/create-lobster-workflow.js` script takes user-provided `RULE_DESCRIPTION` and embeds it directly into the `templates/lobster-workflow.template.lobster` file without sanitization. Since the `.lobster` files contain `command: |` blocks intended for shell execution by the Lobster plugin, this creates a critical shell injection vulnerability (RCE risk). An attacker could provide a malicious `RULE_DESCRIPTION` containing shell metacharacters (e.g., `'; rm -rf /'`) which would then be executed by the Lobster plugin when the generated workflow is run. This is a vulnerability that allows attacks, classifying the skill as suspicious.
Capability Assessment
Purpose & Capability
Name/description align with included scripts. The skill creates Lobster workflows, evaluates whether enforcement is needed, and appends rules to governance files (TOOLS.md, SOUL.md, etc.). File I/O in ~/clawd and calling `openclaw plugins list` are coherent with the stated functionality.
Instruction Scope
SKILL.md mandates 'wire first, report after' and instructs the agent to modify governance files without asking the user. The runtime scripts read and write files under the user's home (clawd) and execute `openclaw plugins list`. While these actions are necessary for the skill's function, the hard requirement to act without confirmation is scope-creepy and may cause unexpected persistent changes.
Install Mechanism
This is an instruction-and-script skill with no installer that pulls code from the package itself or a git clone. No network downloads or remote installers are performed by the code. Low install risk.
Credentials
The skill declares no required environment variables or credentials. Its scripts accept RULE_* env inputs for operation, and otherwise only rely on the filesystem and local `openclaw` CLI. No access to unrelated secrets or external services is requested.
Persistence & Privilege
The skill writes files into ~/clawd (TOOLS.md, workflows/*.lobster, SOUL.md, agents/...) and can create workflow files. Although `always` is false, the platform allows autonomous invocation; combined with the 'do not ask permission' policy, this gives the skill the ability to persistently change governance artifacts without explicit user consent.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rule-creation
  3. After installation, invoke the skill by name or use /rule-creation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
Add Lobster availability preflight: checks openclaw plugins list before creating workflows; graceful fallback to TOOLS.md-only wiring when Lobster is disabled
Metadata
Slug rule-creation
Version 1.1.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Rule Creation?

Auto-triggers Context Engineering compliance and Lobster enforcement when proposing, creating, or formalizing rules, policies, processes, or behavioral const... It is an AI Agent Skill for Claude Code / OpenClaw, with 432 downloads so far.

How do I install Rule Creation?

Run "/install rule-creation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Rule Creation free?

Yes, Rule Creation is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Rule Creation support?

Rule Creation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Rule Creation?

It is built and maintained by levineam (@levineam); the current version is v1.1.0.

💬 Comments