Skip to content
Terminal > Drive

Overview

Your personal library: workflows, prompts, notebooks, and env sets.


Mel Drive is your personal library of reusable terminal objects — workflows, prompts, notebooks, and environment-variable sets — living right in the tools panel. Save a parameterized command once, insert it into any prompt later; keep runbooks as notebooks; load a whole set of env vars into a pane in one click.

Drive is local-first: everything is stored as plain files under ~/.local/share/mel/drive/, so it's yours to inspect, back up, or sync however you like.

Opening Drive

Open the tools panel with ctrl+\ and click the Drive icon in the icon strip at the top. On first run, Drive is seeded with a sample workflow and a short notebooks guide so the tree isn't empty.

The tree

The Drive view has a header with a search filter and a sort toggle, then a PERSONAL section listing your folders and objects, each with its own painted type icon.

  • Search filters the tree live as you type.
  • Hover previews — rest on any object to see a preview card: its title, a snippet of the command or body, and when it was last edited ("edited N ago", straight from the file's mtime).
  • Click an object to open its detail card or editor in a center panel — Drive on the left, the editor in the middle, your terminal still on the right.

Creating objects: the + menu

The + button next to PERSONAL creates new objects:

  • Folder — plain directory for organizing
  • Workflow — a saved, parameterized command (details)
  • Prompt — a saved agent prompt body (details)
  • Notebook — a markdown document with a block menu (details)
  • Environment variables — a named set of env vars (details)
  • Import — present in the menu but not yet available

What's on disk

Folders are directories; objects are files named by kind:

ObjectFile
Workflow*.workflow.json
Prompt*.prompt.json
Environment variables*.env.json
Notebook*.notebook.md

Because the store is just files, you can version it with git or drop objects in from another machine — Drive picks them up from the directory.

The four object kinds at a glance

  • Workflows — commands with {argument} placeholders; clicking one inserts it into the prompt with the first argument pre-selected.
  • Prompts — reusable agent prompt bodies; clicking one inserts the body as your query.
  • Notebooks — markdown docs with a / block menu, edit/preview toggle, and autosave.
  • Environment variables — masked variable sets with pluggable sources; Load resolves and exports them into the active pane.