← 返回 Skills 市场
athola

Nm Hookify Writing Rules

作者 athola · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
100
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install nm-hookify-writing-rules
功能描述
Create markdown-based behavioral rules to prevent unwanted actions and block dangerous commands
安全使用建议
This is an authoring guide for local Hookify rules and appears internally consistent. Before enabling blocking rules, review patterns carefully to avoid false positives (overly broad regexes can block benign actions). Ensure you have backups and that .claude/ is writable and secured. The guide uses shell and python3 examples for testing/managing rules — verify those tools exist in your environment. Because rules can block commands, treat them as policy controls: test them in a safe environment and review any rule that runs with action: block before deploying widely.
功能分析
Type: OpenClaw Skill Name: nm-hookify-writing-rules Version: 1.0.0 The skill bundle provides documentation and instructions for an AI agent to help users create 'Hookify' rules, which are guardrails designed to prevent dangerous commands (e.g., 'rm -rf') or protect sensitive files. The content in SKILL.md is purely educational, focusing on regex patterns, YAML configuration, and safety best practices without any evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name/description match the content: the SKILL.md is a rules authoring guide for Hookify, showing how to write markdown/YAML rule files that match patterns and warn or block. Nothing in the skill requests unrelated credentials, packages, or system access that would be inconsistent with authoring rules.
Instruction Scope
Instructions stay within the expected scope: creating .claude/hookify.*.local.md files, writing patterns/conditions, testing regex, and using simple management commands. The doc does show example shell commands (rm, python3) for testing and file management — appropriate for local rule authoring but assumes a shell/python are available.
Install Mechanism
No install spec and no code files — lowest-risk form. The guide does not attempt to download or install artifacts.
Credentials
The skill declares no environment variables, credentials, or config paths beyond instructing users to create files under .claude/. The examples reference typical development checks (e.g., .env, pytest) which are proportional to the stated purpose.
Persistence & Privilege
Flags show default behavior (always: false, model invocation allowed). The skill does not request permanent/always-on inclusion or change other skills' configs; it only documents local rule files that the user/agent would create.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nm-hookify-writing-rules
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nm-hookify-writing-rules 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release. - Introduces a comprehensive guide for creating markdown-based behavioral rules to prevent unwanted actions and block dangerous commands. - Details rule file format, required fields, event types, pattern writing, and advanced conditions. - Provides practical examples for blocking destructive commands, warning about debug code, requiring test runs, and protecting production files. - Includes best practices, troubleshooting steps, and rule management instructions. - Lists related skills and resources for further learning.
元数据
Slug nm-hookify-writing-rules
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Nm Hookify Writing Rules 是什么?

Create markdown-based behavioral rules to prevent unwanted actions and block dangerous commands. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 100 次。

如何安装 Nm Hookify Writing Rules?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install nm-hookify-writing-rules」即可一键安装,无需额外配置。

Nm Hookify Writing Rules 是免费的吗?

是的,Nm Hookify Writing Rules 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Nm Hookify Writing Rules 支持哪些平台?

Nm Hookify Writing Rules 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Nm Hookify Writing Rules?

由 athola(@athola)开发并维护,当前版本 v1.0.0。

💬 留言讨论