Skip to content
Agentmart
Submit a tool

claude-and-shell

Launch a single Konsole window at a target directory split left/right — left pane runs Claude Code, right pane is a raw shell at the same path (no Claude).

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-claude-and-shell

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

Launch a single Konsole window at a target directory split left/right — left pane runs Claude Code, right pane is a raw shell at the same path (no Claude). Use when the user asks for "claude with a terminal", "claude + shell", "claude and a free konsole", "paired konsole", or wants Claude visible alongside a hands-on shell for the same project.

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/claude-and-shell

What's inside

Skill name
claude-and-shell
Description
Launch a single Konsole window at a target directory split left/right — left pane runs Claude Code, right pane is a raw shell at the same path (no Claude). Use when the user asks for "claude with a terminal", "claude + shell", "claude and a free konsole", "paired konsole", or wants Claude visible alongside a hands-on shell for the same project.
License
MIT
Instructions
73 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Claude + Shell

Spawn one Konsole at a path with two side-by-side panes:
- **Left**: fresh `claude` session at the path.
- **Right**: raw login shell at the same path. No Claude. The user types here.

Useful when the user wants to watch Claude work *and* run their own commands (git, tests, scratch experiments) without taking over a Claude pane or opening a separate window.

## When to use

- "Open claude with a terminal next to it"
- "I want a shell beside this claude session"
- "Paired konsole at <path>"

Distinct from neighbors:
- `claude-grid` — multiple **Claude** sessions tiled together.
- `sideclaude` — fork a tangent into a side Claude pane with a plan brief.
- `terminal-here` — single raw Konsole, no Claude.

## Inputs

- `path` — target directory. Default `$PWD`. Resolve `~` and relative paths to absolute.

## Steps

### 1. Spawn the window with the Claude pane

```bash
TARGET="$1"  # absolute path

before_svcs=$(qdbus6 2>/dev/null | grep -E '^ org\.kde\.konsole-' | sort)
setsid konsole --separate --workdir "$TARGET" -e claude >/dev/null 2>&1 &
```

Poll for the new window's D-Bus service:

```bash
for i in $(seq 1 30); do
  sleep 0.1
  after_svcs=$(qdbus6 2>/dev/null | grep -E '^ org\.kde\.konsole-' | sort)
  NEW_SVC=$(comm -13 <(echo "$before_svcs") <(echo "$after_svcs") | tr -d ' ' | head -1)
  [ -n "$NEW_SVC" ] && break
done
[ -z "$NEW_SVC" ] && { echo "Could not find new Konsole D-Bus service — abort." >&2; exit 1; }

WIN="/Windows/1"
```

### 2. Add the raw-shell pane

`createSplit(viewId, true)` = Split Left/Right. The new session starts the user's default shell at the parent pane's cwd — no command needed.

```bash
A=$(qdbus6 "$NEW_SVC" "$WIN" currentSession)   # the claude pane
qdbus6 "$NEW_SVC" "$WIN" createSplit "$A" true
```

That's it. Do **not** `runCommand` anything on the new pane — leaving it untouched is the whole point.

### 3. Report back

- Path the window was launched in.
- D-Bus service of the new window (handy for follow-ups like `claude-grid`-style additions later).
- One-line note: left = Claude, right = shell.

## Notes

- `qdbus6` on Plasma 6; fall back to `qdbus` on older systems.
- New panes inherit cwd from the parent pane, so the right shell lands in `$TARGET` automatically.
- If the user later wants to swap which side is which, the layout is symmetric — they can drag panes in the Konsole UI, or we can re-run with the order reversed (spawn raw first, then split with `runCommand "claude"` on the new pane).
- For "claude on top, shell below" instead of left/right, change the boolean to `false` (Split Top/Bottom). Mention this if the user expresses a preference.

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

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