← Back to Skills Marketplace
athola

Nm Hookify Writing Rules

by athola · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
100
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install nm-hookify-writing-rules
Description
Create markdown-based behavioral rules to prevent unwanted actions and block dangerous commands
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install nm-hookify-writing-rules
  3. After installation, invoke the skill by name or use /nm-hookify-writing-rules
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug nm-hookify-writing-rules
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Nm Hookify Writing Rules?

Create markdown-based behavioral rules to prevent unwanted actions and block dangerous commands. It is an AI Agent Skill for Claude Code / OpenClaw, with 100 downloads so far.

How do I install Nm Hookify Writing Rules?

Run "/install nm-hookify-writing-rules" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Nm Hookify Writing Rules free?

Yes, Nm Hookify Writing Rules is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Nm Hookify Writing Rules support?

Nm Hookify Writing Rules is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Nm Hookify Writing Rules?

It is built and maintained by athola (@athola); the current version is v1.0.0.

💬 Comments