SuperAPI AI Directory

unity-bookmark

General & other

View repository

Updated 10-15 17:25

About this skill

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

  • Saving or restoring Scene View viewpoints
  • Bookmarking camera angles
  • Navigating saved scene locations
  • Save or restore scene views, save favorite camera positions, and switch between saved positions
Bookmark Skills

Save and recall Scene View camera positions.

Guardrails

Operating Mode (v1.9 three-tier):

  • Approval (default): only bookmark_list marked SkillMode.SemiAuto(read-only), can be executed directly in Approval mode without going through the grant protocol.bookmark_set(Operation.Create, writes to the bookmarks table) and bookmark_goto(Operation.Execute, changes the editor's selected object and the Scene View perspective) both have side effects, go through the default SkillMode.FullAuto, and require a grant in Approval mode. Consistent with the workflow module documentation (based on the C# WorkflowSkills.cs attribute annotations).
  • Auto / Bypass: SemiAuto and FullAuto run directly.
  • Auto-forbidden in this module: bookmark_delete (SkillOperation.Delete). Reachable only under Bypass mode or via a user-managed Allowlist entry; the grant flow returns MODE_FORBIDDEN. Bookmarks themselves are in-memory only — bookmark_delete only removes the entry, no asset I/O.

DO NOT (common hallucinations):

  • bookmark_save does not exist → use bookmark_set
  • bookmark_load / bookmark_restore do not exist → use bookmark_goto
  • bookmark_remove does not exist → use bookmark_delete
  • Bookmarks save Scene View position + current selection, not scene state

Routing:

  • For workflow snapshots (object state undo) → use workflow module
  • For scene save/load → use scene module

Skills

bookmark_set

Save current selection and scene view position as a bookmark.

Parameter Type Required Default Description
bookmarkName string Yes - Bookmark name
note string No null Optional note for the bookmark

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

bookmark_goto

Restore selection and scene view from a bookmark.

Parameter Type Required Default Description
bookmarkName string Yes - Bookmark name

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.

Parameter Type Required Default Description
bookmarkName string Yes - Bookmark name

Returns: { success, deleted }

Exact Signatures

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