CaptureMann from your terminal.
Every feature is a command. Script screenshots, recordings, transcripts and exports, or chain them with the tools you already use. The commands talk to the app on this computer; nothing goes through a server.
Install
The capturemann command ships inside every CaptureMann package, next to the MCP server.
# The command is inside the app. Link it once:$ sudo ln -s /Applications/CaptureMann.app/Contents/MacOS/capturemann /usr/local/bin/capturemann# Installed with Homebrew? The cask already links it.$ capturemann --version
Quick start
$ capturemann capture screenshot --window "Brightdesk" --copy$ capturemann record start --display 1 --camera on --mic default# CaptureMann asks on screen: start recording? It waits for your answer.$ capturemann record stop$ capturemann ai transcribe rec_0412 --language en --wait
Commands
71 commands in 27 groups, arranged as you work. Open one for every flag, or run capturemann <command> --help. Each one is the same action as an MCP tool.
Capture
- capturemann targets listSame as capturemann targets
- capturemann capture screenshotTake a screenshot of a display, a window or a regionPreview
- capturemann capture getShow a capture's metadata and optionally save its current image
- capturemann devicesList cameras, microphones and system-audio support (list_devices)
- capturemann textPrint the text in a screenshot (recognize_text, read-only, on this computer only)
- capturemann presets listList the presets
Annotate and boards
- capturemann annotateAdd annotation ops to a screenshot (annotate)
- capturemann undoUndo the last revision of a capture (undo)
- capturemann redoRedo the last undone revision of a capture (redo)
- capturemann boardPut 2 to 12 screenshots into one new picture (create_board)
- capturemann export-imagesResize, convert, watermark and rename many screenshots at once (export_images, Bulk export)
Record
- capturemann record startStart a recording (start_recording)
- capturemann record pausePause the running recording (pause_recording)
- capturemann record resumeResume a paused recording (resume_recording)
- capturemann record micMute or unmute the microphone of the running recording without stopping it (set_mic_muted)
- capturemann record markerAdd a marker (a moment to come back to) to the running recording at the current time (add_marker), or to a..
- capturemann record stopStop and save the recording (stop_recording)
- capturemann record statusShow the state of the recording
- capturemann record selftestTest whether this machine records 60 fps without late frames (run_fps_selftest)
- capturemann record watchStream recording.* events until interrupted
- capturemann cursorPrint the pointer path and clicks of a recording (get_cursor_track)
Edit
- capturemann edit trimKeep only START..END (trim)
- capturemann edit cutCut ranges like 10-15 40-42 (cut_segments); all are one undo step
- capturemann edit restoreBring cut ranges back (restore_segments)
- capturemann edit splitAdd a segment boundary (split)
- capturemann edit speedPlay a range like 30-50 at --x times normal speed, 0.25 to 8 (set_speed)
- capturemann edit backgroundFrame the screen on a background (set_background)
- capturemann edit audioBalance the mic and system audio (set_audio_mix)
- capturemann edit cameraSet how the screen and the camera share the frame over a range like 0-15 (set_camera_layout)
- capturemann edit zoomAdd a zoom region (set_zooms)
- capturemann edit cursorStyle the telemetry cursor (set_cursor_style)
- capturemann edit reframeReframe for a vertical or square export (set_reframe)
Transcripts, captions and reports
- capturemann ai modelsList the speech models, or manage them
- capturemann ai text-modelsList the text models of the engine built into CaptureMann, or manage them
- capturemann ai transcribeTranscribe a recording with an installed model (transcribe); without a model it tells you how to get one (e..
- capturemann ai transcriptPrint a recording's transcript and caption lines (get_transcript)
- capturemann ai normalizeAdd punctuation, capital letters and paragraph breaks to a transcript with the local text model, without ch..
- capturemann ai normalizedPrint the normalised transcript (get_normalized_transcript)
- capturemann ai captionsEdit the caption lines (set_captions)
- capturemann ai translateTranslate the captions into another language (translate_captions)
- capturemann ai suggestSuggestions only, nothing is applied (suggest_zooms, suggest_cuts)
- capturemann ai text-modelShow how the text model is set up (get_text_model), or test it
- capturemann ai speakersFind who spoke when (diarize), or fix the speakers
- capturemann ai reportWrite a report from a recording's transcript with the local text model (generate_report)
Export and import
- capturemann exportRender a recording to one combined MP4 with the FFmpeg sidecar (export_video)
- capturemann importBring media files and pictures that CaptureMann did not record into the library as captures (import_media)
Upload and publish
- capturemann destinationsList the destinations set up in Settings (list_destinations)
- capturemann uploadCopy a capture or a file to a destination in the background (upload)
- capturemann publish accountsList the connected publish accounts with today's upload count (list_publish_accounts)
- capturemann platform-rulesPrint the limits, required fields, privacy options and export presets of a publishing platform (get_platfor..
Click Guide
- capturemann guide startStart a Click Guide (start_guide)Preview
- capturemann guide stopStop the recording guide (stop_guide) and print itPreview
- capturemann guide getPrint a guidePreview
- capturemann guide setChange a guide (set_guide)Preview
- capturemann guide exportExport a guide (export_guide)Preview
Library and settings
- capturemann library listList captures, newest first
- capturemann library searchFull-text search (same as list --query)
- capturemann library renameRename a capture
- capturemann library rmMove a capture to the Trash (delete_capture)
- capturemann library moveChange the folder the library lives in (move_library)
- capturemann settings getPrint settings (all, or the given dotted keys)
- capturemann settings setSet KEY VALUE pairs; a value is JSON when it parses (60, true), else a string
Jobs and system
- capturemann jobs getShow one job
- capturemann jobs listList jobs, newest first (list_jobs)
- capturemann jobs cancelCancel a job; cancelling a cancelled job does nothing (cancel_job)
- capturemann jobs retryRetry a failed or cancelled job, or continue one that is waiting for a sign-in (retry_job)
- capturemann jobs watchPrint the active jobs, then stream job.* events until interrupted
- capturemann daemon startMake sure a daemon is running (starts a headless one if needed)
- capturemann daemon statusReport whether a daemon is running (exit 5, daemon_unavailable, if not)
- capturemann mcpRun the MCP server (the cm-mcp binary next to this one)
- capturemann diagnosticsPrint the diagnostics report to paste into an issue (get_diagnostics)
Options for every command
These four flags are accepted by every command, before or after the subcommand. They are left out of the per-command tables.
| Flag | Value | Default | Description |
|---|---|---|---|
--json | switch | off | Machine-readable JSON on stdout (the daemon's result object, pretty-printed); errors as JSON on stderr. |
--socket <PATH> | path or pipe name | the platform endpoint | Daemon socket path (Unix) or pipe name (Windows). Env: CAPTUREMANN_SOCKET. |
--no-start | switch | off | Do not start a daemon when none is running; fail with daemon_unavailable instead. |
--request-id <ID> | string | none | Idempotency key for commands that change something. A retry with the same key replays the first result (the daemon keeps it for 24 hours). Commands that run several actions append a suffix to it. |
Output and exit codes
By default every command prints human-readable text on stdout and errors on stderr as error[<code>]: <message> with extra lines such as reason: or a hint. With --json, stdout carries the daemon's result object and a failure prints one line of JSON on stderr: {"error":{"code":...,"message":...,"data":...,"exit_code":N}}. Image bytes are never printed: image.data is replaced by image.bytes; use --out FILE (on the commands that have it) to write the PNG. Progress of a waiting command (--wait) goes to stderr, so stdout stays parseable.
$ capturemann --json settings get recording.fps{ "settings": { "recording.fps": 30 }}$ capturemann --json capture get missing_id{"error":{"code":"not_found","message":"no capture `missing_id`","data":null,"exit_code":2}} (stderr)(exit 2)
Times in editing commands are seconds (12.5) or ticks (t:1500000, 120,000 ticks per second); ranges are START-END.
The exit code follows the shared error code of the daemon's answer (error.data.code). The table is from specs/README.md and crates/cm-cli/src/error.rs (a test pins every row).
| Exit | Meaning | Error codes |
|---|---|---|
| 0 | Success (also --help and --version) | |
| 1 | Other failure | internal, not_implemented; any code outside the table (method_not_found, invalid_request); CLI-local errors mcp_unavailable and mcp_failed |
| 2 | Bad input or not found | invalid_input, not_found; also command-line usage errors (clap) |
| 3 | The user declined, or did not answer in 5 minutes | user_declined, confirmation_timeout |
| 4 | An operating-system permission is missing (screen, camera, microphone, accessibility, input monitoring, files) | permission_missing |
| 5 | Platform, network, disk or daemon problem | device_busy, disk_full, network, platform_rejected, auth_expired, daemon_unavailable |
| 6 | A job failed, or a conflicting operation is running | job_failed, busy |
--wait commands exit 6 when the job fails or is cancelled; --timeout SECS with --wait gives up after that many seconds (exit 6, the job keeps running).
Recipes
Screenshot to the clipboard from a script
$ capturemann capture screenshot --region 0,0,1280,800 --copy --out shot.pngTranscribe a recording and wait for it
$ capturemann ai transcribe rec_0412 --language en --wait$ capturemann ai captions get rec_0412
A how-to guide for your docs repo
$ capturemann guide start --window "Brightdesk" --title "Change the billing plan"# click through the task, then$ capturemann guide stop$ capturemann guide export <id> --format markdown --dest docs/billing/
List recordings as JSON for a pipeline
$ capturemann --json library list --kind recording --limit 20Everything the CLI does an agent can do as well: 90 MCP tools.