Skip to content
Development
Command

/install

Install a rule from the catalog

From plugin
claude-night-market
325163 skills59 agents163 commands1 MCP
Install
$ npx -y skills add athola/claude-night-market --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/install

Context preview

What this command does when you run it.

Install a rule from the catalog

Command definition

install.md
name: install
description: Install a rule from the catalog
usage: |
  /hookify:install <category>:<rule-name>
  /hookify:install --category <name>
  /hookify:install --all
  /hookify:install --list
examples:
  - /hookify:install git:block-force-push
  - /hookify:install python:warn-print-statements
  - /hookify:install --category security
  - /hookify:install --list

Hookify Install Command

Install hookify rules from the rule catalog.

Quick Start

# Use the Python installer (recommended)
python3 plugins/hookify/scripts/install_rule.py git:block-force-push

# Or invoke the skill for Claude-assisted installation
Skill(hookify:rule-catalog)

Python Installer Usage

The installer uses `__file__` to locate rules, so it works regardless of where the plugin is installed.

Install Single Rule

python3 plugins/hookify/scripts/install_rule.py git:block-force-push

Install All Rules in Category

python3 plugins/hookify/scripts/install_rule.py --category git

Install All Rules

python3 plugins/hookify/scripts/install_rule.py --all

List Available Rules

python3 plugins/hookify/scripts/install_rule.py --list

Available Rules

git/ - Git Safety

| Rule | Action | Default | |------|--------|---------| | `block-force-push` | block | enabled | | `warn-large-commits` | warn | enabled |

python/ - Python Quality

| Rule | Action | Default | |------|--------|---------| | `block-dynamic-code` | block | enabled | | `warn-print-statements` | warn | enabled |

security/ - Security Gates

| Rule | Action | Default | |------|--------|---------| | `require-security-review` | block | enabled |

workflow/ - Workflow Enforcement

| Rule | Action | Default | |------|--------|---------| | `enforce-scope-guard` | warn | enabled | | `require-spec-before-code` | block | disabled |

performance/ - Resource Management

| Rule | Action | Default | |------|--------|---------| | `warn-large-file-ops` | warn | enabled |

Installation Options

# Install with default status
python3 plugins/hookify/scripts/install_rule.py git:block-force-push

# Force overwrite existing
python3 plugins/hookify/scripts/install_rule.py git:block-force-push --force

# Install to custom directory
python3 plugins/hookify/scripts/install_rule.py git:block-force-push --target /path/to/.claude

Uninstall

rm .claude/hookify.<rule-name>.local.md

Rule Location

Rules are stored in the skill catalog:

plugins/hookify/skills/rule-catalog/rules/
├── git/
├── python/
├── security/
├── workflow/
└── performance/

See Also

  • `Skill(hookify:rule-catalog)` - Browse and install rules
  • `/hookify:list` - Show installed rules
  • `/hookify:configure` - Manage installed rules
  • `Skill(hookify:writing-rules)` - Create custom rules
Read more
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

Get the whole plugin, auto-invoked
Stats
325
Stars
0
Views
35
Forks
Active
Maintenance
Python
Language
MIT
License
1d ago
Last commit
8mo ago
Created

Repo: athola/claude-night-market