recordmacOS CLI tool to record microphone audio, screen video or screenshot, and camera video or photo from the terminal with device listing and output control.
Install via ClawdBot CLI:
clawdbot install atacan/recordA macOS command-line tool for recording audio, screen, and camera output. Designed for both human users and AI agents operating in a terminal.
Output file paths are printed to stdout. Status messages go to stderr, making the tool pipeline-friendly.
Always ask the user for explicit permission before running any recording command. Recording audio (microphone), screen, or camera captures sensitive data and may be unexpected. Before executing record audio, record screen, or record camera, confirm with the user that they intend to record, what will be captured, and the duration. Listing devices (--list-devices, --list-displays, --list-windows, --list-cameras) and taking screenshots (--screenshot) are less intrusive but should still be confirmed if not explicitly requested.
brew install atacan/tap/record
# Audio
record audio --duration 10 # Record 10s of audio
record audio --duration 5 --json # JSON output with file path
# Screen
record screen --duration 5 # Record screen for 5s
record screen --screenshot # Take a screenshot
record screen --screenshot --output /tmp/s.png
# Camera
record camera --duration 5 # Record webcam for 5s
record camera --photo # Take a photo
| Subcommand | Purpose |
|---|---|
| record audio | Record from microphone |
| record screen | Record screen video or take a screenshot |
| record camera | Record from webcam or take a photo |
Each subcommand has its own --help flag with full option details.
The tool prints the output file path to stdout. Capture it:
FILE=$(record audio --duration 5)
echo "Recorded to: $FILE"
All subcommands support --json to emit machine-readable JSON to stdout:
record audio --duration 5 --json
Without --duration, the tool waits for a keypress to stop (requires a real TTY). AI agents should always pass --duration to ensure the command terminates.
record audio --list-devices
record screen --list-displays
record screen --list-windows
record camera --list-cameras
Add --json for structured output.
record audio --duration 5 --output /tmp/recording.m4a
record screen --screenshot --output /tmp/screen.png --overwrite
Without --output, files are saved to a temporary directory.
record screen --duration 10 --audio system # system audio only
record screen --duration 10 --audio mic # microphone only
record screen --duration 10 --audio both # system + mic
record screen --screenshot --window "Safari"
record screen --duration 5 --display primary
The terminal app (Terminal, iTerm2, etc.) must have the relevant permission enabled in System Settings > Privacy & Security:
record audio and record camera --audiorecord screenrecord cameraIf a command fails or behaves unexpectedly, run:
record <subcommand> --help
The --help output always reflects the installed version and is the authoritative reference.
For full option listings and advanced usage:
Generated Mar 1, 2026
Support agents use the tool to record screen sessions with audio to capture user issues on macOS, enabling visual troubleshooting and documentation. This helps in diagnosing software problems or guiding users through steps without requiring screen-sharing software.
Educators or creators record screen and microphone audio to produce video tutorials or online courses directly from the terminal, streamlining workflow for tech-focused content. It allows quick capture of coding demonstrations or software walkthroughs without complex editing tools.
QA teams automate recording of screen and camera to document software bugs or user interface issues on macOS during testing cycles. This provides visual evidence for bug reports, enhancing clarity and reproducibility in development pipelines.
Security professionals use the tool to capture screen recordings or camera feeds for monitoring suspicious activities on macOS systems in controlled environments. It aids in forensic analysis or compliance audits by logging visual data from terminals.
Design teams record screen sessions to share visual feedback on design tools or prototypes, with optional audio for commentary. This facilitates asynchronous reviews and iterative improvements in creative projects.
Offer a free basic version for individual users, with paid upgrades for advanced features like longer recording durations, cloud storage integration, or team collaboration tools. Revenue is generated through subscription plans targeting professionals and small businesses.
Sell enterprise licenses to large organizations for internal use in IT support, training, or security operations. Include features like centralized management, enhanced security controls, and priority support, with revenue from annual contracts and volume discounts.
Provide the tool as an API or SDK for integration into other software platforms, such as helpdesk systems or e-learning platforms. Revenue comes from usage-based pricing or partnership agreements, leveraging the tool's CLI capabilities for automation.
💬 Integration Tip
Integrate the tool into automated scripts by capturing stdout for file paths and using the --json flag for structured data, ensuring to handle user consent prompts in workflows.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Command-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.
Runs shell commands inside a dedicated tmux session named claw, captures, and returns the output, with safety checks for destructive commands.
A modern text-based browser. Renders web pages in the terminal using headless Firefox.
Write robust, portable shell scripts. Use when parsing arguments, handling errors properly, writing POSIX-compatible scripts, managing temp files, running commands in parallel, managing background processes, or adding --help to scripts.
NotebookLM CLI wrapper via `node {baseDir}/scripts/notebooklm.mjs`. Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.