Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问许可证需确认审计通过

unity-workflowUnity 工作流

Agent Skill

unity-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

318

周安装

13

GitHub Stars

886

下载量

102
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:unity-workflow(Unity 工作流)
来源仓库:https://github.com/besty0728/unity-skills
仓库路径:skills/unity-workflow
安装命令:
npx skills add https://github.com/besty0728/unity-skills --skill unity-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/besty0728/unity-skills --skill unity-workflow

简介

unity-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于 Unity 工作流设计、流程优化和自动化部署等场景。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令添加指定技能。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Workflow Skills

Persistent history and rollback system for AI operations ("Time Machine"). Allows tagging tasks, snapshotting objects before modification, and undoing specific tasks even after Editor restarts.

NEW: Session-level undo - Group all changes from a conversation and undo them together.

Guardrails

Mode: Semi-Auto (available by default)

DO NOT (common hallucinations):

  • workflow_save does not exist → use workflow_task_end to end and save a task
  • workflow_rollback does not exist → use workflow_undo_task (by taskId) or workflow_session_undo (by sessionId)
  • workflow_create does not exist → use workflow_task_start
  • workflow_revert_task is deprecated → use workflow_undo_task

Routing:

  • For simple undo/redo (1 step) → editor_undo / editor_redo (editor module)
  • For multi-step undo → history_undo with steps parameter (this module)
  • For conversation-level undo → workflow_session_undo (this module)

Bookmark Skills

bookmark_set

Save current selection and scene view position as a bookmark.

ParameterTypeRequiredDefaultDescription
bookmarkNamestringYes-Name for the bookmark
notestringNonullOptional note for the bookmark

Returns: {success, bookmark, selectedCount, hasSceneView, note}

bookmark_goto

Restore selection and scene view from a bookmark.

ParameterTypeRequiredDefaultDescription
bookmarkNamestringYes-Name of the bookmark to restore

Returns: {success, bookmark, restoredSelection, note}

bookmark_list

List all saved bookmarks.

No parameters.

Returns: {success, count, bookmarks: [{name, selectedCount, hasSceneView, note, createdAt}]}

bookmark_delete

Delete a bookmark.

ParameterTypeRequiredDefaultDescription
bookmarkNamestringYes-Name of the bookmark to delete

Returns: {success, deleted}

History Skills

history_undo

Undo the last operation (or multiple steps).

ParameterTypeRequiredDefaultDescription
stepsintNo1Number of undo steps to perform

Returns: {success, undoneSteps}

history_redo

Redo the last undone operation (or multiple steps).

ParameterTypeRequiredDefaultDescription
stepsintNo1Number of redo steps to perform

Returns: {success, redoneSteps}

history_get_current

Get the name of the current undo group.

No parameters.

Returns: {success, currentGroup, groupIndex}

Planning And Batch Governance

workflow_plan

Generate a combined execution plan for multiple skills on the server side.

ParameterTypeRequiredDefaultDescription
skillsJsonstringYes-JSON array of {"name": "...", "params": {...}} entries

Returns: {totalSteps, totalRisk, steps, dependencies, warnings, mayDisconnect}

batch_query_assets

Query project assets with filters that are useful before batch cleanup or migration work.

ParameterTypeRequiredDefaultDescription
searchFilterstringNo-Extra AssetDatabase.FindAssets filter text
folderstringNoAssetsSearch root
typeFilterstringNo-Asset type filter such as t:Material or Prefab
namePatternstringNo-Regex applied to file name without extension
labelFilterstringNo-Asset label filter such as l:Addressable
maxResultsintNo200Max assets returned

Returns: {count, totalMatched, summary, assets}

batch_retry_failed

Retry only the failed items from an earlier batch execution report. This now reuses the original operation context stored in the report.

ParameterTypeRequiredDefaultDescription
reportIdstringYes-Source report ID from batch_report_get / batch_report_list
runAsyncboolNotrueReturn a jobId immediately or wait for completion
chunkSizeintNo100Chunk size for retry execution

Returns: {status, jobId?, retryCount, originalReportId, reportId?}

Session Management (Conversation-Level Undo)

workflow_session_start

Start a new session (conversation-level). All changes will be tracked and can be undone together. Call this at the beginning of each conversation.

ParameterTypeRequiredDefaultDescription
tagstringNonullLabel for the session

Returns: {success, sessionId, message}

workflow_session_end

End the current session and save all tracked changes. Call this at the end of each conversation.

