mac-camera-diary
Mac摄像头日记技能。定时用摄像头拍照并用 AI 夸奖照片中的人,晚上生成当日总结,次日自动清理照片。上下班时间、午休、加班、照片路径、拍照间隔、模型等均可配置。当用户提到"摄像头日记"、"拍照分析"、"每天拍照夸奖"、"配置摄像头日记"时触发。
Why use this skill?
Automate your daily workspace logs with Mac Camera Diary. This OpenClaw skill captures photos, provides AI-driven praise, and summarizes your workday.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/haydnliao/mac-camera-diaryWhat This Skill Does
Mac Camera Diary is an intelligent automation tool for OpenClaw designed to improve workplace mindfulness and productivity. By integrating Mac native camera hardware with advanced AI vision models, this skill periodically captures photos of your workspace environment throughout the day. It leverages AI to analyze the photos, provide encouraging feedback on your posture or workflow progress, and compiles daily reports. The system is highly customizable, allowing you to define your working hours, lunch breaks, and cleanup schedules, ensuring privacy and storage efficiency. All operational parameters are centralized within a shell-based configuration, making it a powerful utility for tracking your daily professional engagement.
Installation
To get started, ensure you have Homebrew installed, then run the command: clawhub install openclaw/skills/skills/haydnliao/mac-camera-diary. You must install the imagesnap utility via brew install imagesnap to allow the agent to interface with your hardware. After installation, navigate to scripts/config.sh to define your specific work schedule, camera device preference, and the AI model endpoint you wish to use for analysis. Refer to the references/cron_setup.md file in the source repository to finalize your scheduling via system crontab.
Use Cases
This skill is ideal for professionals looking to maintain a positive work environment, researchers tracking desk habits, or users who enjoy a daily digital log of their workspace activity. It is particularly useful for remote workers who want to receive automated positive reinforcement during long coding or writing sessions and require a structured summary of their daily productivity at the end of the day.
Example Prompts
- "配置摄像头日记,将工作时间设置为早九晚六并开启照片自动清理。"
- "今天的摄像头日记分析显示我效率如何?"
- "帮我把拍照间隔调整为20分钟,并重新分析一下刚才的照片。"
Tips & Limitations
- Privacy: The skill stores images locally. Please ensure the
DIARY_DIRis kept in a secure, encrypted folder if you are concerned about data privacy. - AI Context: Ensure your chosen AI model supports vision capabilities; otherwise, the analysis scripts will fail.
- Configuration: Always run
chmod +xon the shell scripts after editing to ensure proper execution. - Storage: While logs are kept for long-term reference, set
KEEP_PHOTOS_DAYSto a low number to prevent your disk from filling up with high-resolution image data.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-haydnliao-mac-camera-diary": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api, code-execution