/victor-skills:then-diefrom victor-skills
Close this terminal window after the work, if it all went fine.
Ships in victor-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The user is walking away and does not intend to read this window again. Do the work they asked for, and if it ended cleanly, close the window behind you.
Closing the window destroys everything on screen, including the summary you would otherwise have written — anything printed after the closing command is never seen. So the window may only close when there is nothing left for the user to read.
Finish the entire task first. Then, as the very last tool call of the turn:
bash "${CLAUDE_PLUGIN_ROOT}/skills/then-die/die.sh" close "one-line summary of what was done"
The summary argument is appended to ~/.claude/then-die.log (timestamp, working
directory, text) — it is the only trace the user gets of a turn that closed itself,
so write it as the one line you would want to read tomorrow. The full transcript
survives too: claude --resume in the same folder reopens the session.
If any condition fails, do not run the script. Report normally, ending with a plain line saying why the window is still open — e.g. "Not closing: 2 tests fail" or "Not closing: needs your call on the migration order". That sentence is the whole point of staying; do not bury it.
Staying is never a failure of the skill. A window left open with a real question in it is exactly right; a window closed over a broken build is the one outcome that costs the user something.
disable-model-invocation). Never wire it into
a Stop hook and never offer it — a turn that "felt complete" is not a reason.bash "${CLAUDE_PLUGIN_ROOT}/skills/then-die/die.sh" where
Dry run: prints the terminal app, the resolved tty, the login shell, the window id
and which method close would use — without closing anything. If it prints
method: NONE, the session's own window cannot be resolved; close will refuse
and change nothing, so just report the result normally.
tmux this ends the client, not the tmux session — reattach and the work
is still there.THEN_DIE_TERMINAL_APP, THEN_DIE_WINDOW_ID (Apple Terminal window
id), THEN_DIE_LOG (default ~/.claude/then-die.log), THEN_DIE_DELAY.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub victorrentea/skills --plugin victor-skills9 skills in this plugin
/come-back-when-doneClears the terminal, then brings it back with a sound when the turn ends. Only on an explicit request to be summoned: "come back when done", "anunță-mă când e gata", "strigă-mă când termini"./dbBefore recommending or making any database change (index, column, constraint, migration, query rewrite). Triggers: indexing advice, schema changes, "add an index", "optimize this query"./jmeterCreates and runs JMeter load/performance tests. Trigger: JMeter, JMX, load/stress testing./scribd-to-pdfTurns a Scribd document into a local PDF. Trigger: Scribd URLs or mentions of Scribd./smartbill-webSmartBill invoice automation — issue, rewrite, download, record payments. Trigger: "SmartBill", "facturi"./tooltipsAdd, restyle, or review a tooltip/hover hint — a native `title=` attribute, `el.title = ...`, or a CSS `::after` speech bubble. Triggers: "add a tooltip", "show a hint on hover", "what does this button do".