Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CLI Tour

Audience: anyone who wants a map of every pulse subcommand before diving into per-command details.

This page is a one-liner index of the CLI tree. Each row links to its detailed chapter where applicable; commands that are minor variants of each other (per-format import/export leaves) are listed compactly.

LLM agents using MCP: there is no equivalent skill — agents drive Pulse through MCP tools, not the CLI. Start at the getting-started skill instead.

Top-level groups

pulse [--json] [--slim]
├── import      Tabular → .pulse (csv, tsv, ndjson, jsonarray, parquet, arrow, excel)
├── export      .pulse  → tabular (same format set)
├── convert     Tabular → tabular, with .pulse as the transparent middle
├── cohort      Inspect or filter an existing .pulse file
├── api         Processing operations (process, compose, ask, predict, sample, facet)
├── synth       Generate synthetic cohorts (from-schema, from-profile)
├── profile     Capture a statistical profile of a cohort
├── skills      Read the embedded LLM skill pack
└── mcp         Run the Model Context Protocol server over stdio

Bare pulse --json prints the self-describing root manifest — commands, components, field types, and skill metadata in one envelope. Pass --slim to drop prose descriptions for size-sensitive clients.

API operations

The “processing facade” — these are the operations exposed via the Go library API and the MCP tool set.

CommandPurposeChapter
pulse api processExecute one request against a cohortapi process
pulse api composeExecute multiple requests in batch / parallelapi compose
pulse api askParse a natural-language query and executeapi ask
pulse api predictValidate a request without executingapi predict
pulse api sampleReturn up to N rowsapi sample
pulse api facetReturn distinct values of a fieldapi facet

Cohort lifecycle

CommandPurposeChapter
pulse cohort inspect PATHRead header + schema (no record data)cohort inspect
pulse cohort filterWrite a filtered subset to a new .pulseSee Internals → Architecture

Import / export / convert

pulse import <format> and pulse export <format> share the same flag shape per format (--input, --output, --schema for import). Supported formats today:

csv · tsv · ndjson · jsonarray · parquet · arrow · excel

Each format has a per-leaf command (e.g. pulse import csv). Run pulse import --help or pulse export --help for the full list.

pulse convert SOURCE TARGET chains import + export with no intermediate file unless --keep-pulse PATH is passed. Format is auto-detected from extensions.

Synthetic data

CommandPurposeChapter
pulse synth from-schemaGenerate from a JSON specsynth from-schema
pulse synth from-profileGenerate from a captured profilesynth from-profile
pulse profile createCapture a profile from an existing cohortprofile create

Self-description & LLM surface

CommandPurposeChapter
pulse --jsonRoot manifest (commands, components, field types, skills)manifest
pulse skills listList embedded skills with metadataHow LLMs Use Pulse
pulse skills show NAMEPrint a skill’s full markdown bodysame
pulse mcpServe MCP over stdiomcp

Cross-cutting flags

Most leaves accept --json (envelope output), --no-defaults (turn off smart operator-type inference), and the operation-specific flags documented per page. Full list: Flag Reference.

The single environment variable to know is PULSE_DATA_DIR — see Installation.