LabscoMCP early access ↗
microsoft avatar✓ Official

create-hook

No requirements found★ 187k on GitHub
part of microsoft/vscodeby microsoft

Some rules should not be advice the AI can ignore — this turns one into an automatic check that runs at a set moment and can stop the action outright.

When to use

SCOPE

USE FOR

  • Turn a recurring 'always check before X' or 'never run Y' request into an enforced hook.
  • Have context injected automatically at session start, session end, or before a tool runs.
  • Decide whether a hook should block an action, warn about it, or just add context.