Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By alberdurisv1.0.0MITIn 1 marketplace
Lets Claude send itself follow-up prompts to reframe, switch phases or correct course mid-session without waiting for you. A Stop hook runs after every response and feeds queued messages back, so the agent keeps working in the same session.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Give Claude Code agents the ability to send themselves continuation messages mid-session.
Claude Code agents have a fixed cycle: user → agentic loop → stop. When the agent stops, it can't reframe or redirect itself without user input.
Self-message breaks this. Claude writes a message to itself, stops naturally (end_turn), and a Stop hook intercepts the stop and feeds that message back as context for a new agentic loop. Same session, full context preserved, fresh reasoning frame.
This is not a Ralph Wiggum loop. Ralph repeats the same prompt. Self-message lets the agent write its own next prompt.
/plugin install self-message@alberduris-marketplace
Claude working → writes self-message via script → emits end_turn
↓
Stop hook finds the message file → reads it → deletes it
↓
Hook returns {"decision": "block", "reason": "<message>"}
↓
Claude starts a new agentic loop with the message as context
The skill teaches Claude when and how to use it. The hook handles the plumbing.
| Env var | Default | Description |
|---|---|---|
SELF_MSG_MAX_DEPTH | 200 | Max consecutive self-messages per session (~12h autonomy) |
Two components, one plugin:
hooks/stop-hook.sh): Intercepts end_turn, checks for queued messages, feeds them back via {"decision": "block"}skills/self-message/SKILL.md): Teaches Claude the mechanism, when to use it, how to write good self-messagesSession isolation via atomic mv — concurrent sessions can't steal each other's messages.
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub alberduris/skills --plugin self-messagePlugins from other owners that cover similar ground