Back to Articles
Prompts

Luca Dellanna: Claude Code Self-improvement injection with Hook

February 15, 2026
1 min read

Just launch this prompt in Claude Code:

Create a UserPromptSubmit hook (global settings). Script echoes: If 8+ tool calls, append one optimization hint (reusable skill, memory pattern, or workflow fix). One sentence. Skip if exploratory.

Source: x.com

Share this article

Comments

Join the conversation! Sign in to leave a comment.

No comments yet. Be the first to share your thoughts!

Povilas Korop

Get Weekly AI Coding News

You'll also get a free tutorial "Claude Code: My Favorite 10 Tips & Tricks"!

Sent every Wednesday. No spam, ever. Unsubscribe anytime.