record
由 atacan 提供
Web & Frontend Development简介
macOS CLI tool for recording audio (microphone), screen (video/screenshot), and camera (video/photo)
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- 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
安装
clawhub install atacan/record运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。