Skip to content
Agent Orchestration
Command

/list

List all configured hookify rules

From plugin
aigc
20019 skills15 agents19 commands10 MCP
$ npx -y skills add xiaoyuge886/aigc --agent claude-code

Command definition

list.md
description: List all configured hookify rules
allowed-tools: ["Glob", "Read", "Skill"]

List Hookify Rules

**Load hookify:writing-rules skill first** to understand rule format.

Show all configured hookify rules in the project.

Steps

1. Use Glob tool to find all hookify rule files:

   pattern: ".claude/hookify.*.local.md"

2. For each file found:

  • Use Read tool to read the file
  • Extract frontmatter fields: name, enabled, event, pattern
  • Extract message preview (first 100 chars)

3. Present results in a table:

## Configured Hookify Rules

| Name | Enabled | Event | Pattern | File |
|------|---------|-------|---------|------|
| warn-dangerous-rm | ✅ Yes | bash | rm\s+-rf | hookify.dangerous-rm.local.md |
| warn-console-log | ✅ Yes | file | console\.log\( | hookify.console-log.local.md |
| check-tests | ❌ No | stop | .* | hookify.require-tests.local.md |

**Total**: 3 rules (2 enabled, 1 disabled)

4. For each rule, show a brief preview:

### warn-dangerous-rm
**Event**: bash
**Pattern**: `rm\s+-rf`
**Message**: "⚠️ **Dangerous rm command detected!** This command could delete..."

**Status**: ✅ Active
**File**: .claude/hookify.dangerous-rm.local.md

5. Add helpful footer:

---

To modify a rule: Edit the .local.md file directly
To disable a rule: Set `enabled: false` in frontmatter
To enable a rule: Set `enabled: true` in frontmatter
To delete a rule: Remove the .local.md file
To create a rule: Use `/hookify` command

**Remember**: Changes take effect immediately - no restart needed

If No Rules Found

If no hookify rules exist:

## No Hookify Rules Configured

You haven't created any hookify rules yet.

To get started:
1. Use `/hookify` to analyze conversation and create rules
2. Or manually create `.claude/hookify.my-rule.local.md` files
3. See `/hookify:help` for documentation

Example:

/hookify Warn me when I use console.log


Check `${CLAUDE_PLUGIN_ROOT}/examples/` for example rule files.
Read more
@xiaoyuge886
Ships withaigc

基于 Claude AI 的智能对话与任务执行平台,支持自定义技能生态和场景化 AI 解决方案

20029 skills15 agents10 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
200
Star history of xiaoyuge886/aigc on GitHub, a chart by star-history.com

Other commands on aigc.

start

start

Command

Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when…

@xiaoyuge886@xiaoyuge886Install Command

More commands from other plugins.

COMMAND_COMPLIANCE_REPORT

COMMAND_COMPLIANCE_REP…

Command

Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…

@ruvnet@ruvnetInstall Command
ask

ask

Command

This compatibility command keeps `/oh-my-claudecode:ask` available without loading the full `ask` skill description in every…

@yeachan-heo@yeachan-heoInstall Command