Event Hooks

automem

3 events · 7 hooks

Install
1
Install the plugin
$
npx claudepluginhub verygoodplugins/mcp-automem --plugin automem

Want just this hook?

Add to a custom plugin, then install with one command.

Risk Indicators
Executes bash commands
Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "CLAUDE_HOOK_TYPE=session_end ${CLAUDE_PLUGIN_ROOT}/scripts/session-memory.sh"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/queue-cleanup.sh"
        },
        {
          "type": "command",
          "command": "npx -y @verygoodplugins/mcp-automem queue --file \"$HOME/.claude/scripts/memory-queue.jsonl\" --limit 5"
        }
      ],
      "matcher": "*"
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/capture-build-result.sh"
        }
      ],
      "matcher": "Bash"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/capture-test-pattern.sh"
        }
      ],
      "matcher": "Bash"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/capture-deployment.sh"
        }
      ],
      "matcher": "Bash"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/session-start.sh"
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 7
  },
  "eventStats": {
    "Stop": 3,
    "PostToolUse": 3,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 6,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 7
  }
}
Stats
Stars41
Forks10
Last CommitJan 6, 2026
Actions

Similar Hooks