hatchlybox/hatchlybox/camera

Claude Code and agent skill by hatchlybox/hatchlybox

Trust tier 2
  • community
LLM review pending
Source check pending

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/camera

SKILL.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

kotlin
implementation(libs.androidx.camera.camera2)
implementation(libs.androidx.camera.lifecycle)
implementation(libs.androidx.camera.view)
implementation(libs.androidx.lifecycle.runtime.compose)
implementation(libs.coil.compose) // to show saved photos

Manifest

xml
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-permission android:name="android.permission.CAMERA" />

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 (LocalLifecycleOwner from androidx.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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hatchlybox/hatchlybox/camera/badge)](https://verified-skill.com/skills/hatchlybox/hatchlybox/camera)

Something wrong with this skill or its page? Tell us.