hatchlybox/hatchlybox/camera
Claude Code and agent skill by hatchlybox/hatchlybox
- community
Checking that the SKILL.md file is still in the repository.
Use the phone's camera - a live preview and taking photos saved in the app's own storage - with CameraX and the camera permission. Use for scanners, photo diaries, plant or receipt snapshots, mirrors, or anything that needs the camera.
Install
npx vskill@latest install hatchlybox/hatchlybox/cameraSKILL.md
The same SKILL.md was published earlier as hatchlybox/hatchlybox/camera.
The camera
CameraX shows the live preview in a PreviewView and takes photos with ImageCapture. Photos are saved in the app's own folder (filesDir), so no storage permission is needed. Working code: example/Camera.kt (permission, preview, shutter button, the last photo shown).
Gradle
Manifest
required="false" keeps the app installable on devices without a camera; check packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA_ANY) before showing it.
Rules
- Ask for the camera when the user opens the camera screen, never at startup. If they say no, explain
why it's needed and offer the button again.
- Bind the camera to the screen's lifecycle (
LocalLifecycleOwnerfromandroidx.lifecycle.compose)
so it stops when the screen goes away.
- Save to
context.filesDir; to share a photo, use a FileProvider or the share sheet. - Barcode or QR scanning needs ML Kit, which isn't in the tested library list: build it only if the user
asks, and expect to fix versions.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/camera/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hatchlybox/hatchlybox/camera)