Skip to content
Skill Authoring
Hook

Hooks

What memstack runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
memstack
43287 skills2 commands4 hooks

Claude Code

> /plugin marketplace add cwinvestments/memstack
> /plugin install memstack@cwinvestments-memstack

What fires, and when

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Matchesstartup|clear|compact"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" session-start

PreToolUse

  • MatchesRead|Bash|Grep"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" secret-read-guard
  • MatchesBash"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" junk-write-guard

UserPromptSubmit

Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.

  • "${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" report-marker"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" workdir-guard

Stop

  • "${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" verify-gate
Read hooks/hooks.json
@cwinvestments
Ships withmemstack

The structured skill framework for Claude Code: 131 professional skills for deployment, security, databases, content, marketing, and more. Skills activate automatically when you need them. Say "deploy this to Railway" and the right skill loads on demand.

Stars on GitHub

Momentum

stars in total
432
Star history of cwinvestments/memstack on GitHub, a chart by star-history.com

More plugins that ship hooks.

autoharness

autoharness

Autoharness, a self-learning skill layer for Claude Code, distills skills from your real sessions, updates them as you work, and prunes the ones that stop getting used. No daemon, no benchmark.

1 skill+211k
@tigerless-labs@tigerless-labs
Install Plugin
claude-code-config

claude-code-config

A personal Claude Code configuration bundling skills for planning with persistent markdown files, React useEffect and performance practices, coding standards, and UI design guideline reviews.

5 skills+31.1k
@jarrodwatts@jarrodwatts
Install Plugin
nlpm

nlpm

Natural-Language Programming Manager, score, check, fix, and test NL artifacts across Claude Code, Codex CLI, and Antigravity. Tier-aware scoring with per-tool overlays. Part of the xiaolai plugin marketplace.

17 skills+3158
@xiaolai@xiaolai
Install Plugin

Questions about the hooks in memstack.

Which coding agents can use the hooks in memstack?
The hooks in memstack install in Claude Code and Cursor: each runs Claude Code hooks from .claude/settings.json, so copy the hooks there.