api-spatial-anchors

Official

Persist AR anchors across Lens sessions.

Authorspecs-devs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Place and persist AR content at fixed real-world positions using the Spatial Anchors API (AnchorModule, AnchorSession, WorldAnchor). Anchors survive across Lens sessions. Load when implementing persistent AR placement, furniture placement, room decoration, or location-anchored content.

Core Features & Use Cases

  • AnchorModule-based session management with createWorldAnchor, saveAnchor, and deleteAnchor to anchor content to real-world positions.
  • Attach content to world anchors via AnchorComponent for stable placement across sessions and scans.
  • Optional cloud persistence through Location Cloud Storage Module; requires device relocalization in same area.

Quick Start

Add an AnchorModule to your scene, start an AnchorSession, and create and save a WorldAnchor to persist content across Lens sessions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: api-spatial-anchors
Download link: https://github.com/specs-devs/agentic-tools/archive/main.zip#api-spatial-anchors

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.