> ## Documentation Index
> Fetch the complete documentation index at: https://radiusbrowser.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Cookbook

> Copy-paste Radius CLI recipes for common browser workspace tasks.

These recipes start from a terminal opened inside a Radius group. That terminal
already has the `radius` command and the current group context.

<CardGroup cols={2}>
  <Card title="Build a development workspace" icon="layer-group" href="/docs/cookbook/development-workspace">
    Open issue and pull-request tabs, then split a local server beside the terminal.
  </Card>

  <Card title="Open tabs conditionally" icon="code-branch" href="/docs/cookbook/conditional-tabs">
    Adapt one script to different projects, branches, and environment variables.
  </Card>

  <Card title="Manage a tab lifecycle" icon="arrows-rotate" href="/docs/cookbook/tab-lifecycle">
    Open, wait, navigate, focus, separate, and close tabs.
  </Card>
</CardGroup>

## Recipe conventions

The examples use the context supplied by Radius:

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
RADIUS_GROUP_ID
RADIUS_TAB_ID
RADIUS_WINDOW_ID
```

`tab open` prints the created tab ID, so recipes can save IDs with ordinary
shell command substitution:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
tab="$(radius tab open "https://example.com")"
```

Every recipe is literal. Running it again repeats its operations unless the
recipe explicitly includes its own condition or cleanup behavior.
