Token导航 LogoToken导航

Agent Skill · 运维

rule-creation(规则创建)

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

rule-creation 是运维类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在运维类的 954 个 Skill 里排第 285。

总安装 12,711周安装 546GitHub Stars 公开资料未说明下载 4,455核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

这个 Skill 是做什么的

运维类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

rule-creation 在形式化规则或流程时自动注入合规检查与执行约束。适合制定内部策略、审批流程或行为规范时使用。可生成标准化 YAML 定义并验证逻辑一致性。安装命令:openclaw skills install rule-creation;依赖 OpenClaw 的上下文工程模块。

生成的规则需经人工复核,避免自动化误判导致业务中断。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install rule-creation;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

rule-creation 怎么安装?

在终端执行 openclaw skills install rule-creation。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

rule-creation 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

rule-creation 需要什么权限?

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

rule-creation 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

rule-creation 用的人多吗?

公开数据是累计安装 12,711 次,近一周安装 546 次,下载 4,455 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

rule-creation 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理运维类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

运维类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
docker-essentials

Docker 基础 · OpenClaw

1,005,15130接触敏感数据MIT-0通过
playwright-scraper-skill

Playwright scraper 技能 · OpenClaw

923,55754接触敏感数据MIT-0有提醒
moltguard

moltguard 搜索 · OpenClaw

825,096110接触敏感数据MIT-0通过
finance-news

财经新闻 · OpenClaw

275,51210需要联网MIT-0有提醒
security-monitor

安全监视器 · OpenClaw

224,1695需要联网MIT-0有提醒
rule-creation

规则创建 · 本页

12,711—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

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 type — HARD (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.

平台分布

OpenClaw

85.8%
按下载量换算3,822

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills