camera-skill

Control Android camera - get camera info, take photos, and access camera capabilities.

100 stars

Best use case

camera-skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Control Android camera - get camera info, take photos, and access camera capabilities.

Teams using camera-skill should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/camera-skill/SKILL.md --create-dirs "https://raw.githubusercontent.com/trohitg/MachinaOS/main/server/skills/android_agent/camera-skill/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/camera-skill/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How camera-skill Compares

Feature / Agentcamera-skillStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Control Android camera - get camera info, take photos, and access camera capabilities.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Camera Control Tool

Control camera on Android device.

## How It Works

This skill provides instructions for the **Camera Control** tool node. Connect the **Camera Control** node to Zeenie's `input-tools` handle to enable camera control.

## camera_control Tool

Access camera and capture photos.

### Schema Fields

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| action | string | Yes | Action to perform (see below) |
| parameters | object | No | Additional parameters |

### Actions

| Action | Description |
|--------|-------------|
| `status` | Get camera info and capabilities |
| `capture` | Take a photo |

### Examples

**Get camera info:**
```json
{
  "action": "status"
}
```

**Take a photo:**
```json
{
  "action": "capture"
}
```

**Capture with front camera:**
```json
{
  "action": "capture",
  "parameters": {
    "camera": "front"
  }
}
```

### Response Formats

**Status response:**
```json
{
  "success": true,
  "service": "camera_control",
  "action": "status",
  "data": {
    "cameras": [
      {
        "id": "0",
        "facing": "back",
        "megapixels": 48,
        "has_flash": true,
        "supports_video": true
      },
      {
        "id": "1",
        "facing": "front",
        "megapixels": 12,
        "has_flash": false,
        "supports_video": true
      }
    ],
    "flash_available": true
  }
}
```

**Capture response:**
```json
{
  "success": true,
  "service": "camera_control",
  "action": "capture",
  "data": {
    "photo_path": "/storage/emulated/0/DCIM/Camera/IMG_20250130_120000.jpg",
    "camera_used": "back",
    "resolution": "4000x3000",
    "timestamp": "2025-01-30T12:00:00Z"
  }
}
```

### Response Fields

| Field | Description |
|-------|-------------|
| cameras | List of available cameras |
| facing | `"back"` or `"front"` |
| megapixels | Camera resolution |
| has_flash | Flash available |
| photo_path | Path to captured photo |

## Use Cases

| Use Case | Action | Description |
|----------|--------|-------------|
| Check cameras | status | Get camera capabilities |
| Take photo | capture | Capture image |
| Selfie | capture (front) | Use front camera |
| Document | capture | Capture document/scene |

## Common Workflows

### Quick photo capture

1. Optionally check camera status
2. Capture photo
3. Photo saved to device gallery

### Automated documentation

1. Trigger (time/event based)
2. Capture photo
3. Process/send photo

## Setup Requirements

1. Connect the **Camera Control** node to Zeenie's `input-tools` handle
2. Android device must be paired
3. Camera permission must be granted
4. Storage permission for saving photos

Related Skills

serper-search-skill

100
from trohitg/MachinaOS

Search the web using Serper API for Google-powered search results including web, news, images, and places.

proxy-config-skill

100
from trohitg/MachinaOS

Configure residential proxy providers and make proxied HTTP requests with geo-targeting.

perplexity-search-skill

100
from trohitg/MachinaOS

Search the web using Perplexity Sonar AI for synthesized answers with citations, related questions, and optional images.

http-request-skill

100
from trohitg/MachinaOS

Make HTTP requests to external APIs and web services. Supports GET, POST, PUT, DELETE, PATCH methods with headers and JSON body.

duckduckgo-search-skill

100
from trohitg/MachinaOS

Search the web using DuckDuckGo for free, privacy-focused results with no API key required.

crawlee-scraper-skill

100
from trohitg/MachinaOS

Read and extract content from any web page URL.

browser-skill

100
from trohitg/MachinaOS

Interactive browser automation - navigate, click, type, fill forms, take screenshots, get accessibility snapshots. Supports system Chrome/Edge via auto-detection.

brave-search-skill

100
from trohitg/MachinaOS

Search the web using Brave Search API for privacy-focused, independent search results with no tracking.

apify-skill

100
from trohitg/MachinaOS

Run web scrapers and extract data from websites and social media platforms using Apify actors. Supports Instagram, TikTok, Twitter/X, LinkedIn, Facebook, YouTube, Google Search, and general web crawling.

nearby-places-skill

100
from trohitg/MachinaOS

Search for nearby places like restaurants, cafes, stores, and services using Google Places API. Find places by type and location.

shell-skill

100
from trohitg/MachinaOS

Execute short-lived shell commands in a sandboxed environment. No PATH access -- use process_manager for npm/python/node commands.

process-manager-skill

100
from trohitg/MachinaOS

Start, stop, and manage long-running processes with full system PATH. Use for npm, python, node, dev servers, watchers, build tools. Destructive file commands blocked.