Token导航 LogoToken导航TokenDH.com
运维需要联网clawhub未标认证来源可访问clear审计提醒

rule-creation规则创建

Agent Skill

rule-creation 用于补充运维相关能力,适合在 OpenClaw 中需要让 Agent 承接运维相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,711

周安装

546

GitHub Stars

公开资料未说明

下载量

4,455
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rule-creation(规则创建)
来源仓库:https://github.com/levineam/rule-creation
安装命令:
openclaw skills install rule-creation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install rule-creation

简介

rule-creation 在形式化规则或流程时自动注入合规检查与执行约束。

  • 适合制定内部策略、审批流程或行为规范时使用。
  • 可生成标准化 YAML 定义并验证逻辑一致性。
  • 安装命令:openclaw skills install rule-creation;依赖 OpenClaw 的上下文工程模块。
  • 生成的规则需经人工复核,避免自动化误判导致业务中断。

SKILL.md

name
rule-creation
description
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.
metadata
openclaw
emoji
📜

rule-creation Skill

Description

Auto-triggers Context Engineering compliance and Lobster enforcement evaluation when proposing, creating, or formalizing new rules, policies, processes, workflows, or behavioral constraints.

Context Engineering is the practice of wiring rules into your AI's context so they're reliably followed — not just hoped for via prompting. Credit: Muratcan Koylan (@koylanai)

Use this skill any time you are:

  • Declaring a new rule (e.g. "From now on, always X")
  • Formalizing a policy (e.g. "The policy for Y is Z")
  • Creating a behavioral constraint (e.g. "Never do X without doing Y first")
  • Proposing a process or workflow
  • Updating governance documents (TOOLS.md, CRITICAL-RULES.md, CONSTITUTION.md, etc.)

When This Skill Matches

Trigger phrases:

  • "Add this rule…"
  • "Create a policy…"
  • "From now on…"
  • "The rule is…"
  • "New constraint…"
  • "Formalize that…"
  • "Wire this rule…"
  • "Make it a HARD rule…"
  • Any governance/policy update request

Mandatory Workflow

When this skill triggers, always execute the following steps in order. Do NOT ask permission — CE-PROCESS compliance means wire first, report after.

Step 1: Identify the Rule

Extract:

  • Rule name — short slug (e.g. no-bare-spawns, external-message-gate)
  • Rule description — plain language statement of what the rule requires
  • Rule typeHARD (non-negotiable, always enforced) or soft (guideline, use judgment)

Step 2: Evaluate Enforcement Need (CR-012 Criteria)

Run scripts/evaluate-enforcement-need.js or apply manually:

A rule needs Lobster enforcement if ANY of the following are true:

CriterionExamples
High-stakesSends external messages, spends money, deletes data, publishes public content, deploys to production
Pattern of violationsA similar rule was already stated but broken or ignored
Multi-step sequenceRequires multiple ordered steps (do A, then B, then C)
External / public actionAffects things outside the user's local files

Scoring:

  • 0 criteria matched → needsEnforcement: false (wire to TOOLS.md only)
  • 1+ criteria matched → needsEnforcement: true (create Lobster workflow + wire)

Step 3: Lobster Availability Preflight

Before creating any workflow, verify Lobster is actually enabled:

Run scripts/check-lobster-available.js or check manually:

openclaw plugins list | grep -i lobster
OutputMeaningAction
lobster … loaded✅ AvailableProceed to Step 3a
lobster … disabled❌ UnavailableUse fallback (below)
No lobster row❌ Not installedUse fallback (below)

Fallback when Lobster is unavailable:

  • Skip workflow creation entirely
  • Proceed directly to Step 4 (wire to docs) — no Lobster reference in the entry
  • Report: ⚠️ Enforcement: unavailable (Lobster not enabled)
  • Include hint: Run: openclaw plugins enable lobster to activate

Never claim enforcement is wired when Lobster is disabled.

Step 3a: Create Lobster Workflow (enforcement needed AND Lobster available)

If needsEnforcement: true and Lobster preflight passed:

  1. Copy templates/lobster-workflow.template.lobster
  2. Fill in: name, description, steps specific to rule enforcement
  3. Save to workflows/<rule-name>.lobster
  4. Note the workflow path for wiring

Step 4: Wire to Docs

Run scripts/wire-rule-to-docs.js or manually append to the appropriate file:

Routing:

  • Operational rules → TOOLS.md
  • Identity/persona constraints → SOUL.md or agents/identity.md
  • Hard system rules → CRITICAL-RULES.md (if exists) or AGENTS.md
  • Project-specific rules → relevant project board or agents/projects.md

Entry format (from templates/tools-md-entry.template.md):

## <Rule Name> (<HARD|soft>)

<Rule description>

[If Lobster enforcement]: **Enforced by:** `workflows/<rule-name>.lobster`

Step 5: Report What Was Done

Your response must include:

✅ Rule wired: <Rule Name>
📄 Location: <file where it was added>
🔒 Enforcement: <Lobster workflow path OR "TOOLS.md entry only">
📋 Type: <HARD|soft>

Never say:

  • ❌ "Want me to add this to TOOLS.md?"
  • ❌ "Should I wire this through CE?"
  • ❌ "Is this CE compliant?"

Always say:

  • ✅ "Added <rule> to <file>. Enforcement: <status>."

Script Reference

ScriptPurpose
scripts/check-lobster-available.jsPreflight: verify Lobster plugin is enabled in this OpenClaw instance
scripts/evaluate-enforcement-need.jsEvaluate CR-012 criteria against rule description
scripts/wire-rule-to-docs.jsAppend rule entry to TOOLS.md or specified target file
scripts/report-rule-creation.jsGenerate user-facing summary of what was created

Workflow Reference

WorkflowPurpose
workflows/create-rule.lobsterFull end-to-end rule creation pipeline

Context Engineering Auto-Trigger (HARD)

This skill embodies the Context Engineering Auto-Trigger principle:

"When proposing any new rule, behavioral constraint, or policy change: Wire it first. Add the rule to the appropriate file BEFORE responding. Never ask permission to formalize a rule."

The act of recognizing a rule IS the trigger. Wire immediately. Report after.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.8%
按下载量换算3,822

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills