Skip to content

Pipelines

Mustafa Sadık edited this page Nov 29, 2026 · 1 revision

Pipelines

A pipeline chains tools. The output of one step becomes the input of the next, so a routine such as "Base64 decode, then format the JSON" becomes one item you run with a single keystroke.

A saved pipeline is listed next to the built-in tools, in the sidebar's PIPELINES section and (optionally) in the palette. It also runs from the CLI by its name.

The full window running a pipeline: steps on the left, input and output on the right.

Create a pipeline from a tool

The quickest way is to start from a tool you already have open.

  1. Open a tool in the full window, for example Base64 set to Decode.

  2. Click Add to pipeline in the output panel. A menu opens under the button.

    The Add to pipeline menu: a search box, "New pipeline" as the first row, and existing pipelines under "Add to end".

  3. Choose New pipeline (it says "Starts with" and the tool's name). The tool becomes step 1 with its current options, and the pipeline editor opens.

  4. Press Add step, search for the next tool ("Search tools to add…") and add it. Repeat for more steps.

  5. Type a Pipeline name.

  6. Press Save.

The footer of the menu reminds you that the current options move with the step.

Add a step to an existing pipeline

In the Add to pipeline menu, search under "Search pipelines…" and choose a pipeline under Add to end. Kit appends the current tool, with its current options, as the last step and shows "Added to ".

The pipeline editor

The pipeline editor: the list of steps with their options on the left, input and output panels on the right.

  • Pipeline name. Lowercase letters, digits and hyphens, starting with a letter. The name is also the pipeline's id, so it must not match any tool or other pipeline ("That name is already used by a tool or pipeline").
  • Steps. Each card shows the tool and its options. Use Move up, Move down and Remove step on a card. Between cards a label shows what flows on: "↓ text", "↓ table (TSV)" or "↓ bytes". A table output is passed to the next step as tab-separated text with a header row.
  • Add step. Search for any tool to append.
  • Show in palette. When checked, the pipeline appears in the palette. When unchecked it still appears in the sidebar and runs from the CLI.
  • Input and Output. The pipeline runs live on the input as you edit. The Shown step selector chooses which step's output you see; the last step is the default, and you can look at intermediate results. The output header shows the size and time, for example "42 B · 3 ms".
  • Cancel and Save. Save writes the pipeline file and shows "Saved: ". A pipeline needs at least one step ("Add at least one step").

A pipeline cannot use another pipeline as a step.

Manage pipelines in Settings

Settings › Pipelines lists every pipeline file. Each row shows the name, the chain of tools, a Palette checkbox and three actions: Edit, Duplicate and Delete. Delete shows "Deleted ." with an Undo link. The header has Open folder and + New pipeline.

Settings, Pipelines: a list of saved pipelines with their steps, the Palette checkbox, and Edit, Duplicate and Delete.

A pipeline that cannot run is shown with its reason: for example "Step 2: no tool named “xyz” is installed", and it is not shown in the palette. See Settings.

The pipeline file

Pipelines are plain TOML files in pipelines/ inside the configuration folder. You can write them by hand.

# <config>/pipelines/b64-json.toml
name = "b64-json"
palette = true

[[steps]]
tool = "base64"
opts = { mode = "decode" }

[[steps]]
tool = "json"
opts = { sortKeys = true }
Key Meaning
name The pipeline's name and id. If omitted, the file name (without .toml) is used. Lowercase letters, digits and hyphens, starting with a letter.
palette Whether the pipeline is listed in the palette. Default true.
[[steps]] One block per step, in order. At least one is required.
tool The id of the tool, for example base64. See Tools.
opts The tool's options as plain values (text, number or true/false), keyed by option key such as mode or sortKeys. Optional.

If a pipeline does not appear or shows an error, see Troubleshooting.

Run a pipeline

  • Palette: select it like a tool and press Enter. It runs on the clipboard and the final output is copied.
  • Full window: pick it in the PIPELINES section of the sidebar.
  • CLI: pbpaste | kotilo kit b64-json (on Windows, pipe from Get-Clipboard or a file). See CLI.

The full window running a pipeline.

Errors in a step

When a step fails, the message says which one: "Step 2 (JSON format): Invalid JSON: unexpected end at line 1, column 8". Other messages you may see in a file:

Message Cause
Invalid pipeline file: … The TOML cannot be parsed.
Invalid pipeline name “…”: use lowercase letters, digits and - The name is not allowed.
The pipeline has no steps There is no [[steps]].
Step N is invalid: it needs a tool and plain option values A step has no tool, or opts holds something other than text, numbers or true/false.
Step N: no tool named “…” is installed The tool id is wrong, or the plugin is missing or disabled.
Step N: has no option “…” The option key is not one of the tool's options.
The name “…” is already used by another tool or pipeline Pick another name.

Related pages

Clone this wiki locally