lawrencehua/skills-log/brev-cli
Claude Code and agent skill by lawrencehua/skills-log
- community
Checking that the SKILL.md file is still in the repository.
Manage GPU and CPU cloud instances from the command line with the Brev CLI — search, create, SSH/exec, editor integration, file copy, port-forwarding, and safe teardown, for ML training, fine-tuning, and inference workloads.
Install
npx vskill@latest install lawrencehua/skills-log/brev-cliSKILL.md
The same SKILL.md was published earlier as lawrencehua/skills-log/brev-cli.
brev-cli
A working command reference for Brev's CLI, which provisions and manages GPU/CPU cloud instances for ML workloads (training, fine-tuning, RL, inference, batch processing) and general remote compute. Useful any time you'd otherwise be hand-writing cloud-provider API calls or clicking through a console to get a throwaway GPU box.
Quick start
Searching for instances
Creating instances
Working on an instance
Listing and lifecycle
brev ls and brev ls nodes are two separate namespaces — external nodes registered to an org never show up in plain brev ls, so check both before concluding a machine doesn't exist.
brev ls (cloud instances) | brev ls nodes (external nodes) | ||
|---|---|---|---|
| Status values | RUNNING / STOPPED | Connected / Disconnected | |
stop/start/delete | yes | no — Brev doesn't own their lifecycle | |
--json shape | .workspaces[] array | top-level array |
Organizations
Safety rules
Never do these without explicit confirmation from the person you're operating on behalf of:
- Delete an instance (
brev delete) - Stop a running instance (
brev stop) - Create more than one instance in a batch (
--count > 1) - Create an expensive instance (H100, multi-GPU)
Always do these first:
- Show the instance's cost and type before creating it.
- Confirm the instance name explicitly before deleting anything.
- Run
brev ls(andbrev ls nodes) before assuming an instance does or doesn't exist.
Troubleshooting
- "Instance not found": check
brev lsandbrev ls nodesseparately (different namespace), and confirm you're in the right org withbrev org ls. - "Failed to create instance": try a different type (
brev search --sort price) or check quota/credits with an org admin. - SSH connection fails:
brev refreshto regenerate SSH config; confirm the instance is actually running. - Editor won't open: confirm the editor binary is on
PATH(which code/which cursor); set a default withbrev open --set-default code.
When to use
- Spinning up a GPU box for training, fine-tuning, or inference and tearing it down cleanly afterward.
- Searching for the cheapest instance that satisfies a VRAM/RAM/vCPU constraint before committing to one.
- Scripting a repeatable "search → create → copy data → run → collect results → delete" cycle instead of doing it by hand each time.
How to use
Install: copy this folder into ~/.claude/skills/brev-cli/ for personal use, or .claude/skills/brev-cli/ inside a project repo. Requires the brev CLI itself to be installed and authenticated separately.
Invoke:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/brev-cli/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lawrencehua/skills-log/brev-cli)