with one click
session-spawn
Spawn sub-agent sessions via the Gateway sessions_spawn method.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Spawn sub-agent sessions via the Gateway sessions_spawn method.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Execute a single agent step with custom system prompt and wait for completion.
Control the CARNELIAN browser control server (status/start/stop/tabs/snapshot/screenshot/navigate/act). Routes to the local browser control HTTP server.
Render canvas graphics and visualizations via Carnelian gateway node.invoke API
Communicate with Windsurf Cascade via JSONL channel files (message/delegate/request_help/share_context/status).
Manage Gateway cron jobs (status/list/add/update/remove/run/runs) and send wake events.
Send a message to a Discord channel via the Discord REST API
Based on SOC occupation classification
| name | session-spawn |
| description | Spawn sub-agent sessions via the Gateway sessions_spawn method. |
| metadata | {"CARNELIAN":{"emoji":"🔀","requires":{"env":["GATEWAY_URL","GATEWAY_TOKEN"]},"primaryEnv":"GATEWAY_URL"},"carnelian":{"runtime":"node","version":"1.0.0","sandbox":{"network":"localhost","resourceLimits":{"maxMemoryMB":64,"maxCpuPercent":10,"timeoutSecs":15},"env":{"GATEWAY_URL":"${GATEWAY_URL}","GATEWAY_TOKEN":"${GATEWAY_TOKEN}"}},"capabilities":["net.ws"]}} |
Spawn sub-agent sessions via the Gateway sessions_spawn method.
Ported from CARNELIAN session-spawn-tool.ts.
{
task: string; // Required: task for the sub-agent
label?: string; // Optional: session label
agentId?: string; // Optional: agent ID
model?: string; // Optional: model to use
thinking?: boolean; // Optional: enable thinking mode
runTimeoutSeconds?: number; // Optional: run timeout
cleanup?: "keep" | "delete"; // Optional: cleanup mode
}
{
status: "accepted";
childSessionKey: string; // Generated session key for the sub-agent
runId: string; // Run ID for the spawned task
}
ws://127.0.0.1:18789sessions_spawn is forbidden from sub-agent sessionsagent:default:subagent:<uuid>model is provided, the skill calls sessions.patch to set the model before spawning