Back to Skills

spawning-terminals

verified

Creates new terminal tabs in TabzChrome via REST API. Use when the user asks to 'spawn a terminal', 'create a new tab', 'start a Claude worker', 'open a terminal in the sidebar', or needs to programmatically create terminal sessions.

View on GitHub

Marketplace

tabz-chrome

GGPrompts/TabzChrome

Plugin

tabz

agents

Repository

GGPrompts/TabzChrome
122stars

plugins/tabz/skills/spawning-terminals/SKILL.md

Last Verified

January 16, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/GGPrompts/TabzChrome/blob/main/plugins/tabz/skills/spawning-terminals/SKILL.md -a claude-code --skill spawning-terminals

Installation paths:

Claude
.claude/skills/spawning-terminals/
Powered by add-skill CLI

Instructions

# Spawn Terminal

Create a new terminal tab in TabzChrome via the REST API.

## Basic Spawn

```bash
TOKEN=$(cat /tmp/tabz-auth-token)
curl -X POST http://localhost:8129/api/spawn \
  -H "Content-Type: application/json" \
  -H "X-Auth-Token: $TOKEN" \
  -d '{"name": "Worker", "workingDir": "~/projects"}'
```

## Spawn with Command

```bash
TOKEN=$(cat /tmp/tabz-auth-token)
curl -X POST http://localhost:8129/api/spawn \
  -H "Content-Type: application/json" \
  -H "X-Auth-Token: $TOKEN" \
  -d '{
    "name": "Build Worker",
    "workingDir": "~/projects/myapp",
    "command": "npm run build"
  }'
```

## Spawn Claude Worker

```bash
TOKEN=$(cat /tmp/tabz-auth-token)
curl -X POST http://localhost:8129/api/spawn \
  -H "Content-Type: application/json" \
  -H "X-Auth-Token: $TOKEN" \
  -d '{
    "name": "Claude Worker",
    "workingDir": "~/projects",
    "command": "claude --dangerously-skip-permissions"
  }'
```

## Parameters

| Param | Required | Default | Description |
|-------|----------|---------|-------------|
| `name` | No | "Claude Terminal" | Display name in tab |
| `workingDir` | No | $HOME | Starting directory |
| `command` | No | - | Command to auto-execute |

## Response

```json
{
  "success": true,
  "terminalId": "ctt-BuildWorker-abc123"
}
```

## List Active Terminals

```bash
curl http://localhost:8129/api/agents
```

## Kill Terminal

```bash
curl -X DELETE http://localhost:8129/api/agents/ctt-BuildWorker-abc123
```

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1391 chars