No parameters.

Returns: {success, sessionId, message}

workflow_session_undo

Undo all changes made during a specific session (conversation-level undo).

ParameterTypeRequiredDefaultDescription
sessionIdstringNonullThe UUID of the session to undo. If not provided, undoes the most recent session

Returns: {success, sessionId, message}

workflow_session_list

List all recorded sessions (conversation-level history).

No parameters.

Returns: {success, count, currentSessionId, sessions: [{sessionId, taskCount, totalChanges, startTime, endTime, tags}]}

workflow_session_status

Get the current session status.

No parameters.

Returns: {success, hasActiveSession, currentSessionId, isRecording, currentTaskId, currentTaskTag, currentTaskDescription, snapshotCount}

Task-Level Skills

workflow_task_start

Start a new persistent workflow task to track changes for undo. Call workflow_task_end when done.

ParameterTypeRequiredDefaultDescription
tagstringYes-Short label for the task (e.g., "Create NPC")
descriptionstringNo""Detailed description or prompt

Returns: {success, taskId, message}

workflow_task_end

End the current workflow task and save it. Requires an active task (call workflow_task_start first).

No parameters.

Returns: {success, taskId, snapshotCount, message}

workflow_snapshot_object

Manually snapshot an object's state before modification. Requires an active task (call workflow_task_start first). Call this BEFORE component_set_property, gameobject_set_transform, etc.

ParameterTypeRequiredDefaultDescription
namestringNonullName of the Game Object
instanceIdintNo0Instance ID of the object (preferred)

Returns: {success, objectName, type}

workflow_snapshot_created

Record a newly created object for undo tracking. Requires an active task (call workflow_task_start first). Note: component_add and gameobject_create automatically record created objects, so you typically don't need to call this manually.

ParameterTypeRequiredDefaultDescription
namestringNonullName of the Game Object
instanceIdintNo0Instance ID of the object (preferred)

Returns: {success, objectName, type}

workflow_list

List persistent workflow history.

No parameters.

Returns: {success, count, history: [{id, tag, description, time, changes}]}

workflow_undo_task

Undo changes from a specific task (restore to previous state). The undone task is saved and can be redone later.

ParameterTypeRequiredDefaultDescription
taskIdstringYes-The UUID of the task to undo

Returns: {success, taskId}

workflow_redo_task

Redo a previously undone task (restore changes).

ParameterTypeRequiredDefaultDescription
taskIdstringNonullThe UUID of the task to redo. If not provided, redoes the most recently undone task

Returns: {success, taskId}

workflow_undone_list

List all undone tasks that can be redone.

No parameters.

Returns: {success, count, undoneStack: [{id, tag, description, time, changes}]}

workflow_revert_task

(deprecated) Alias for workflow_undo_task. Use workflow_undo_task instead.

ParameterTypeRequiredDefaultDescription
taskIdstringYes-The UUID of the task to undo

Returns: {success, taskId}

workflow_delete_task

Delete a task from history (does not revert changes, just removes the record).

ParameterTypeRequiredDefaultDescription
taskIdstringYes-The UUID of the task to delete

Returns: {success, deletedId}

Minimal Example

import unity_skills

# Session-level: wrap entire conversation for bulk undo
unity_skills.call_skill("workflow_session_start", tag="Build Player")
unity_skills.call_skill("gameobject_create", name="Player", primitiveType="Capsule")
unity_skills.call_skill("component_add", name="Player", componentType="Rigidbody")
unity_skills.call_skill("workflow_session_end")
# Later: undo entire session
sessions = unity_skills.call_skill("workflow_session_list")
unity_skills.call_skill("workflow_session_undo", sessionId=sessions["sessions"][0]["sessionId"])

Auto-Tracked Operations

The following operations are automatically tracked for undo when a session/task is active:

  • gameobject_create / gameobject_create_batch
  • gameobject_duplicate / gameobject_duplicate_batch
  • component_add / component_add_batch
  • ui_create_* (canvas, button, text, image, etc.)
  • light_create
  • prefab_instantiate / prefab_instantiate_batch
  • material_create / material_duplicate
  • terrain_create
  • cinemachine_create_vcam

For modification operations, the system auto-snapshots target objects before changes when possible.

Exact Signatures

Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.68%
按下载量换算35

Claude

28.05%
按下载量换算29

Cursor

18.96%
按下载量换算19

Gemini CLI

10.57%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills