Engineering teams lose an absurd amount of time copy-pasting cryptic kubectl, docker, and deployment one-liners from Slack threads, stale Notion pages, and personal shell histories. Warp tackles this problem by turning shell commands into structured, shareable team assets.
In Warp, engineering teams have two distinct paths to share workflows and commands: Warp Drive (a cloud-synchronized collaborative workspace inside the terminal) and Repository Workflows (version-controlled YAML files stored inside a Git repository).
At 365Finds, we believe the biggest mistake engineering leads make is treating this as an either/or choice. The teams that get the highest leverage out of Warp combine both: they commit repository-specific setup scripts directly into Git, and reserve Warp Drive for cross-cutting operational playbooks, cloud debugging, and team onboarding runbooks.
Path 1: Warp Drive for Real-Time Team Collaboration
Warp Drive is Warp's built-in cloud workspace. It allows developers to create, edit, and trigger shared workflows and interactive notebooks directly from the terminal window without opening a browser or writing YAML.
1. Setting Up a Shared Team Workspace
- Open Warp and expand the left-hand Warp Drive panel, or navigate to Settings > Teams.
- Click + Create a team and assign an organization or project name.
- Generate an invite link from the settings menu and distribute it to your teammates.
Once members accept the invite, the shared team drive appears in their terminal alongside their personal drive. Any workflow saved into a team folder becomes instantly accessible to all members.
2. Creating and Parameterizing Workflows
Warp allows you to turn shell commands into reusable workflows through three entry points:
- From command output: Click the three dots on any terminal block and select Save as Workflow.
- From Warp Drive: Click
+> New workflow inside a team folder. - From the Command Palette: Press
Cmd+P(macOS) orCtrl+Shift+P(Linux/Windows) and search for workflow creation actions.
To make commands truly reusable across environments, Warp supports dynamic arguments using double curly braces:
docker compose exec {{service_name}} bundle exec rails db:migrate RAILS_ENV={{environment}}
When building a workflow in Warp Drive, you can define parameters with:
- Argument names: Identifiers using alphanumeric characters, underscores, or hyphens.
- Descriptions: Inline hints explaining what value is expected.
- Enum options: Predefined drop-down selections (such as
development,staging,production) to prevent typo-induced deployment errors. - Default values: Standard fallback inputs that teammates can override with a keystroke.
3. Finding and Running Shared Workflows
Teammates never need to remember command names. Pressing Ctrl+Shift+R opens Workflow Search. Typing keywords brings up matching team commands. Pressing Shift+Tab lets the developer tab through parameters, select options from dropdowns, and press Enter to insert the command directly into the input editor for final inspection.
4. Beyond One-Liners: Shared Notebooks
For multi-step operational tasks, isolated one-liners often cause errors. Warp Drive includes Notebooks, which merge documentation with executable code blocks. Incident responders or onboarding engineers can follow an operational runbook step-by-step, executing each diagnostic command directly in place. Furthermore, Warp's internal AI agent pulls context from shared Warp Drive workflows and project rules to automate multi-stage tasks safely.
Path 2: Git Repository Workflows via .warp/workflows
For project-specific developer tooling, 365Finds strongly favors storing workflows directly inside Git repositories. This approach bypasses cloud sync entirely and binds terminal commands to the repository codebase.
1. Directory Structure
Create a .warp/workflows directory at the root of your Git repository:
my-project/
├── .warp/
│ └── workflows/
│ ├── seed-database.yaml
│ └── tail-microservice-logs.yaml
├── src/
└── README.md
2. Defining YAML Workflows
Each workflow is a separate .yaml or .yml file. Here is a production-ready example:
---
name: Seed Local Database
command: docker compose exec db psql -U {{db_user}} -d {{db_name}} -f /fixtures/seed.sql
description: Resets and populates the local development Postgres instance with test fixtures.
tags:
- database
- docker
- local-dev
arguments:
- name: db_user
description: Database superuser name
default_value: postgres
- name: db_name
description: Target database name
default_value: app_development
shells:
- zsh
- bash
3. Execution Behavior
When any developer opens Warp and cds into this repository, Warp automatically detects the .warp/workflows folder. The commands immediately surface under the Repository Workflows tab in the Workflow Search menu (Ctrl+Shift+R). Teammates do not need to configure anything or join a team drive.
Warp Drive vs. Git Repository Workflows: How to Choose
| Dimension | Warp Drive (Cloud Workspace) | Git Repository Workflows (.warp/workflows) |
|---|---|---|
| Best For | Incident runbooks, cross-repo deploy tasks, team onboarding | Project-specific build scripts, local docker setup, database migrations |
| Change Control | Instant real-time cloud sync; visual UI editor | Git pull requests, code reviews, branch versioning |
| Visibility Scope | Entire invited Warp team across all repositories | Developers currently working inside the specific Git folder |
| Offline Access | Requires sync cache; best with active network | Fully offline; committed with the codebase |
| Cost & Team Tier | Free up to 3 members; paid plans required for larger teams | 100% free; independent of Warp subscription status |
| Rich Artifacts | Supports Workflows, Notebooks, and AI Agent Rules | Supports YAML-defined terminal commands |
Team Security and Best Practices
- Keep credentials out of workflow defaults. Never store raw AWS keys, database passwords, or personal access tokens in workflow definitions. Use dynamic parameter placeholders (e.g.,
{{vault_token}}) or reference local environment variables like$DATABASE_URL. - Standardize parameter names. Establish team conventions for variable names (such as
{{env}}rather than mixing{{environment}},{{target}}, and{{stage}}). This speeds up autocomplete and reduces cognitive overhead. - Audit shared commands during code review. For
.warp/workflows, treat command additions like software code. Run them through pull requests so that destructive commands (rm -rf, force pushes, production database drops) are caught before landing on teammates' machines. - Use Notebooks for high-stress incidents. When a production outage hits, engineers make mistakes typing commands under pressure. Warp Drive Notebooks provide step-by-step guardrails that combine diagnostic explanations with pre-validated terminal blocks.