unity-cinemachine

unity-cinemachine is a skill for Claude Code, Codex from Besty0728/Unity-Skills. It costs 11 tokens per session (5,789 once invoked), scanned A, original, MIT.

A tool for setting up Cinemachine virtual cameras in Unity, a game and real-time 3D development platform. It can inspect cameras and configure how they follow, aim at, and frame objects.

In plain words
What is it for?
Use it to create or adjust Cinemachine cameras, set follow and look-at targets, configure lenses and camera movement, and inspect Unity camera systems.
Why use it?
It provides a consistent way to examine and tune camera behavior instead of configuring every camera setting manually in the editor or code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

UnitySkills is a REST API-based automation engine that lets AI coding agents control Unity Editor projects, including scenes and other editor operations. It is for developers using Unity with supported coding agents and IDEs. The catalogue skills and commands provide the agent workflows used to operate Unity projects through the engine.

Besty0728/Unity-Skills · 1,707 stars · on GitHub · micostar.cc

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/besty0728/unity-skills/cinemachine
Any agent
npx skills add Besty0728/Unity-Skills --skill cinemachine
Clone the repo
git clone --depth 1 https://github.com/Besty0728/Unity-Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unity-cinemachine

README.md
[![agentmods](https://agentmods.dev/badge/skills/besty0728/unity-skills/cinemachine.svg)](https://agentmods.dev/skills/besty0728/unity-skills/cinemachine)
Your own site
<a href="https://agentmods.dev/skills/besty0728/unity-skills/cinemachine"><img src="https://agentmods.dev/badge/skills/besty0728/unity-skills/cinemachine.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,789 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.05789
Opus 5 $0.00005 $0.02894
Sonnet 5 $0.00002 $0.01158
Haiku 4.5 $0.00001 $0.00579

Measured 6d ago against content hash ac3f5d3184bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

unity-cinemachine scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

SkillsForUnity/unity-skills~/skills/cinemachine/SKILL.md · 416 lines

How it starts

The opening of the file, as written. The whole thing — 416 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.

Triggers

  • Creating or tuning Cinemachine cameras
  • Configuring follow/look-at/noise
  • Building cinematic camera behavior
  • 创建或调校 Cinemachine 相机、设置跟随/注视/噪声、构建运镜效果

Cinemachine Skills

Control Cinemachine Virtual Cameras and brain settings. Works with Cinemachine 2.x and 3.x through a runtime reflection adapter (CinemachineAdapter / CinemachineSkills).

Operating Mode

  • Approval:查询类 skill(cinemachine_inspect_vcam / cinemachine_list_components / cinemachine_get_brain_info,源码标 SkillMode.SemiAuto)直接执行;其余配置/创建类(cinemachine_create_vcam / cinemachine_set_targets / cinemachine_set_lens / cinemachine_configure_body / cinemachine_configure_aim 等,标 SkillMode.FullAuto)需用户 grant,grant 后服务端一步执行返结果。
  • Auto / Bypass:未被禁列表拦截的 skill 直接执行。
  • 本模块含 Delete 类 skillcinemachine_set_component(替换/移除 pipeline component)、cinemachine_target_group_remove_membercinemachine_remove_extension 标记为 SkillOperation.Delete,被 IsForbiddenInSemi 静态拦截 —— 仅 Bypass 模式或加入 Allowlist 才能调用。
  • 包依赖:必须安装 com.unity.cinemachine 包(CM 2.x 或 3.x)。未安装时所有 skill 返回 { error = "Cinemachine is not installed. Install Cinemachine 2.x or 3.x via Package Manager." } 的 stub —— 调用方应先用 package_* 系列 skill 确认安装状态。
  • 反射脆弱性:CM2 ↔ CM3 之间 API 名变化大(CinemachineVirtualCameraCinemachineCameraCinemachineComponentBase 改名等)。本模块通过 CinemachineAdapter 反射桥接,遇 CM 早期预览版(< 3.0.0-pre.5)可能因 API 漂移返回失败 —— 优先用 cinemachine_inspect_vcam 探测当前可用字段,再决定 propertyName

DO NOT (common hallucinations):

  • cinemachine_create does not exist → use cinemachine_create_vcam for virtual cameras
  • cinemachine_set_target / cinemachine_set_follow / cinemachine_set_lookat do not exist → use cinemachine_set_targets (sets both Follow and LookAt in one call)
  • cinemachine_add_brain does not exist → CinemachineBrain is auto-added to Main Camera on first VCam creation
  • Cinemachine 2.x uses CinemachineVirtualCamera; Cinemachine 3.x uses CinemachineCamera — skills handle this automatically

Read the full file on GitHub · 416 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 416 lines · 11 tokens per session scan A ac3f5d3184bd

Subscribe to this mod's changes

unity-cinemachine is a skill published in the GitHub repository Besty0728/Unity-Skills (1,707 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 5,789 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

2dimg2motion

Use when a user provides one baseline image and requests game animation frames, sprite sequences, attack/walk/idle/hit/death/casting motion, transparent PNG frames, a spritesheet, keyframe prompts, or consistent whole-character pose animation.

WU-HAOTIAN34/2dimg2motion · 55 tokens

dotcraft-unity

Use when dotcraft-unity MCP, CLI, or unityexecutecsharp is available, or when the user asks to inspect, automate, capture, or debug Unity Editor state, scenes, assets, Console logs, or GameView output. Provides background-first Unity Editor automation through MCP or CLI.

DotHarness/dotcraft-unity · 64 tokens

img2mo-learn

Learn reusable 2D motion-generation knowledge from user-specified action resources with /img2mo-learn . Use when the user provides videos, extracted frame sequences, spritesheets, Spine assets, generated outputs, failed attempts, or reference motion folders and wants to summarize animation timing, pose beats, style…

WU-HAOTIAN34/2dimg2motion · 104 tokens

zu-article-image-skill

为已完成的 Markdown 文章设计语义配图位置,按内置 preset/type/style/palette 样式体系生成可编辑自然语言生图 Prompt,并作为隐藏标签插入文章;用户确认后扫描标签,调用当前运行时原生 imagegen 生成图片并插回文章。用于用户要求为文章配图、规划正文插图、调整文章插图风格或根据文章内 Prompt 标签生成图片时。.

wwenj/zu-article-image-skill · 100 tokens

msh-exam-analysis

名师汇出国自动化工具集。两个功能:(1) 模考错题分析——用户提供 mingshihuichuguo.com/homework/student/ 网址,按"手写版"人味风格产出阅读/听力错题分析 txt;(2) 单词听写自动化——用户要求完成 list 听写/单词测试时,用 playwright-cli + runv5.js 自动答题。根据用户意图自动判断用哪个。When the user mentions 错题分析 / 模考 / 听写 / 单词 / list / mingshihuichuguo URL, use this skill.

JiHuiYiYou/msh-skill · 144 tokens

newbie-guide

中文新手引导。当用户有模糊目标、不会拆任务、不知道如何开始时使用。由 workflow-system 或其他子技能调用。.

1139030773-cmd/agent-workflow-system · 36 tokens