record
bởi atacan
Web & Frontend DevelopmentTóm tắt
macOS CLI tool for recording audio (microphone), screen (video/screenshot), and camera (video/photo)
Mô tả
Kỹ năng này làm gì
record is a macOS CLI tool for capturing audio from the microphone, video or screenshots from the screen, and video or photos from the camera. Output file paths print to stdout and status messages to stderr, making it usable in shell pipelines and AI agent workflows. Supports JSON output and a duration flag for non-interactive use.
The stdout/stderr separation and --duration flag let scripts and AI agents capture media without manual interaction or GUI tools.
Khi nào nên dùng
- Recording a voice memo from the terminal without opening an app
- Taking a screenshot of a specific window by name from a script
- Capturing webcam footage during a timed session
- Recording screen with microphone audio for a bug report
- Automating media capture steps inside an AI agent pipeline
Quy trình ví dụ
User asks: Record 10 seconds of audio and save it to /tmp/meeting.m4a
- 1
Confirm with the user that microphone audio will be captured for 10 seconds
- 2
Run: record audio --duration 10 --output /tmp/meeting.m4a
- 3
Read the output file path from stdout
- 4
Report the saved path back to the user
Audio saved to /tmp/meeting.m4a
Yêu cầu
- Install the CLI: brew install atacan/tap/record
- Grant Microphone permission to your terminal app in macOS System Settings > Privacy & Security
- Grant Screen Recording permission to your terminal app for screen capture
- Grant Camera permission to your terminal app for webcam recording
Cài đặt
clawhub install atacan/recordChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.