Claude Code Plugin

Deploy to Leash directly from Claude Code. Build your app with Claude, then ship it without leaving the conversation.

What it does

The plugin wires Claude Code into the Leash CLI workflow. Once installed, you can run any of the commands below from inside a Claude Code conversation and Claude will execute the matching CLI flow in your terminal.

Commands

CommandWhat it does
/leash:authLog in, log out, check current account, show CLI version
/leash:orgList orgs and switch the active org
/leash:couponsRedeem coupon codes for the active org
/leash:deployDeploy the current project to Leash
/leash:statusShow your deployed apps and their URLs
/leash:appsManage apps — delete

Example

Use the plugin for the same core workflows you would use in the CLI:

You: /leash:auth

Claude can help you check the current account or prompt you to sign in.

You: /leash:org

Claude can list orgs or switch the active org before billing or deploy actions.

You: Build me a team poll app with Next.js

Claude builds the app...

You: /leash:deploy

Claude runs leash deploy, detects Next.js, builds, and deploys.

Deployed! https://team-poll-your-org.un.leash.build

Prerequisites

The plugin wraps the Leash CLI. Install it first:

Terminal

$ curl -fsSL https://leash.build/install.sh | sh

$ leash login

How it works

The plugin tells Claude how to use the Leash CLI. When you ask for auth, org, coupon, deploy, status, or app actions, Claude runs the matching Leash CLI workflow in your terminal. Environment variables are set through the dashboard — the CLI never handles secrets.

Coming to the Claude Code marketplace soon.