rule-catalog

rule-catalog is a skill for Claude Code from athola/claude-night-market. It costs 36 tokens per session (1,545 once invoked), scanned A, original, MIT.

A guide for browsing and installing ready-made Hookify rules, grouped into areas such as Git safety, Python quality, security, workflow, and performance.

In plain words
What is it for?
It helps install one rule, all rules in a category, or the complete catalog, and use standard rules as templates.
Why use it?
It helps you find an existing safeguard before spending time writing one from scratch.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 plugins/hookify/scripts/install_rule.py git:block-force-push.

Part of the hookify plugin — 2 skills, 6 commands shipped together

Good fit It helps install one rule, all rules in a category, or the complete catalog, and use standard rules as templates.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/athola/claude-night-market
agentmods
npx agentmods add skills/athola/claude-night-market/rule-catalog

Made for: Claude Code.

Or install hookify, the plugin that ships this one along with the rest of its 2 skills, 6 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rule-catalog

README.md
[![agentmods](https://agentmods.dev/badge/skills/athola/claude-night-market/rule-catalog/github.svg)](https://agentmods.dev/skills/athola/claude-night-market/rule-catalog)
Your own site
<a href="https://agentmods.dev/skills/athola/claude-night-market/rule-catalog"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/rule-catalog/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rule-catalog

Your own site · 80×15
<a href="https://agentmods.dev/skills/athola/claude-night-market/rule-catalog"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/rule-catalog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,545 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 204
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.01545
Opus 5.5 $0.00014 $0.00618
Sonnet 5.5 $0.00007 $0.00309
Haiku 4.5 $0.00004 $0.00154

Measured 14d ago against content hash 212b613e1e84, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rule-catalog scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/hookify/skills/rule-catalog/SKILL.md · 205 lines

How it starts

The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When To Use

  • Browsing available hookify rules by category
  • Installing standard pre-built rules into a project
  • Looking for ready-made rules before writing custom ones

When NOT To Use

  • Writing custom rules from scratch: use hookify:writing-rules instead
  • Debugging or modifying existing installed rules
  • Converting Python SDK hooks: use hookify:from-hook instead

Hookify Rule Catalog

Pre-built rules for common scenarios. Install directly or use as templates.

Quick Install

# Install a specific rule
Skill(hookify:rule-catalog) then install git:block-force-push

# Or use the Python installer for bulk operations
python3 plugins/hookify/scripts/install_rule.py git:block-force-push
python3 plugins/hookify/scripts/install_rule.py --category git
python3 plugins/hookify/scripts/install_rule.py --all

Verification: Run python --version to verify Python environment.

Available Rules

git/ - Git Safety

Rule Action Default Description
block-force-push block enabled Prevent force push to main/master
block-destructive-git block enabled Block reset --hard, checkout -- ., clean -fd, etc.
warn-risky-git warn enabled Warn about rebase -i, soft reset, etc.
warn-large-commits warn enabled Warn about large binary files

python/ - Python Quality

Rule Action Default Description
block-dynamic-code block enabled Block dangerous dynamic code execution
warn-print-statements warn enabled Encourage logging over print()

security/ - Security Gates

Rule Action Default Description
require-security-review warn enabled Require review for auth code
destructive-command-guard warn enabled Warn on destructive commands targeting prod-shaped paths

workflow/ - Workflow Enforcement

Rule Action Default Description
enforce-scope-guard warn enabled Anti-overengineering (imbue)
require-spec-before-code block disabled Spec-first development

Read the full file on GitHub · 205 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago Changed 212b613e1e84
  2. 25d ago Changed · -1 lines 890b83373e5b
  3. 2mo ago Changed · -19 lines b6c289ef202e
  4. 2mo ago First seen · 225 lines · 36 tokens per session scan A 4d27f50df448

Subscribe to this mod's changes

rule-catalog is a skill published in the GitHub repository athola/claude-night-market (358 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 1,545 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

rule-catalog compared with skills from other repositories

rule-catalog next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rule-catalogathola/claude-night-marketSkill358todayMITA36Claude Code
algorithmic-artshajith003/awesome-claude-skillsSkill251mo agononeA62Claude Code, Codex
slack-gif-creatorshajith003/awesome-claude-skillsSkill251mo agononeA57Claude Code, Codex
canvas-designshajith003/awesome-claude-skillsSkill251mo agononeA59Claude Code, Codex
mcp-buildershajith003/awesome-claude-skillsSkill251mo agononeA61Claude Code, Codex
skill-creatorshajith003/awesome-claude-skillsSkill251mo agononeA45Claude Code, Codex
xlsxshajith003/awesome-claude-skillsSkill251mo agononeA96Claude Code, Codex