Skip to content
Agentmart
Submit a tool

new-claude-here

Open a new Konsole window at the current working directory running a fresh Claude Code CLI session, then close the current Konsole.

Skill by danielrosehill

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/danielrosehill-new-claude-here

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Open a new Konsole window at the current working directory running a fresh Claude Code CLI session, then close the current Konsole. Use when the user asks for a "new claude session here", "claude here", "jump to a new claude", or "new claude window". Pass "--keep" / "don't close this one" to skip the self-destruct.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/new-claude-here

What's inside

Skill name
new-claude-here
Description
Open a new Konsole window at the current working directory running a fresh Claude Code CLI session, then close the current Konsole. Use when the user asks for a "new claude session here", "claude here", "jump to a new claude", or "new claude window". Pass "--keep" / "don't close this one" to skip the self-destruct.
License
MIT
Instructions
39 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# New Claude Session Here

Spawns a sibling Claude Code session in a new Konsole window at the current `$PWD`, then closes the current Konsole so the user lands cleanly in the fresh session.

## Why this lives in the session-transfer plugin

The common reason to jump to a fresh Claude session mid-task is that the current session can't pick up changes without a restart — most often after installing a new MCP server, editing settings, or hitting a stuck state. In those cases the user wants session continuity without losing their place. This skill is the "quick jump" path; `session-transfer:write-handover` / `session-transfer:start-from-handover` is the "pipe the full context across" path. Offer both when relevant.

## Steps (default: self-destruct on)

1. Snapshot existing Konsole PIDs: `before=$(pgrep -x konsole)`.
2. Spawn the new Konsole detached:
   ```bash
   setsid konsole --workdir "$PWD" -e claude >/dev/null 2>&1 &
   ```
   `setsid` + background keeps it running after the current Claude Code session exits.
3. Verify a new Konsole PID appeared (poll briefly if needed):
   ```bash
   after=$(pgrep -x konsole)
   comm -13 <(echo "$before" | sort) <(echo "$after" | sort)
   ```
   If no new PID, ABORT — do not close anything. Report the failure.
4. Warn the user once: "New Konsole verified at PID <n>. Closing this terminal in 3s — the current Claude session will die with it."
5. Close the current Konsole by killing its window process:
   ```bash
   (sleep 3 && kill -TERM $(ps -o ppid= -p $PPID | tr -d ' ')) &
   ```
   Rationale: `$PPID` inside a Claude tool call is the shell; its parent is the Konsole window. Killing the window tears down the shell and this Claude session cleanly.

## Keep-current variant

If the user says "keep this one open", "don't close this terminal", or passes `--keep`, do steps 1–3 only and skip the kill. Report the new session directory.

## Notes

- The new session is standalone — no shared memory with this one. If the user needs context carried over, suggest running `session-transfer:write-handover` first.
- Report the directory the new session was launched in before self-destructing.

From danielrosehill/Claude-Hopper, MIT.

More from danielrosehill/Claude-Hopper

Signals

Stars
1
Forks
0
Open issues
1
Last commit (this folder)
Apr 29, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from danielrosehill

Cite this page

new-claude-here skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-new-claude-here (last updated 2026-10-24)