Skip to content

Shell completion and agent skill

Add one line to your shell’s startup file:

Terminal window
source <(beachside completion zsh) # ~/.zshrc
source <(beachside completion bash) # ~/.bashrc

For fish, save the script once:

Terminal window
beachside completion fish > ~/.config/fish/completions/beachside.fish

Tab then completes commands, flags, --provider ids, --profile names from beachside.json, and sandbox names:

Terminal window
beachside exec <tab> # web job-1
beachside cp ./app.py <tab> # web: job-1:

Sandbox names come from the CLI’s own list, so pressing tab never calls a provider.

The CLI carries an agent skill that teaches coding agents how to use it: check the setup first, always use --json, prefer run for one-off work, read exit codes, never retry an unknown outcome, report results, and clean up.

Terminal window
beachside skill setup # for you, in every project
beachside skill setup --project # for this repository only

setup writes a short skill to .agents/skills/beachside-cli/, read by most agents, and to .claude/skills/beachside-cli/ when Claude Code is set up. The skill tells the agent to run beachside skill and follow the guide it prints, so the guide always matches the installed CLI and upgrading needs no rerun. beachside skill status shows each copy as current, outdated, missing or foreign, and beachside skill remove removes what setup installed. Pass --agent to choose agents and --dry-run to preview. Setup never replaces a copy you installed another way unless you pass --force.

beachside skill prints the guide, for agents without a skill system: paste it into their instructions.

Copies written by older CLIs show as outdated until you run beachside skill setup once. The skill can also be installed with npx skills add beachside-compute/beachside --skill beachside-cli, which copies the whole guide from the repository instead of following your installed CLI. See Agent skills for the SDK skill as well.