unity-camera

Control Unity Scene View and Game cameras, properties, and screenshots.

Updated Aug 31, 2026
One-click install
npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-camera-pikachu0310
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-camera
Source: https://github.com/pikachu0310/codex-agent-ops-public/tree/main/.agents/skills/unity-skills/skills/camera
Command: npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-camera-pikachu0310

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing cameras in Unity through an AI agent is error-prone because Scene View cameras and Game Cameras behave differently, and guessing skill parameters leads to failed calls. This Skill provides precise, schema-driven control over both camera types so framing, property tweaks, and captures succeed on the first attempt. ## Core Features & Use Cases - Scene View Camera Control: Frame objects, set position/rotation, and focus on world-space points in the editor viewport using camera_set_transform, camera_look_at, and camera_align_view_to_object. - Game Camera Management: Create cameras, adjust FOV, clipping planes, clear flags, background color, culling masks, and toggle orthographic mode via camera_create, camera_set_properties, and camera_set_orthographic. - Screenshot Capture: Render single-camera off-screen images or capture the full editor Scene View with overlays, optionally returning base64 images for remote clients. - Use Case: While building a level, ask the agent to create a new Game Camera at a specific position, set its field of view to 60, and capture a 1920x1080 screenshot to verify the framing. ## Quick Start Ask the agent to list all cameras in the current Unity scene and then set the main camera's field of view to 75 degrees.

Frequently Asked Questions about unity-camera

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I change a Unity camera's field of view with an agent?

Use camera_set_properties with the fieldOfView parameter, targeting the camera by name, instanceId, or hierarchy path. There is no camera_set_fov skill; the response echoes the post-write state so a separate verification call is unnecessary.

How to capture a screenshot from a Unity camera?

Use camera_screenshot for a single Game Camera off-screen render, camera_sceneview_screenshot for the editor Scene View including gizmos, or scene_screenshot for the final Game View composite. Each supports optional base64 output for remote clients.

What is the difference between Scene View camera and Game Camera skills?

camera_set_transform, camera_look_at, and camera_align_view_to_object control the editor Scene View viewport, while camera_create, camera_set_properties, and camera_screenshot operate on Game Camera components in the scene. camera_get_info only reports the Scene View camera state.

Can I move or rotate a Unity camera with camera_move or camera_rotate?

No, those skills do not exist. Use camera_set_transform for the Scene View camera or gameobject_set_transform for a Game Camera GameObject. To delete a camera, call gameobject_delete on its GameObject.

Does this module support Cinemachine virtual cameras?

No, Cinemachine virtual cameras are routed to the separate cinemachine module. This module only handles the Scene View camera and standard Game Camera components.