Prompt Intercept Pattern banner
kylesnowschwartz kylesnowschwartz

Prompt Intercept Pattern

Development community

Description

--- name: prompt-intercept-pattern description: "Example: echo arguments back without an API call" argument-hint: "[message]" disable-model-invocation: true --- This command is handled by a UserPromptSubmit hook. If you see this text, the hook did not intercept the prompt.

Installation

Installs to ~/.claude/skills/kylesnowschwartz-prompt-intercept-pattern-prompt-intercept-pattern/SKILL.md

Terminal
mkdir -p ~/.claude/skills/kylesnowschwartz-prompt-intercept-pattern-prompt-intercept-pattern && curl -fsSL https://raw.githubusercontent.com/kylesnowschwartz/prompt-intercept-pattern/HEAD/commands/prompt-intercept-pattern.md -o ~/.claude/skills/kylesnowschwartz-prompt-intercept-pattern-prompt-intercept-pattern/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository