Gaorui ZhangPhD student, Zhejiang University; claude-scholar 5.9k+ stars326 installs on skills.sh

Hook Development

This skill should be used when the user asks to "create a hook".

Works in any agentClaude CodeCodexCursorClaude appChatGPT+ any other agent
galaxy-dawn/claude-scholar
Security state: reviewed

3 static scans, 0 counted findings.

Edge checks it again each time your agent loads it.

SKILL.md11 files · 62.8 KB

From the galaxy-dawn public repository. Edge did not write or edit this skill.

What it does

  • This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification).
  • Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.
GZ

Why Gaorui Zhang

PhD student at Zhejiang University in neural decoding. Each fact links its public source.

  • PhD at Zhejiang University

    His GitHub bio says PhD student at Zhejiang University working on neural decoding and scientific tooling.

    GitHub profile
  • Popular research skill set

    claude-scholar has 5.9k+ GitHub stars.

    GitHub repo
  • Related tool with traction

    pubtab has 120+ GitHub stars.

    GitHub repo

Public sources, checked Oct 26, 2026.

How it works

  1. 1
    Copy

    Try for free gives you one prompt.

  2. 2
    Paste

    Paste it into Claude Code, Codex or Cursor.

  3. 3
    Ask

    Ask for the outcome. Your agent loads Hook Development.

What you can inspect

3 static scans, 0 counted findings.

Security state at 2026-09-30: reviewed. Static scans check the code, not how well the skill works.

State definitions

Skill details

Security scansReviewed

3 static scans, 0 counted findings. Security state at 2026-09-30: reviewed. Edge checks it again each time your agent loads it.

Edge static checks (Edge-run): edge-static/1.0.1. Scope: Static patterns for remote execution, credentials with network sends, obfuscation, prompt overrides, hidden Unicode, binaries and persistence. Raw findings: .

Cisco skill-scanner (Edge-run): cisco-skill-scanner/2.1.0. Scope: Local static, YARA, pipeline and behavioral analyzers; no LLM or AI Defense analysis. Raw findings: 3.

Semgrep Edge rules (Edge-run): semgrep/1.178.0+edge-rules.c15016a36fd3+offline-v1. Scope: Six Edge-authored static rules with Semgrep CE; offline execution and metrics disabled. Semgrep-maintained rules excluded. Raw findings: .

Edge static checks
Pass · 0 counted findings · 2026-09-27
Cisco skill-scanner
Pass · 0 counted findings · 2026-09-27
Semgrep Edge rules
Pass · 0 counted findings · 2026-09-27
Creator, source & licencegalaxy-dawn

From the galaxy-dawn public repository. Edge did not write or edit this skill.

Revision
903787345d6aec134086afa2b97715a78fbde519
Package hash
sha256:943c3ca28d9d3da328821d149df9652c98d460ee70519d51f3f00cf2c93186ee
Licence
MIT
Description
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.
Quoted from the skill’s own description
Read skill files11 files

11 files, 62.8 KB at revision 903787345d6a.

Questions about Hook Development

What does Hook Development do?

This skill should be used when the user asks to "create a hook". Published by Gaorui Zhang (galaxy-dawn/claude-scholar).

Is Hook Development safe to use?

Edge security state: Reviewed (3 Edge-run static scans, scanned Sep 30, 2026). The Evidence tab shows the scan.

How do I use Hook Development in Claude Code, Codex or Cursor?

Click Try for free, pick your agent and follow its one step. Edge is free, with no Edge account.